]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: imx7-media-csi: Support clamping Y10 and Y12 to Y8
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 Mar 2020 16:06:33 +0000 (17:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:32:20 +0000 (17:32 +0100)
commita4182316fd2a4c23c848fa758da33f3f13e0a70d
treee3ec11d12af4263241f1fb9457ff7608f934764a
parent8bd49c83e3d85f9ab7cdd395fa2e465411905951
media: imx: imx7-media-csi: Support clamping Y10 and Y12 to Y8

10-bit and 12-bit greyscale input data to the CSI can be written as
8-bit data to memory. Support this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c