diff options
author | Leo Liu <[email protected]> | 2019-03-26 14:36:09 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2019-03-27 14:33:55 -0400 |
commit | f8ef8b56a6d2f40772678eabd5d20f14081ad23b (patch) | |
tree | 753bf253cdd1336d1ac6f2fd4d87a0be25e916ad /src/gallium/drivers/radeon/radeon_vcn_dec.c | |
parent | ac839bbf79d9ddcc11669bd9d9f19ac62a0366c0 (diff) |
radeon/vcn: add H.264 constrained baseline support
VCN supports this profile as well as UVD, so add it
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
CC: <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vcn_dec.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vcn_dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c index a4e6d9dc6b5..d165c55f835 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_dec.c +++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c @@ -64,6 +64,7 @@ static rvcn_dec_message_avc_t get_h264_msg(struct radeon_decoder *dec, 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 = RDECODE_H264_PROFILE_BASELINE; break; |