Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: mediatek: vcodec: Enable HEVC main still picture decode

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>

authored by

Nathan Hebert and committed by
Hans Verkuil
3f5f2808 1d1e564f

-2
-2
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
··· 152 152 .id = V4L2_CID_MPEG_VIDEO_HEVC_PROFILE, 153 153 .def = V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN, 154 154 .max = V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10, 155 - .menu_skip_mask = 156 - BIT(V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE), 157 155 }, 158 156 .codec_type = V4L2_PIX_FMT_HEVC_SLICE, 159 157 },