OSDN Git Service

media: atmel: atmel-isc: extract CBC submodule config into separate function
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:07 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 10:57:28 +0000 (12:57 +0200)
commitd3b2ee5478c8569d32c4726c5920b96a9855419c
tree7a19467c8a1ffea8be59bb4bed8cf81e7af542f4
parentffeeb01d11397bdeac0f5a1e1462eba440c23dc3
media: atmel: atmel-isc: extract CBC submodule config into separate function

The CBC submodule is a part of the atmel-isc pipeline, and stands for
Contrast Brightness Control. It is used to apply gains and offsets to the
luma (Y) and chroma (U, V) components of the YUV elements.
The CBC submodule should be initialized in the product specific driver
as it's product specific. Other products can implement it differently

[hverkuil: made isc_sama5d2_config_cbc 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