linux/drivers/media/platform/mtk-jpeg
Xia Jiang bd627ff5d5 media: platform: Refactor mtk_jpeg_set_default_params()
Call mtk_jpeg_try_fmt_mplane() to replace the original computation of
sizeimage and bytesperline, because that mtk_jpeg_try_fmt_mplane()
already did 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:35:04 +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_set_default_params() 2020-08-28 15:35:04 +02:00
mtk_jpeg_core.h media: platform: Redefinition of mtk_jpeg_q_data structure 2020-08-28 15:33:49 +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