summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2018-03-14 16:59:20 -0400
committerLeo Liu <[email protected]>2018-04-12 11:15:13 -0400
commite8724bd1e34afdbb0bd6e96b67e00be00eea3581 (patch)
tree860e998280ea81cb843804576f507923eecc6a85 /src
parentd9a31341eca8f66995883dbd312122d1a5da6fd0 (diff)
vl: add VP9 profile2 support
Signed-off-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_video.h1
-rw-r--r--src/gallium/include/pipe/p_video_enums.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h
index d313497a638..967ebc57489 100644
--- a/src/gallium/auxiliary/util/u_video.h
+++ b/src/gallium/auxiliary/util/u_video.h
@@ -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:
diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h
index c20bc48e3d6..b5b8b062285 100644
--- a/src/gallium/include/pipe/p_video_enums.h
+++ b/src/gallium/include/pipe/p_video_enums.h
@@ -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 */