aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_unscaled.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-12 20:28:47 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2012-01-12 16:43:17 -0800
commit0cc1a86dc34b020d857f946e47edf9e425274330 (patch)
tree9164db0fea530ad8f4ddde01f2ea6c41bb0683b3 /libswscale/swscale_unscaled.c
parent06b0246da07e7c9d95476b35275a63cd6dbc300c (diff)
downloadffmpeg-0cc1a86dc34b020d857f946e47edf9e425274330.tar.gz
rgb2rgb: rgb12to15()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 e497fef84f..5fe2b14256 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -389,6 +389,7 @@ static rgbConvFn findRgbConvFn(SwsContext *c)
if ((isBGRinInt(srcFormat) && isBGRinInt(dstFormat)) ||
(isRGBinInt(srcFormat) && isRGBinInt(dstFormat))) {
switch (srcId | (dstId << 16)) {
+ case 0x000F000C: conv = rgb12to15; break;
case 0x000F0010: conv = rgb16to15; break;
case 0x000F0018: conv = rgb24to15; break;
case 0x000F0020: conv = rgb32to15; break;