mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02: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>
(cherry picked from commit b144f50190)
This commit is contained in:
parent
db932b6456
commit
9f0f6df18c
2 changed files with 7 additions and 2 deletions
|
|
@ -374,7 +374,7 @@
|
|||
"description": "radeonsi/vcn: Fix 10bit HEVC VPS general_profile_compatibility_flags",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -779,7 +779,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