changeset 34229:07cba774abf9

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]
author reimar
date Mon, 07 Nov 2011 18:49:10 +0000
parents 6a646612a081
children cb99b294424b
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Mon Nov 07 13:13:20 2011 +0000
+++ b/libmpcodecs/vf_scale.c	Mon Nov 07 18:49:10 2011 +0000
@@ -135,6 +135,10 @@
     {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}
 };