diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2024-09-18 13:45:17 +0200 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2024-10-27 13:20:56 +0100 |
commit | d1acd68d73bea1d9a480cc9c6ebd6d9b60e57892 (patch) | |
tree | bfc05d487019f4a1f5d244aa350f30545d699d61 /tests/checkasm/sw_range_convert.c | |
parent | a8ef1fac0dfa9d64ba47fd6c4a307e2d4acb218f (diff) | |
download | ffmpeg-d1acd68d73bea1d9a480cc9c6ebd6d9b60e57892.tar.gz |
checkasm/sw_range_convert: use YUV pixel formats instead of YUVJ
We are already setting the range, so we can use regular YUV pixel
formats instead of YUVJ.
Diffstat (limited to 'tests/checkasm/sw_range_convert.c')
-rw-r--r-- | tests/checkasm/sw_range_convert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/sw_range_convert.c b/tests/checkasm/sw_range_convert.c index 06ea3474e4..005a732f85 100644 --- a/tests/checkasm/sw_range_convert.c +++ b/tests/checkasm/sw_range_convert.c @@ -46,8 +46,8 @@ static void check_lumConvertRange(int from) fail(); c = sws_internal(sws); - c->srcFormat = from ? AV_PIX_FMT_YUVJ444P : AV_PIX_FMT_YUV444P; - c->dstFormat = from ? AV_PIX_FMT_YUV444P : AV_PIX_FMT_YUVJ444P; + c->srcFormat = AV_PIX_FMT_YUV444P; + c->dstFormat = AV_PIX_FMT_YUV444P; c->srcRange = from; c->dstRange = !from; @@ -92,8 +92,8 @@ static void check_chrConvertRange(int from) fail(); c = sws_internal(sws); - c->srcFormat = from ? AV_PIX_FMT_YUVJ444P : AV_PIX_FMT_YUV444P; - c->dstFormat = from ? AV_PIX_FMT_YUV444P : AV_PIX_FMT_YUVJ444P; + c->srcFormat = AV_PIX_FMT_YUV444P; + c->dstFormat = AV_PIX_FMT_YUV444P; c->srcRange = from; c->dstRange = !from; |