]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: add JPEG downscale support
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 6 Apr 2022 08:51:45 +0000 (09:51 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:46:27 +0000 (08:46 +0100)
commit8629aa6faf0d26b6566416783d379249abe7b9db
tree138312777ade6a3e4ba3763ea5b395fba2699256
parent79f9e36d2d4f5b8ee895e87636e568d6a84e0c4a
media: coda: add JPEG downscale support

The JPEG decoder in the CODA960 VPU can downscale images while decoding,
with a factor of 1/2, 1/4, or 1/8.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/chips-media/coda-common.c
drivers/media/platform/chips-media/coda-jpeg.c
drivers/media/platform/chips-media/coda.h