diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2021-04-13 12:57:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-08 14:15:28 +0200 |
commit | 2873f85bd318bfc3f453fa78facb2b77632b36d8 (patch) | |
tree | faf7eaf08ff1304b9daeb0f5ac691dd3432f6cfd /drivers/media/platform/atmel/atmel-isc-base.c | |
parent | 5507b10109253a19765880fffff6e9fff3810868 (diff) | |
download | linux-2873f85bd318bfc3f453fa78facb2b77632b36d8.tar.gz linux-2873f85bd318bfc3f453fa78facb2b77632b36d8.tar.bz2 linux-2873f85bd318bfc3f453fa78facb2b77632b36d8.zip |
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>
Diffstat (limited to 'drivers/media/platform/atmel/atmel-isc-base.c')
-rw-r--r-- | drivers/media/platform/atmel/atmel-isc-base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c b/drivers/media/platform/atmel/atmel-isc-base.c index a6b62e009c38..ffce8de2cf4d 100644 --- a/drivers/media/platform/atmel/atmel-isc-base.c +++ b/drivers/media/platform/atmel/atmel-isc-base.c @@ -661,6 +661,7 @@ static void isc_set_pipeline(struct isc_device *isc, u32 pipeline) isc->config_csc(isc); isc->config_cbc(isc); + isc->config_cc(isc); } static int isc_update_profile(struct isc_device *isc) |