swscale/input: fix planar_rgb16_to_a for gbrap10be and gbrap12be formats

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Mark Reid 2021-11-03 10:55:14 -07:00 committed by Michael Niedermayer
parent 08a501946f
commit d2379bd6a0
2 changed files with 3 additions and 3 deletions

View File

@ -911,7 +911,7 @@ static void planar_rgb_to_uv(uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[
}
#define rdpx(src) \
is_be ? AV_RB16(src) : AV_RL16(src)
(is_be ? AV_RB16(src) : AV_RL16(src))
static av_always_inline void planar_rgb16_to_y(uint8_t *_dst, const uint8_t *_src[4],
int width, int bpc, int is_be, int32_t *rgb2yuv)
{

View File

@ -19,9 +19,9 @@ bgra d8316272bc3a360ef9dff3ecc84520a3
bgra64be 4e6a1b9f9c18b881c27d76611d45f737
bgra64le efeee0abcc658ebcff049d5e74d74943
gbrap 4a100f750ac846b34bfeef0d6893c3de
gbrap10be dc6aea3559ea4fcdda1ccc4f23d2f2fb
gbrap10be 50735fbc471a5ac5a6645c85881f3670
gbrap10le 6e1cba57029fdf0f9d46b5e5cd55112b
gbrap12be dbe3a662c016563529032cd4dfb80262
gbrap12be 58170165829484b3db4a3b9165198987
gbrap12le 24f5ecb32435b73353517e017c165e31
gbrap16be 31968e6872a46e8174fb57f8920ed10d
gbrap16le 8c6758f33671b673b6d30969fc05a23d