Add a set of data types to support controls: - ControlValue stores a control type and value in a generic way - ControlId enumerates all the control identifiers - ControlIdentifier declares the types of a control and map their names - ControlInfo stores runtime information for controls - ControlList contains a set of control info and value pairs The control definitions map is generated from the controls documentation to ensure that the two will always be synchronised. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
30 lines
778 B
Meson
30 lines
778 B
Meson
libcamera_api = files([
|
|
'buffer.h',
|
|
'camera.h',
|
|
'camera_manager.h',
|
|
'control_ids.h',
|
|
'controls.h',
|
|
'event_dispatcher.h',
|
|
'event_notifier.h',
|
|
'geometry.h',
|
|
'ipa/ipa_interface.h',
|
|
'ipa/ipa_module_info.h',
|
|
'object.h',
|
|
'request.h',
|
|
'signal.h',
|
|
'stream.h',
|
|
'timer.h',
|
|
])
|
|
|
|
gen_header = files('gen-header.sh')
|
|
|
|
libcamera_h = custom_target('gen-header',
|
|
input : 'meson.build',
|
|
output : 'libcamera.h',
|
|
command : [gen_header, meson.current_source_dir(), '@OUTPUT@'],
|
|
install : true,
|
|
install_dir : 'include/libcamera')
|
|
|
|
install_headers(libcamera_api,
|
|
subdir : 'libcamera')
|