[Mesa-dev] [PATCH 01/20] vl: add mjpeg profile and format

Leo Liu leo.liu at amd.com
Tue Aug 15 20:08:19 UTC 2017


Signed-off-by: Leo Liu <leo.liu at amd.com>
---
 src/gallium/include/pipe/p_video_enums.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h
index 1e05075bed..b4ace0f02d 100644
--- a/src/gallium/include/pipe/p_video_enums.h
+++ b/src/gallium/include/pipe/p_video_enums.h
@@ -39,7 +39,8 @@ enum pipe_video_format
    PIPE_VIDEO_FORMAT_MPEG4,    /**< DIVX, XVID */
    PIPE_VIDEO_FORMAT_VC1,      /**< WMV */
    PIPE_VIDEO_FORMAT_MPEG4_AVC,/**< H.264 */
-   PIPE_VIDEO_FORMAT_HEVC      /**< H.265 */
+   PIPE_VIDEO_FORMAT_HEVC,     /**< H.265 */
+   PIPE_VIDEO_FORMAT_MJPEG     /**< MJPEG */
 };
 
 enum pipe_video_profile
@@ -65,7 +66,8 @@ enum pipe_video_profile
    PIPE_VIDEO_PROFILE_HEVC_MAIN_10,
    PIPE_VIDEO_PROFILE_HEVC_MAIN_STILL,
    PIPE_VIDEO_PROFILE_HEVC_MAIN_12,
-   PIPE_VIDEO_PROFILE_HEVC_MAIN_444
+   PIPE_VIDEO_PROFILE_HEVC_MAIN_444,
+   PIPE_VIDEO_PROFILE_MJPEG_BASELINE
 };
 
 /* Video caps, can be different for each codec/profile */
-- 
2.11.0



More information about the mesa-dev mailing list