swscale: fix gbrap16 alpha channel issues
authorJames Cowgill <James.Cowgill@imgtec.com>
Thu, 3 Aug 2017 15:21:54 +0000 (16:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Aug 2017 21:24:02 +0000 (23:24 +0200)
commit013ec23cbe5d78a04b1b6c00c43f45773e45e7e5
treed624f5dab704e49d678193763b29f2b8a8a3d621
parent2cc56741b1f4e33c4fdb8234da31bdfc3c5c5e05
swscale: fix gbrap16 alpha channel issues

Fixes filter-pixfmts-scale test failing on big-endian systems due to
alpSrc not being cast to (const int32_t**).

Also fixes distortions in the output alpha channel values by copying the
alpha channel code from the rgba64 case found elsewhere in output.c.

Fixes ticket 6555.

Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/output.c
tests/ref/fate/filter-pixfmts-scale