mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00: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>
This commit is contained in:
parent
a2e7fbc351
commit
2e400fc099
1 changed files with 1 additions and 0 deletions
|
|
@ -301,6 +301,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