Module: Mesa Branch: 18.3 Commit: a5fc53b7f8135af00140b177b8dfb28b1d06dcb2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5fc53b7f8135af00140b177b8dfb28b1d06dcb2
Author: Leo Liu <[email protected]> Date: Tue Mar 26 14:36:09 2019 -0400 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]> (cherry picked from commit f8ef8b56a6d2f40772678eabd5d20f14081ad23b) --- src/gallium/drivers/radeon/radeon_vcn_dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c index 75ef4a5d401..24c4c649d1e 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
