media: platform: Using the variant structure to contain the varability between dec...
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:12:01 +0000 (09:12 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:38:03 +0000 (15:38 +0200)
commitb4a82f5d15102ade6134c8cc4bbc8ccef1f4a7dc
tree0cb2b4a0129c49b776696d42f192d94833e515f6
parent2ac8015f156b55c53e85b4542e221282acb350c4
media: platform: Using the variant structure to contain the varability between dec and enc

Add varability which would be used between jpeg dec and enc to a match
data structure, it will make the code linear.

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>
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h