mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 16:50:22 +01:00
radeonsi/vpe: vpe support hdr input
when an application asks for supported formats will return HDR formats(2020, explicit) is supported. Signed-off-by: Peyton Lee <peytolee@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33731>
This commit is contained in:
parent
43ce5b1138
commit
7c8d58c26c
1 changed files with 4 additions and 0 deletions
|
|
@ -174,6 +174,10 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
|
|||
case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED:
|
||||
/* for VPE we prefer non-interlaced buffer */
|
||||
return false;
|
||||
case PIPE_VIDEO_CAP_VPP_SUPPORT_HDR_INPUT:
|
||||
if (debug_get_bool_option("AMDGPU_SIVPE_SUPPORT_HDR_INPUT", false))
|
||||
return true;
|
||||
return false;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue