]> asedeno.scripts.mit.edu Git - linux.git/commit
media: atmel: atmel-isc-base: add support for Y10 format
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 25 Nov 2019 08:32:49 +0000 (09:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Dec 2019 09:14:50 +0000 (10:14 +0100)
commitab04e7e6436ed10bb075e6d78f7e7bf841a6fbdc
tree939d96d5be33b08af9de2fe36af9d644d7e4b56a
parent62387970a4818168cd8d86dc59624c0fbd7268a8
media: atmel: atmel-isc-base: add support for Y10 format

The ISC can receive input from sensors using Y10 format directly
(10 bits greyscale). In this case, the ISC must dump the data directly,
either as GREY (8bit) or Y10 (10bit).
Y16 is not supported because we cannot align the MSB 10 bits to the MSB
inside the 16bit container.
For this format, the ISC internal pipeline cannot work (only works with
BAYER), so we must dump the data directly as 8bit/10bit.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c