]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: mediatek: vcodec: Enable HEVC main still picture decode
authorNathan Hebert <nhebert@chromium.org>
Wed, 12 Feb 2025 00:34:51 +0000 (16:34 -0800)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 24 Apr 2025 13:21:34 +0000 (15:21 +0200)
Mediatek devices that support HEVC also support the main still picture
profile, but today, the main still picture profile is excluded.

This removes the skip mask for HEVC, and enables the main still
picture profile decoding.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c

index afa224da0f4165cf5701d6861f1f787c6317bfe4..d873159b9b3069fe3460502c2751f2e8b2714f44 100644 (file)
@@ -152,8 +152,6 @@ static const struct mtk_stateless_control mtk_stateless_controls[] = {
                        .id = V4L2_CID_MPEG_VIDEO_HEVC_PROFILE,
                        .def = V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN,
                        .max = V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10,
-                       .menu_skip_mask =
-                               BIT(V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE),
                },
                .codec_type = V4L2_PIX_FMT_HEVC_SLICE,
        },