From 11ccb56e9fe7a032a4f7a303580e4811717ae97b Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Tue, 15 Aug 2017 14:21:16 -0400 Subject: vl: add MJPEG profile and format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: move util video change to here Signed-off-by: Leo Liu Reviewed-by: Christian König --- src/gallium/auxiliary/util/u_video.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/auxiliary/util') diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h index 251e144c792..f3596e08a19 100644 --- a/src/gallium/auxiliary/util/u_video.h +++ b/src/gallium/auxiliary/util/u_video.h @@ -76,6 +76,9 @@ u_reduce_video_profile(enum pipe_video_profile profile) case PIPE_VIDEO_PROFILE_HEVC_MAIN_444: return PIPE_VIDEO_FORMAT_HEVC; + case PIPE_VIDEO_PROFILE_JPEG_BASELINE: + return PIPE_VIDEO_FORMAT_JPEG; + default: return PIPE_VIDEO_FORMAT_UNKNOWN; } -- cgit v1.2.3