aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-06-02 12:28:49 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-06-02 12:28:49 +0000
commite8417235d0e0a70d8a932edb68ab90f360aefc1a (patch)
tree2cf020909b1a72fbd6183df3c14a52623d1da9fc /libswscale/swscale_internal.h
parentb2984add8077ecc9d3cdf0d9294fb323f2001511 (diff)
downloadffmpeg-e8417235d0e0a70d8a932edb68ab90f360aefc1a.tar.gz
Partial (low bits ignored, no direct transcoding into other RGB formats) support
for inputting RGB48BE/LE. Originally committed as revision 29341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 18a79cac54..8f47fc00c7 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -344,7 +344,9 @@ const char *sws_format_name(int format);
|| (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 \