vl: add h264 constrained baseline profile
authorBoyuan Zhang <boyuan.zhang@amd.com>
Fri, 16 Dec 2016 20:19:25 +0000 (15:19 -0500)
committerLeo Liu <leo.liu@amd.com>
Wed, 1 Feb 2017 19:32:32 +0000 (14:32 -0500)
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/util/u_video.h
src/gallium/include/pipe/p_video_enums.h

index 2c02156e32d02a02358ce519a6d2f3a1051a0147..99a8fd6e4f34af711cbb80486a4f4f9578135802 100644 (file)
@@ -60,6 +60,7 @@ u_reduce_video_profile(enum pipe_video_profile profile)
          return PIPE_VIDEO_FORMAT_VC1;
 
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
+      case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED:
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
index aff7842a888808d972843676fd47d3c32408a614..1e05075bed749ac894e344fea5a91a6b344319ab 100644 (file)
@@ -54,6 +54,7 @@ enum pipe_video_profile
    PIPE_VIDEO_PROFILE_VC1_MAIN,
    PIPE_VIDEO_PROFILE_VC1_ADVANCED,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE,
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH,