vl: add more avc profiles
authorLeo Liu <leo.liu@amd.com>
Fri, 30 May 2014 19:57:26 +0000 (15:57 -0400)
committerChristian König <christian.koenig@amd.com>
Wed, 4 Jun 2014 15:24:41 +0000 (17:24 +0200)
Signed-off-by: Leo Liu <leo.liu@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 da65a5861dab2e535ab0a31aeca1b9b7edf269ef..d1ca7362b49f7dbb15e91e6b042a3e020dce11f2 100644 (file)
@@ -60,7 +60,11 @@ u_reduce_video_profile(enum pipe_video_profile profile)
 
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
+      case PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED:
       case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
+      case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10:
+      case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH422:
+      case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH444:
          return PIPE_VIDEO_FORMAT_MPEG4_AVC;
 
       default:
index 10205ac4411694ab589b3316ca9f0a819baf5c59..e28d57dd3b0f12ce0f50b06157eaa867ba2d9607 100644 (file)
@@ -50,7 +50,11 @@ enum pipe_video_profile
    PIPE_VIDEO_PROFILE_VC1_ADVANCED,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE,
    PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN,
-   PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED,
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH,
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10,
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH422,
+   PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH444
 };
 
 /* Video caps, can be different for each codec/profile */