From 071cdc07aa1c6bc309be70eb4d8f681ab00bc0d7 Mon Sep 17 00:00:00 2001 From: kostya Date: Tue, 2 Jun 2009 12:28:49 +0000 Subject: Partial (low bits ignored, no direct transcoding into other RGB formats) support for inputting RGB48BE/LE. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29341 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale_internal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libswscale/swscale_internal.h') 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 \ -- cgit v1.2.3