[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.51,1.52
Sascha Sommer CVS
syncmail at mplayerhq.hu
Fri Apr 23 17:24:26 CEST 2004
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv11786/libmpcodecs
Modified Files:
vf_scale.c
Log Message:
prefer yuv formats over rgb in case both are supported by hw
Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- vf_scale.c 11 Mar 2004 17:58:11 -0000 1.51
+++ vf_scale.c 23 Apr 2004 15:24:24 -0000 1.52
@@ -46,6 +46,19 @@
void sws_getFlagsAndFilterFromCmdLine(int *flags, SwsFilter **srcFilterParam, SwsFilter **dstFilterParam);
static unsigned int outfmt_list[]={
+// YUV:
+ IMGFMT_444P,
+ IMGFMT_422P,
+ IMGFMT_YV12,
+ IMGFMT_I420,
+ IMGFMT_IYUV,
+ IMGFMT_YVU9,
+ IMGFMT_IF09,
+ IMGFMT_411P,
+ IMGFMT_Y800,
+ IMGFMT_Y8,
+ IMGFMT_YUY2,
+ IMGFMT_UYVY,
// RGB:
IMGFMT_BGR32,
IMGFMT_RGB32,
@@ -63,19 +76,6 @@
IMGFMT_RG4B,
IMGFMT_BGR1,
IMGFMT_RGB1,
-// YUV:
- IMGFMT_444P,
- IMGFMT_422P,
- IMGFMT_YV12,
- IMGFMT_I420,
- IMGFMT_IYUV,
- IMGFMT_YVU9,
- IMGFMT_IF09,
- IMGFMT_411P,
- IMGFMT_Y800,
- IMGFMT_Y8,
- IMGFMT_YUY2,
- IMGFMT_UYVY,
0
};
More information about the MPlayer-cvslog
mailing list