]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: output encoded JPEG content directly to capture buffers
authorChen-Yu Tsai <wenst@chromium.org>
Fri, 7 Jan 2022 09:34:54 +0000 (10:34 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 12:27:12 +0000 (13:27 +0100)
commit935d99eee038bdfa6dec17b80b917406d1f85a11
tree299e0ef031f240d46cd38e9e63459d1dad889482
parentbf08e54d9ef8bf653c26f2b22575b6a798947bb4
media: hantro: output encoded JPEG content directly to capture buffers

Now that the JPEG header length is aligned with bus access boundaries,
the JPEG encoder can output to the capture buffers directly without
going through a bounce buffer.

Do just that, and get rid of all the bounce buffer related code.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/TODO
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_h1_jpeg_enc.c
drivers/staging/media/hantro/hantro_hw.h
drivers/staging/media/hantro/hantro_jpeg.c
drivers/staging/media/hantro/rockchip_vpu2_hw_jpeg_enc.c
drivers/staging/media/hantro/rockchip_vpu_hw.c