Mesa (19.0): radeon/vcn: add H.264 constrained baseline support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 11 03:34:48 UTC 2019


Module: Mesa
Branch: 19.0
Commit: 29bfb1af1029a4c2b9605fbf6e79a2f5c9e12e5a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29bfb1af1029a4c2b9605fbf6e79a2f5c9e12e5a

Author: Leo Liu <leo.liu at amd.com>
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 <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
CC: <mesa-stable at lists.freedesktop.org>
(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 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;
 




More information about the mesa-commit mailing list