OSDN Git Service

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 2c02156..99a8fd6 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 aff7842..1e05075 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,