diff options
author | Paul B Mahol <onemda@gmail.com> | 2014-12-17 14:54:43 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-14 17:17:24 +0100 |
commit | 928061670e873e816daa14827853b7e11221ff5f (patch) | |
tree | 51cd09582027961f2d281aa2c262a4db01c0e8cb /libswscale/swscale.c | |
parent | 9a4aaae3b29392b6d74997e06be249d7d54a7394 (diff) | |
download | ffmpeg-928061670e873e816daa14827853b7e11221ff5f.tar.gz |
libswscale: GBRAP input & output and GBRAP16 input support
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 7756e1b52e..f6427bfb55 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -269,6 +269,9 @@ static av_always_inline void hyscale(SwsContext *c, int16_t *dst, int dstWidth, } else if (c->readLumPlanar && !isAlpha) { c->readLumPlanar(formatConvBuffer, src_in, srcW); src = formatConvBuffer; + } else if (c->readAlpPlanar && isAlpha) { + c->readAlpPlanar(formatConvBuffer, src_in, srcW); + src = formatConvBuffer; } if (!c->hyscale_fast) { |