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

reimar subversion at mplayerhq.hu
Mon Nov 7 19:49:11 CET 2011


Author: reimar
Date: Mon Nov  7 19:49:10 2011
New Revision: 34317

Log:
Prefer converting GBR24P to other 8 bit per component RGB formats.

Compared to converting to Y444 this should be faster and lossless.

Based on patch by Hans-Kristian Arntzen [maister archlinux us]

Modified:
   trunk/libmpcodecs/vf_scale.c

Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c	Mon Nov  7 14:13:20 2011	(r34316)
+++ trunk/libmpcodecs/vf_scale.c	Mon Nov  7 19:49:10 2011	(r34317)
@@ -135,6 +135,10 @@ static int preferred_conversions[][2] = 
     {IMGFMT_UYVY, IMGFMT_422P},
     {IMGFMT_422P, IMGFMT_YUY2},
     {IMGFMT_422P, IMGFMT_UYVY},
+    {IMGFMT_GBR24P, IMGFMT_BGR24},
+    {IMGFMT_GBR24P, IMGFMT_RGB24},
+    {IMGFMT_GBR24P, IMGFMT_BGR32},
+    {IMGFMT_GBR24P, IMGFMT_RGB32},
     {0, 0}
 };
 


More information about the MPlayer-cvslog mailing list