diff options
author | Peter Ross <pross@xvid.org> | 2011-03-17 21:07:18 +1100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-28 07:25:27 +0200 |
commit | 1afbae100becbfff0dcad43610326a1dadcc315d (patch) | |
tree | 6b2306d99096cf6c7c8c189fdc4908e4989fa697 /libswscale/swscale_internal.h | |
parent | b239526873dc81f9b66796ad4d9fe1cb93ec34d3 (diff) | |
download | ffmpeg-1afbae100becbfff0dcad43610326a1dadcc315d.tar.gz |
libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 4c6ad2a860..292e42fa0d 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -343,6 +343,8 @@ const char *sws_format_name(enum PixelFormat format); #define is16BPS(x) ( \ (x)==PIX_FMT_GRAY16BE \ || (x)==PIX_FMT_GRAY16LE \ + || (x)==PIX_FMT_BGR48BE \ + || (x)==PIX_FMT_BGR48LE \ || (x)==PIX_FMT_RGB48BE \ || (x)==PIX_FMT_RGB48LE \ || (x)==PIX_FMT_YUV420P16LE \ @@ -407,7 +409,9 @@ const char *sws_format_name(enum PixelFormat format); || (x)==PIX_FMT_MONOWHITE \ ) #define isBGRinInt(x) ( \ - (x)==PIX_FMT_BGR32 \ + (x)==PIX_FMT_BGR48BE \ + || (x)==PIX_FMT_BGR48LE \ + || (x)==PIX_FMT_BGR32 \ || (x)==PIX_FMT_BGR32_1 \ || (x)==PIX_FMT_BGR24 \ || (x)==PIX_FMT_BGR565BE \ @@ -430,7 +434,9 @@ const char *sws_format_name(enum PixelFormat format); || (x)==PIX_FMT_RGB24 \ ) #define isBGRinBytes(x) ( \ - (x)==PIX_FMT_BGRA \ + (x)==PIX_FMT_BGR48BE \ + || (x)==PIX_FMT_BGR48LE \ + || (x)==PIX_FMT_BGRA \ || (x)==PIX_FMT_ABGR \ || (x)==PIX_FMT_BGR24 \ ) |