Define the Soft IPA main and event interfaces, add the Soft IPA implementation. The current src/ipa/meson.build assumes the IPA name to match the pipeline name. For this reason "-Dipas=simple" is used for the Soft IPA module. Auto exposure/gain and AWB implementation by Dennis, Toon and Martti. Auto exposure/gain targets a Mean Sample Value of 2.5 following the MSV calculation algorithm from: https://www.araa.asn.au/acra/acra2007/papers/paper84final.pdf Use CameraSensorHelper to convert the analogue gain code read from the camera sensor into real analogue gain value. In the future this makes it possible to use faster AE/AGC algorithm. Right now the CameraSensorHelper lets us use the full range of analogue gain values. If there is no CameraSensorHelper for the camera sensor in use, a warning log message is printed. Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # sc8280xp Lenovo x13s Tested-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Co-developed-by: Dennis Bonke <admin@dennisbonke.com> Signed-off-by: Dennis Bonke <admin@dennisbonke.com> Co-developed-by: Marttico <g.martti@gmail.com> Signed-off-by: Marttico <g.martti@gmail.com> Co-developed-by: Toon Langendam <t.langendam@gmail.com> Signed-off-by: Toon Langendam <t.langendam@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
83 lines
2.3 KiB
Meson
83 lines
2.3 KiB
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
option('android',
|
|
type : 'feature',
|
|
value : 'disabled',
|
|
description : 'Compile libcamera with Android Camera3 HAL interface')
|
|
|
|
option('android_platform',
|
|
type : 'combo',
|
|
choices : ['cros', 'generic'],
|
|
value : 'generic',
|
|
description : 'Select the Android platform to compile for')
|
|
|
|
option('cam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the cam test application')
|
|
|
|
option('documentation',
|
|
type : 'feature',
|
|
description : 'Generate the project documentation')
|
|
|
|
option('gstreamer',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile libcamera GStreamer plugin')
|
|
|
|
option('ipas',
|
|
type : 'array',
|
|
choices : ['ipu3', 'rkisp1', 'rpi/vc4', 'simple', 'vimc'],
|
|
description : 'Select which IPA modules to build')
|
|
|
|
option('lc-compliance',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the lc-compliance test application')
|
|
|
|
option('pipelines',
|
|
type : 'array',
|
|
value : ['auto'],
|
|
choices : [
|
|
'all',
|
|
'auto',
|
|
'imx8-isi',
|
|
'ipu3',
|
|
'mali-c55',
|
|
'rkisp1',
|
|
'rpi/vc4',
|
|
'simple',
|
|
'uvcvideo',
|
|
'vimc'
|
|
],
|
|
description : 'Select which pipeline handlers to build. If this is set to "auto", all the pipelines applicable to the target architecture will be built. If this is set to "all", all the pipelines will be built. If both are selected then "all" will take precedence.')
|
|
|
|
option('pycamera',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable libcamera Python bindings (experimental)')
|
|
|
|
option('qcam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the qcam test application')
|
|
|
|
option('test',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Compile and include the tests')
|
|
|
|
option('tracing',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable tracing (based on lttng)')
|
|
|
|
option('udev',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable udev support for hotplug')
|
|
|
|
option('v4l2',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Compile the V4L2 compatibility layer')
|