]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: Refactor supported vdec formats and framesizes
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 12 May 2022 02:19:40 +0000 (04:19 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:44:49 +0000 (14:44 +0200)
commit66c887ac709646d028126997379655debf323f48
treecd448fbefded8bcdde56e7cb259122f9e711a0d0
parent4075546014b283a8a9b42b70a964c23316544bd9
media: mediatek: vcodec: Refactor supported vdec formats and framesizes

Supported output and capture format types for mt8192 are different
with mt8183. Redefine parameters to store them.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h