Users of the DmaHeap class really just want some way to allocate
dma-buffers from userspace. This can also be done by using /dev/udmabuf
instead of using /dev/dma_heap/*.
Rename DmaHeap class to DmaBufAllocator in preparation of adding
/dev/udmabuf support.
And update the DmaHeap class docs to match including replacing references
to "dma-heap type" with "dma-buf provider".
This is a pure automated rename on the code ('s/DmaHeap/DmaBufAllocator/')
+ file renames + doc updates. There are no functional changes.
The DmaBufAllocator objects in vc4.cpp and software_isp.cpp are left named
dmaHeap_ to keep the changes to those 2 files to a minimum.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # Lenovo-x13s
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
54 lines
1.2 KiB
Meson
54 lines
1.2 KiB
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
subdir('tracepoints')
|
|
|
|
libcamera_tracepoint_header = custom_target(
|
|
'tp_header',
|
|
input : ['tracepoints.h.in', tracepoint_files],
|
|
output : 'tracepoints.h',
|
|
command : [gen_tracepoints_header, include_build_dir, '@OUTPUT@', '@INPUT@'],
|
|
)
|
|
|
|
libcamera_internal_headers = files([
|
|
'bayer_format.h',
|
|
'byte_stream_buffer.h',
|
|
'camera.h',
|
|
'camera_controls.h',
|
|
'camera_lens.h',
|
|
'camera_manager.h',
|
|
'camera_sensor.h',
|
|
'camera_sensor_properties.h',
|
|
'control_serializer.h',
|
|
'control_validator.h',
|
|
'converter.h',
|
|
'delayed_controls.h',
|
|
'device_enumerator.h',
|
|
'device_enumerator_sysfs.h',
|
|
'device_enumerator_udev.h',
|
|
'dma_buf_allocator.h',
|
|
'formats.h',
|
|
'framebuffer.h',
|
|
'ipa_manager.h',
|
|
'ipa_module.h',
|
|
'ipa_proxy.h',
|
|
'ipc_unixsocket.h',
|
|
'mapped_framebuffer.h',
|
|
'media_device.h',
|
|
'media_object.h',
|
|
'pipeline_handler.h',
|
|
'process.h',
|
|
'pub_key.h',
|
|
'request.h',
|
|
'shared_mem_object.h',
|
|
'source_paths.h',
|
|
'sysfs.h',
|
|
'v4l2_device.h',
|
|
'v4l2_pixelformat.h',
|
|
'v4l2_subdevice.h',
|
|
'v4l2_videodevice.h',
|
|
'yaml_parser.h',
|
|
])
|
|
|
|
subdir('converter')
|
|
subdir('software_isp')
|