summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_video.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2018-03-13 09:06:17 -0400
committerLeo Liu <[email protected]>2018-04-12 11:15:12 -0400
commit29bc3546841c9f0d12da227039d58744963df69a (patch)
tree47a91e705dad95d1deec0574c625b9040b2133a7 /src/gallium/auxiliary/util/u_video.h
parent9eac49246cdc501530418e8bd2a3e6d47173332b (diff)
vl: add VP9 profile0 and format
Signed-off-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_video.h')
-rw-r--r--src/gallium/auxiliary/util/u_video.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h
index f3596e08a19..d313497a638 100644
--- a/src/gallium/auxiliary/util/u_video.h
+++ b/src/gallium/auxiliary/util/u_video.h
@@ -79,6 +79,9 @@ u_reduce_video_profile(enum pipe_video_profile profile)
case PIPE_VIDEO_PROFILE_JPEG_BASELINE:
return PIPE_VIDEO_FORMAT_JPEG;
+ case PIPE_VIDEO_PROFILE_VP9_PROFILE0:
+ return PIPE_VIDEO_FORMAT_VP9;
+
default:
return PIPE_VIDEO_FORMAT_UNKNOWN;
}