mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radeonsi/vcn: Disable H264 encode 8x8 transform when CABAC is disabled
VCN5 only supports it with CABAC enabled. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13029 Fixes:e509139f61("radeonsi/vcn: Add support for H264 8x8 transform on VCN5") Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36881> (cherry picked from commit2e400fc099)
This commit is contained in:
parent
836891ad44
commit
e048d6204c
2 changed files with 2 additions and 1 deletions
|
|
@ -6224,7 +6224,7 @@
|
|||
"description": "radeonsi/vcn: Disable H264 encode 8x8 transform when CABAC is disabled",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "e509139f61a2b517ab7e4d08cafd227c2a149aa3",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -302,6 +302,7 @@ static void radeon_vcn_enc_h264_get_spec_misc_param(struct radeon_encoder *enc,
|
|||
pic->pic_ctrl.weighted_bipred_idc : 0;
|
||||
enc->enc_pic.spec_misc.transform_8x8_mode =
|
||||
sscreen->info.vcn_ip_version >= VCN_5_0_0 &&
|
||||
enc->enc_pic.spec_misc.cabac_enable &&
|
||||
pic->pic_ctrl.transform_8x8_mode_flag;
|
||||
enc->enc_pic.spec_misc.level_idc = pic->seq.level_idc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue