mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radeonsi/vcn: Don't force balance encode preset with sao on VCN5
This is only needed for VCN4 and older. Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40766>
This commit is contained in:
parent
e8bce7ec47
commit
c9a8dcd63c
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ static void radeon_vcn_enc_quality_modes(struct radeon_encoder *enc,
|
|||
p->preset_mode = RENCODE_PRESET_MODE_QUALITY;
|
||||
|
||||
if (sscreen->info.vcn_ip_version >= VCN_2_0_0 &&
|
||||
sscreen->info.vcn_ip_version < VCN_5_0_0 &&
|
||||
p->preset_mode == RENCODE_PRESET_MODE_SPEED &&
|
||||
!enc->enc_pic.hevc_deblock.disable_sao &&
|
||||
u_reduce_video_profile(enc->base.profile) == PIPE_VIDEO_FORMAT_HEVC)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue