diff libswscale/swscale_internal.h @ 29299:24954ec81529

Partial (low bits ignored, no direct transcoding into other RGB formats) support for inputting RGB48BE/LE.
author kostya
date Tue, 02 Jun 2009 12:28:49 +0000
parents bc48593c663e
children 116ed5c6c367
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Mon Jun 01 22:25:10 2009 +0000
+++ b/libswscale/swscale_internal.h	Tue Jun 02 12:28:49 2009 +0000
@@ -344,7 +344,9 @@
         || (x)==PIX_FMT_GRAY16LE    \
     )
 #define isRGB(x)        (           \
-           (x)==PIX_FMT_RGB32       \
+           (x)==PIX_FMT_RGB48BE     \
+        || (x)==PIX_FMT_RGB48LE     \
+        || (x)==PIX_FMT_RGB32       \
         || (x)==PIX_FMT_RGB32_1     \
         || (x)==PIX_FMT_RGB24       \
         || (x)==PIX_FMT_RGB565      \