media: platform: Add jpeg enc feature
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:12:02 +0000 (09:12 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:38:39 +0000 (15:38 +0200)
commit45f13a57d8134459f02fbee0b1711eddc3260af7
tree8f85ecb161d0e7480dd616473598b5ec287b4c94
parentb4a82f5d15102ade6134c8cc4bbc8ccef1f4a7dc
media: platform: Add jpeg enc feature

Add mtk jpeg encode v4l2 driver based on jpeg decode, because that jpeg
decode and encode have great similarities with function operation.

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/Makefile
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h
drivers/media/platform/mtk-jpeg/mtk_jpeg_enc_hw.c [new file with mode: 0644]
drivers/media/platform/mtk-jpeg/mtk_jpeg_enc_hw.h [new file with mode: 0644]