]> 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)
commitf56c2aaaa5f42acdb4ac3027fb7f53fc1a824ccc
treefaf7eaf08ff1304b9daeb0f5ac691dd3432f6cfd
parent344aabe8ce28c6b52b7abac48015804b1b7fa83d
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