mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
radeonsi: Enable transform_skip HEVC feature support
This used to be hardcoded in PPS, but now it can be selected by apps.
However, we were not reporting this feature as supported in HEVC feature
flags and apps would always disable it.
Fixes: af849516f0 ("radeonsi/vcn: Use pipe header params in HEVC header encoder")
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30842>
This commit is contained in:
parent
18f15da94d
commit
134e95cdb1
1 changed files with 2 additions and 0 deletions
|
|
@ -733,6 +733,8 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
|
|||
= PIPE_ENC_FEATURE_SUPPORTED;
|
||||
if (sscreen->info.vcn_ip_version >= VCN_2_0_0)
|
||||
pipe_features.bits.sao = PIPE_ENC_FEATURE_SUPPORTED;
|
||||
if (sscreen->info.vcn_ip_version >= VCN_3_0_0)
|
||||
pipe_features.bits.transform_skip = PIPE_ENC_FEATURE_SUPPORTED;
|
||||
|
||||
return pipe_features.value;
|
||||
} else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue