[MPlayer-cvslog] r30155 - trunk/libmpcodecs/vf_scale.c

reimar subversion at mplayerhq.hu
Fri Jan 1 00:25:22 CET 2010


Author: reimar
Date: Fri Jan  1 00:25:21 2010
New Revision: 30155

Log:
Try to put the list of output formats for vf_scale in a more sensible
order.
While the 16-bit yuv formats should not be preferred over the 8-bit ones,
it seems reasonable to probe them directly after the equivalent 8-bit formats.

Modified:
   trunk/libmpcodecs/vf_scale.c

Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c	Fri Jan  1 00:09:35 2010	(r30154)
+++ trunk/libmpcodecs/vf_scale.c	Fri Jan  1 00:25:21 2010	(r30155)
@@ -52,9 +52,15 @@ void sws_getFlagsAndFilterFromCmdLine(in
 static unsigned int outfmt_list[]={
 // YUV:
     IMGFMT_444P,
+    IMGFMT_444P16_LE,
+    IMGFMT_444P16_BE,
     IMGFMT_422P,
+    IMGFMT_422P16_LE,
+    IMGFMT_422P16_BE,
     IMGFMT_YV12,
     IMGFMT_I420,
+    IMGFMT_420P16_LE,
+    IMGFMT_420P16_BE,
     IMGFMT_IYUV,
     IMGFMT_YVU9,
     IMGFMT_IF09,
@@ -64,12 +70,6 @@ static unsigned int outfmt_list[]={
     IMGFMT_YUY2,
     IMGFMT_UYVY,
     IMGFMT_440P,
-    IMGFMT_444P16_LE,
-    IMGFMT_444P16_BE,
-    IMGFMT_422P16_LE,
-    IMGFMT_422P16_BE,
-    IMGFMT_420P16_LE,
-    IMGFMT_420P16_BE,
 // RGB and grayscale (Y8 and Y800):
     IMGFMT_BGR32,
     IMGFMT_RGB32,


More information about the MPlayer-cvslog mailing list