libcamera/include/libcamera/internal
Laurent Pinchart 99b54c2c55 libcamera: v4l2_videodevice: Update to the new kernel metadata API
With support for metadata in the streams API, the v4l2_meta_format
structure has been extended with width, height and bytesperline fields.

Support them in the V4L2VideoDevice getFormat() and setFormat()
functions is the video device is meta capture device and if the
pixel format is one of the generic line-based metadata formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2025-01-08 14:28:35 +01:00
..
converter libcamera: converter: Add functions to adjust config 2024-12-17 11:19:36 +01:00
software_isp libcamera: software_isp: Add contrast control 2024-12-06 12:34:48 +00:00
tracepoints libcamera: internal: tracepoints: Use correct include directive 2023-02-09 19:39:54 +05:30
bayer_format.h libcamera: formats: Add PiSP specific image and config buffer formats 2024-05-16 16:11:06 +01:00
byte_stream_buffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera.h libcamera: camera: Add a const version of the pipe() function 2024-12-17 11:19:36 +01:00
camera_controls.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_lens.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_manager.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
camera_sensor.h libcamera: camera_sensor: Add parameter to limit returned sensor size 2024-12-17 11:19:36 +01:00
camera_sensor_properties.h libcamera: camera_sensor_properties: Add sensor control delays 2024-11-27 10:52:12 +00:00
control_serializer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
control_validator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
converter.h libcamera: converter: Add functions to adjust config 2024-12-17 11:19:36 +01:00
debug_controls.h libcamera: Add a DebugMetadata helper 2024-11-13 11:47:06 +01:00
delayed_controls.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
device_enumerator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
device_enumerator_sysfs.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
device_enumerator_udev.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
dma_buf_allocator.h DmaBufAllocator: Make DmaSyncer non-copyable 2025-01-07 09:46:34 +00:00
formats.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
framebuffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
ipa_data_serializer.h libcamera: includes: Formatting improvements 2024-09-02 22:46:32 +03:00
ipa_manager.h libcamera: ipa_manager: Remove singleton requirement 2024-08-07 18:58:55 +03:00
ipa_module.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
ipa_proxy.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
ipc_pipe.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
ipc_pipe_unixsocket.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
ipc_unixsocket.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
mapped_framebuffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
matrix.h libcamera: internal: matrix: Replace vector with array in constructor 2024-12-03 17:47:15 +01:00
media_device.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
media_object.h libcamera: media_object: Add MediaLink string representations 2024-09-12 12:01:29 +02:00
meson.build libcamera: internal: Add Matrix class to build 2024-12-03 17:47:15 +01:00
pipeline_handler.h libcamera: pipeline_handler: Provide cancelRequest 2024-11-08 03:45:36 +02:00
process.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
pub_key.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
request.h libcamera: includes: Add missing includes 2024-09-02 22:37:55 +03:00
shared_mem_object.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
source_paths.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
sysfs.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
tracepoints.h.in libcamera: tracepoints: Fix copyright year for reproducible builds 2024-10-18 23:39:11 +03:00
v4l2_device.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
v4l2_pixelformat.h libcamera: v4l2_videodevice: Update to the new kernel metadata API 2025-01-08 14:28:35 +01:00
v4l2_subdevice.h libcamera: v4l2_subdevice: Update to the new kernel routing API 2024-06-03 12:18:25 +03:00
v4l2_videodevice.h libcamera: v4l2_videodevice: Add getSelection() function 2024-09-30 10:56:48 +03:00
yaml_parser.h libcamera: yaml_parser: Use std::from_chars() 2024-11-13 15:38:18 +02:00