media: platform: Change MTK_JPEG_COMP_MAX macro definition location
Move MTK_JPEG_COMP_MAX definition to mtk_jpeg_core.h file, because it is used by mtk_jpeg_core.c file. 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>
This commit is contained in:
Родитель
e0ec6043c1
Коммит
d43c93f2db
|
@ -15,6 +15,8 @@
|
|||
|
||||
#define MTK_JPEG_NAME "mtk-jpeg"
|
||||
|
||||
#define MTK_JPEG_COMP_MAX 3
|
||||
|
||||
#define MTK_JPEG_FMT_FLAG_DEC_OUTPUT BIT(0)
|
||||
#define MTK_JPEG_FMT_FLAG_DEC_CAPTURE BIT(1)
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#ifndef _MTK_JPEG_REG_H
|
||||
#define _MTK_JPEG_REG_H
|
||||
|
||||
#define MTK_JPEG_COMP_MAX 3
|
||||
#define MTK_JPEG_BLOCK_MAX 10
|
||||
#define MTK_JPEG_DCTSIZE 8
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче