linux/drivers/media/platform/mtk-jpeg
Xia Jiang ac5a59c8bd media: platform: Refactor mtk_jpeg_find_format()
Delete the unused ctx parameter.
Using mtk_jpeg_formats and num_formats parameters is more generic,
because that jpeg enc will also use it.
Delete the macro definition of MTK_JPEG_FMT_TYPE_OUTPUT and
MTK_JPEG_FMT_TYPE_CAPTURE, because that MTK_JPEG_FMT_FLAG_DEC_OUTPUT
and MTK_JPEG_FMT_FLAG_DEC_CAPTURE are enough.

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:33:18 +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_find_format() 2020-08-28 15:33:18 +02:00
mtk_jpeg_core.h media: platform: Refactor mtk_jpeg_find_format() 2020-08-28 15:33:18 +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