aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_unscaled.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-10 17:29:16 +0000
committerPaul B Mahol <onemda@gmail.com>2012-01-10 18:00:38 +0000
commit4ad40d6d9f489aed3e4b283c640e81585686e4a1 (patch)
treec797923978d1eb8a4e65f556d6d7c7a4b4928b44 /libswscale/swscale_unscaled.c
parent277030627d847d1478fe0d64fe7fdeb8fb7d837a (diff)
downloadffmpeg-4ad40d6d9f489aed3e4b283c640e81585686e4a1.tar.gz
rgb2rgb: rgb12tobgr12()
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r--libswscale/swscale_unscaled.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index 748681c0ee..bf79caabcb 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -444,6 +444,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;