diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-06 15:13:53 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-08 12:48:05 +0000 |
commit | 5c057433ccd32f37ddc828d3f82c5b1ad7d3e3db (patch) | |
tree | 8edcb9970d79eda2e8c7da1c1f9d557a9999ea7c /libswscale/swscale.c | |
parent | 8d9537228f034037e710146291a933f0f4f554be (diff) |
libswscale: GBRAP input & output and GBRAP16 input support
Signed-off-by: Paul B Mahol <onemda@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 c34c56ca62..827837eec7 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -256,6 +256,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, c->input_rgb2yuv_table); src = formatConvBuffer; + } else if (c->readAlpPlanar && isAlpha) { + c->readAlpPlanar(formatConvBuffer, src_in, srcW, NULL); + src = formatConvBuffer; } if (!c->hyscale_fast) { |