radeonsi/vcn: Fix setting color range in AV1 bitstream
authorDavid Rosca <nowrep@gmail.com>
Mon, 17 Jul 2023 10:57:34 +0000 (12:57 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Jul 2023 18:51:48 +0000 (18:51 +0000)
commit7a4e3b27880a310c64064bc6ddb586f80211b6a2
treed4b73f8bc264a0280aa5e350f97a7de991a9af6b
parent2661e975dcac47c26bd13a158b7860bf384ffaab
radeonsi/vcn: Fix setting color range in AV1 bitstream

As per spec color_range and chroma_sample_position parameters
are always set, not conditional on color_description_present_flag.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24179>
src/gallium/drivers/radeonsi/radeon_vcn_enc.c