summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-15 13:36:37 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-15 13:36:37 +0000
commit1c014d0cfb2b55ee353c3dfa673b5db52216f131 (patch)
treec551d4f898ada91d11e13bf90094e4a33292d0b2 /libmpcodecs
parent000234aa5c6efa2703883a3132a122ef59b06ce9 (diff)
downloadmpv-1c014d0cfb2b55ee353c3dfa673b5db52216f131.tar.bz2
mpv-1c014d0cfb2b55ee353c3dfa673b5db52216f131.tar.xz
out formats reordered, quality order
(we should prefer 422P to YV12 if available...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7404 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_scale.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c
index 22c3cb31b8..b958e515bf 100644
--- a/libmpcodecs/vf_scale.c
+++ b/libmpcodecs/vf_scale.c
@@ -27,30 +27,32 @@ extern int opt_screen_size_y;
//===========================================================================//
static unsigned int outfmt_list[]={
+// RGB:
IMGFMT_BGR32,
- IMGFMT_BGR24,
- IMGFMT_BGR16,
- IMGFMT_BGR15,
- IMGFMT_BGR8,
- IMGFMT_BGR4,
- IMGFMT_BGR1,
IMGFMT_RGB32,
+ IMGFMT_BGR24,
IMGFMT_RGB24,
+ IMGFMT_BGR16,
IMGFMT_RGB16,
+ IMGFMT_BGR15,
IMGFMT_RGB15,
+ IMGFMT_BGR8,
IMGFMT_RGB8,
+ IMGFMT_BGR4,
IMGFMT_RGB4,
+ IMGFMT_BGR1,
IMGFMT_RGB1,
+// YUV:
+ IMGFMT_444P,
+ IMGFMT_422P,
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,
- IMGFMT_Y800,
- IMGFMT_Y8,
IMGFMT_YVU9,
IMGFMT_IF09,
- IMGFMT_444P,
- IMGFMT_422P,
IMGFMT_411P,
+ IMGFMT_Y800,
+ IMGFMT_Y8,
0
};