projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac839bb
)
radeon/vcn: add H.264 constrained baseline support
author
Leo Liu
<leo.liu@amd.com>
Tue, 26 Mar 2019 18:36:09 +0000
(14:36 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Wed, 27 Mar 2019 18:33:55 +0000
(14:33 -0400)
VCN supports this profile as well as UVD, so add it
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
CC: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_vcn_dec.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_vcn_dec.c
b/src/gallium/drivers/radeon/radeon_vcn_dec.c
index a4e6d9dc6b5f455b373bb931f111fc1dfe42b2ff..d165c55f83595fb895a995728604ff867254efc4 100644
(file)
--- 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;