diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-18 01:49:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-19 00:17:16 +0000 |
commit | 6b7849e6da54d57d04c4816b1a0717c1527afc19 (patch) | |
tree | 063be76de3f4d327d626cb5bd08874367a873dc8 /libswscale/swscale_unscaled.c | |
parent | b4befca23e8c4fc2cd173e23d2a7c52f18cbc347 (diff) | |
download | ffmpeg-6b7849e6da54d57d04c4816b1a0717c1527afc19.tar.gz |
swscale: unscaled rgba64->rgb48
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index a78a1d8f30..c391a07d51 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -582,6 +582,14 @@ static rgbConvFn findRgbConvFn(SwsContext *c) || CONV_IS(BGRA64LE, RGB48BE) || CONV_IS(RGBA64BE, BGR48LE) || CONV_IS(BGRA64BE, RGB48LE)) conv = rgb64tobgr48_bswap; + else if (CONV_IS(RGBA64LE, RGB48LE) + || CONV_IS(BGRA64LE, BGR48LE) + || CONV_IS(RGBA64BE, RGB48BE) + || CONV_IS(BGRA64BE, BGR48BE)) conv = rgb64to48_nobswap; + else if (CONV_IS(RGBA64LE, RGB48BE) + || CONV_IS(BGRA64LE, BGR48BE) + || CONV_IS(RGBA64BE, RGB48LE) + || CONV_IS(BGRA64BE, BGR48LE)) conv = rgb64to48_bswap; } else /* BGR -> BGR */ if ((isBGRinInt(srcFormat) && isBGRinInt(dstFormat)) || |