linux/drivers/media/platform/mtk-jpeg
Xia Jiang 690345fc7a media: platform: Refactor mtk_jpeg_try_fmt_mplane()
The function of mtk_jpeg_adjust_fmt_mplane() equals
mtk_jpeg_g_fmt_vid_mplane(), so use mtk_jpeg_g_fmt_vid_mplane() to
replace it .
Delete the unused ctx parameter.
Using fourcc to distinguish between different formats is more generic,
because that jpeg enc will also use it.

Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Xia Jiang <xia.jiang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-28 15:32:42 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtk_jpeg_core.c media: platform: Refactor mtk_jpeg_try_fmt_mplane() 2020-08-28 15:32:42 +02:00
mtk_jpeg_core.h media: platform: Change the maximum width and height supported by JPEG dec 2020-08-28 15:31:17 +02:00
mtk_jpeg_hw.c media: platform: Use generic rounding helpers 2020-08-28 15:29:37 +02:00
mtk_jpeg_hw.h media: platform: Use generic rounding helpers 2020-08-28 15:29:37 +02:00
mtk_jpeg_parse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_jpeg_parse.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_jpeg_reg.h media: platform: Change MTK_JPEG_COMP_MAX macro definition location 2020-08-28 15:30:03 +02:00