diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-12-12 17:02:55 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2019-12-16 12:07:59 +0300 |
commit | 96f6f62c4656d13744f0fc5b958a73396f54d91e (patch) | |
tree | 4215e3102758fda08dd8aa55296bf843cf365e6f /drivers/md/dm-verity-verify-sig.h | |
parent | 3bf6883a88c0e77bc9d0ff6f0c28c599d0e8fa99 (diff) | |
download | linux-96f6f62c4656d13744f0fc5b958a73396f54d91e.tar.xz |
media: coda: jpeg: add CODA960 JPEG encoder support
This patch adds JPEG encoding support for CODA960, handling the JPEG
hardware directly. A separate JPEG encoder video device is created due
to the separate hardware unit and different supported pixel formats.
While the hardware can not change subsampling on the fly, it can encode
4:2:2 subsampled images into JPEGs of the same subsampling.
There are two additional tracepoints added to the coda driver that can
be used together with the v4l2:v4l2_qbuf and v4l2:v4l2_dqbuf tracepoints
to to follow video frames through the mem2mem device when encoding or
decoding with the CODA960 JPEG codec:
coda:coda_jpeg_run
coda:coda_jpeg_done
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
[hverkuil-cisco@xs4all.nl: removed unused k and q_data_dst variables]
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/md/dm-verity-verify-sig.h')
0 files changed, 0 insertions, 0 deletions