mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 23:40:33 +01:00
radeonsi/vcn: Fix 10bit HEVC VPS general_profile_compatibility_flags
Cc: mesa-stable Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945>
This commit is contained in:
parent
cc0df497f0
commit
b144f50190
1 changed files with 6 additions and 1 deletions
|
|
@ -780,7 +780,12 @@ static void radeon_enc_nalu_vps(struct radeon_encoder *enc)
|
|||
radeon_enc_code_fixed_bits(enc, 0x0, 2);
|
||||
radeon_enc_code_fixed_bits(enc, enc->enc_pic.general_tier_flag, 1);
|
||||
radeon_enc_code_fixed_bits(enc, enc->enc_pic.general_profile_idc, 5);
|
||||
radeon_enc_code_fixed_bits(enc, 0x60000000, 32);
|
||||
|
||||
if (enc->enc_pic.general_profile_idc == 2)
|
||||
radeon_enc_code_fixed_bits(enc, 0x20000000, 32);
|
||||
else
|
||||
radeon_enc_code_fixed_bits(enc, 0x60000000, 32);
|
||||
|
||||
radeon_enc_code_fixed_bits(enc, 0xb0000000, 32);
|
||||
radeon_enc_code_fixed_bits(enc, 0x0, 16);
|
||||
radeon_enc_code_fixed_bits(enc, enc->enc_pic.general_level_idc, 8);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue