diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-11 19:19:00 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-11 15:52:53 -0800 |
commit | f7f3563214a4deb4bf664057a4cce0c4bf0bdb02 (patch) | |
tree | 4c0ba554107123e29aabbdb6298d8ba4ca219dac /libswscale/swscale_unscaled.c | |
parent | b5fc571e4f730579f328ae9cf77435cb7fddc53d (diff) | |
download | ffmpeg-streaming-f7f3563214a4deb4bf664057a4cce0c4bf0bdb02.zip ffmpeg-streaming-f7f3563214a4deb4bf664057a4cce0c4bf0bdb02.tar.gz |
rgb2rgb: rgb12tobgr12()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 5769548..a1b7199 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -400,6 +400,7 @@ static int rgbToRgbWrapper(SwsContext *c, const uint8_t *src[], int srcStride[], } else if ((isBGRinInt(srcFormat) && isRGBinInt(dstFormat)) || (isRGBinInt(srcFormat) && isBGRinInt(dstFormat))) { switch (srcId | (dstId << 16)) { + case 0x000C000C: conv = rgb12tobgr12; break; case 0x000F000F: conv = rgb15tobgr15; break; case 0x000F0010: conv = rgb16tobgr15; break; case 0x000F0018: conv = rgb24tobgr15; break; |