[Mesa-dev] [PATCH] radeon/vcn: add H.264 constrained baseline support
Alex Deucher
alexdeucher at gmail.com
Tue Mar 26 19:12:25 UTC 2019
On Tue, Mar 26, 2019 at 2:44 PM Liu, Leo <Leo.Liu at amd.com> wrote:
>
> VCN supports this profile as well as UVD, so add it
>
> Signed-off-by: Leo Liu <leo.liu at amd.com>
> CC: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> 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;
>
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list