diff options
author | Peter Ross <pross@xvid.org> | 2011-03-17 21:07:18 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2011-03-26 13:24:32 +1100 |
commit | 3e2523db20dfc11e76f0fedf6499ade3a7f7304d (patch) | |
tree | 5cb2b3165f45d5af7d86e3323d40ce5a925e42ec /libswscale/swscale_internal.h | |
parent | 27ef7b1bcd0577e3f5bdfc524b42b0548567be20 (diff) | |
download | ffmpeg-3e2523db20dfc11e76f0fedf6499ade3a7f7304d.tar.gz |
libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation
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 19dff8f37b..daa67310ee 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -341,6 +341,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 \ @@ -405,7 +407,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 \ @@ -428,7 +432,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 \ ) |