]> git.baikalelectronics.ru Git - kernel.git/commit
media: atmel: atmel-isc: add CC initialization function
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:17 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 12:15:28 +0000 (14:15 +0200)
commitb1ed2a00b0c79f13cb4adbc066e10d35a6f6a68f
treefaf7eaf08ff1304b9daeb0f5ac691dd3432f6cfd
parent0ec57f2ad3f8fef3f6a0d1c32cc76fb340da5307
media: atmel: atmel-isc: add CC initialization function

The CC submodule is a part of the atmel-isc pipeline, and stands for
Color Correction. It is used to apply gains and offsets to the
chroma (U, V) components of the YUV elements.
Implement the CC submodule initialization, as a product
specific function, which currently configures the neutral point in color
correction.

[hverkuil: made isc_sama5d2_config_cc static]

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
drivers/media/platform/atmel/atmel-isc.h
drivers/media/platform/atmel/atmel-sama5d2-isc.c