libcamera/include/libcamera
Laurent Pinchart 32635054bc libcamera: framebuffer: Prevent modifying the number of metadata planes
The number of metadata planes should always match the number of frame
buffer planes. Enforce this by making the vector private and providing
accessor functions.

As this changes the public API, update all in-tree users accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
2021-09-07 19:18:31 +03:00
..
base libcamera: base: utils: Use size_t for index in utils::enumerate() 2021-09-07 19:17:37 +03:00
internal libcamera: v4l2_videodevice: Cache PixelFormatInfo 2021-09-07 19:18:13 +03:00
ipa ipa: vimc: Send and retrieve FrameBuffers from IPA 2021-08-16 13:22:11 +05:30
camera.h libcamera: Drop emitter object pointer from signal arguments 2021-09-02 01:16:45 +03:00
camera_manager.h libcamera/base: Move extended base functionality 2021-06-25 16:11:08 +01:00
compiler.h libcamera: Add macro to conditionally use [[nodiscard]] 2021-02-04 21:00:38 +02:00
control_ids.h.in libcamera: controls: Generate an array of valid values 2020-10-26 17:51:55 +01:00
controls.h libcamera: controls: Initialize ControlInfoMap::idmap_ 2021-08-23 12:00:57 +02:00
file_descriptor.h libcamera: file_descriptor: Add a function to retrieve the inode 2021-09-07 19:17:38 +03:00
formats.h.in libcamera: Define constants for pixel formats in the public API 2020-06-18 13:26:36 +03:00
framebuffer.h libcamera: framebuffer: Prevent modifying the number of metadata planes 2021-09-07 19:18:31 +03:00
framebuffer_allocator.h libcamera/base: Move class helpers to the base library 2021-06-25 16:11:03 +01:00
geometry.h libcamera: geometry: Mark const functions with __nodiscard 2021-02-04 21:00:38 +02:00
logging.h libcamera: logging: add syslog, stream, and nowhere logging targets 2019-07-17 14:36:35 +09:00
meson.build libcamera: buffer: Rename buffer.h to framebuffer.h 2021-07-11 17:42:02 +03:00
pixel_format.h libcamera: pixel_format: Add a function to return format based on string 2020-08-03 11:48:47 +01:00
property_ids.h.in libcamera: Support draft controls and properties 2020-10-26 17:51:54 +01:00
request.h libcamera/base: Move extended base functionality 2021-06-25 16:11:08 +01:00
stream.h libcamera: buffer: Rename buffer.h to framebuffer.h 2021-07-11 17:42:02 +03:00
transform.h libcamera: Add Transform enum to represent 2D plane transforms. 2020-09-29 11:43:06 +01:00
version.h.in libcamera: Rework automatic version generation to avoid rebuilds 2019-07-09 12:34:10 +03:00