mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 00:00:47 +02:00
vl: add VP9 profile2 support
Signed-off-by: Leo Liu <leo.liu@amd.com> Acked-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
d9a31341ec
commit
e8724bd1e3
2 changed files with 3 additions and 1 deletions
|
|
@ -80,6 +80,7 @@ u_reduce_video_profile(enum pipe_video_profile profile)
|
|||
return PIPE_VIDEO_FORMAT_JPEG;
|
||||
|
||||
case PIPE_VIDEO_PROFILE_VP9_PROFILE0:
|
||||
case PIPE_VIDEO_PROFILE_VP9_PROFILE2:
|
||||
return PIPE_VIDEO_FORMAT_VP9;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -69,7 +69,8 @@ enum pipe_video_profile
|
|||
PIPE_VIDEO_PROFILE_HEVC_MAIN_12,
|
||||
PIPE_VIDEO_PROFILE_HEVC_MAIN_444,
|
||||
PIPE_VIDEO_PROFILE_JPEG_BASELINE,
|
||||
PIPE_VIDEO_PROFILE_VP9_PROFILE0
|
||||
PIPE_VIDEO_PROFILE_VP9_PROFILE0,
|
||||
PIPE_VIDEO_PROFILE_VP9_PROFILE2
|
||||
};
|
||||
|
||||
/* Video caps, can be different for each codec/profile */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue