changeset 7403:7d6d73150c6c

out formats reordered, quality order (we should prefer 422P to YV12 if available...)
author arpi
date Sun, 15 Sep 2002 13:36:37 +0000
parents 1f337426076a
children f0dacd58604f
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 12 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Sun Sep 15 13:31:26 2002 +0000
+++ b/libmpcodecs/vf_scale.c	Sun Sep 15 13:36:37 2002 +0000
@@ -27,30 +27,32 @@
 //===========================================================================//
 
 static unsigned int outfmt_list[]={
+// RGB:
     IMGFMT_BGR32,
+    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_RGB32,
-    IMGFMT_RGB24,
-    IMGFMT_RGB16,
-    IMGFMT_RGB15,
-    IMGFMT_RGB8,
-    IMGFMT_RGB4,
     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
 };