Hi Philipp, thank you very much for this series! On 13/11/2019 13:58, Philipp Zabel wrote:
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@xxxxxxxxxxxxxx> --- drivers/media/platform/coda/coda-common.c | 41 +- drivers/media/platform/coda/coda-jpeg.c | 685 ++++++++++++++++++++++ drivers/media/platform/coda/coda.h | 2 + drivers/media/platform/coda/trace.h | 10 + 4 files changed, 736 insertions(+), 2 deletions(-)
I've successfully tested this series for 1920x1080 30fps MJPEG encoding on top of the 5.4.2 kernel with custom i.MX6DL and i.MX6Q boards.
Therefore feel free to add: Tested-by: Richard Leitner <richard.leitner@xxxxxxxxxxx> regards;richard.l