radeon/uvd: add h264 constrained baseline support
authorBoyuan Zhang <boyuan.zhang@amd.com>
Fri, 16 Dec 2016 20:22:13 +0000 (15:22 -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/drivers/radeon/radeon_uvd.c

index 93fe147b5ebd7fa6f2223b837ba3cfc586c7808e..f1339d121b70d10356ca1e07cee8946c209c79fa 100644 (file)
@@ -478,6 +478,7 @@ static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_
        memset(&result, 0, sizeof(result));
        switch (pic->base.profile) {
        case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
+       case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
                result.profile = RUVD_H264_PROFILE_BASELINE;
                break;