libcamera/include/libcamera
Laurent Pinchart e8f01b37e8 libcamera: v4l2_subdevice: Replace Routing::toString() with operator<<()
The main (and only at the moment) use case for the Routing::toString()
function is to print a representation of the routing table in a log
message. The function is implemented using an std::stringstream, and the
returned std::string is then inserted into an std::ostream. This is
inefficient. Replace the function with a specialization of the
operator<<() and use it in the caller.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-03-15 12:55:09 +02:00
..
base libcamera: utils: Add to_underlying() helper function 2024-02-27 11:47:48 +02:00
internal libcamera: v4l2_subdevice: Replace Routing::toString() with operator<<() 2024-03-15 12:55:09 +02:00
ipa build: ipa: Fix bug in building multiple IPA interfaces with the same mojom file 2023-10-18 11:01:23 +01:00
camera.h libcamera: Use CameraConfiguration::orientation 2023-10-23 16:06:09 +03:00
camera_manager.h libcamera: CameraManager: Remove ::get(dev_t) 2023-07-11 15:19:13 +01:00
color_space.h libcamera: color_space: Move color space adjustment to ColorSpace class 2022-09-01 16:49:59 +05:30
control_ids.h.in libcamera: controls: Use vendor tags for draft controls and properties 2023-11-30 13:59:27 +00:00
controls.h libcamera: controls: Add policy parameter to ControlList::merge() 2024-03-12 17:04:28 +01:00
fence.h libcamera: fence: Introduce Fence 2021-12-11 17:53:40 +01:00
formats.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
framebuffer.h libcamera: framebuffer: Allow inheritance of FrameBuffer 2023-02-10 00:47:41 +02:00
framebuffer_allocator.h libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
geometry.h libcamera: geometry: Add missing ostream header in geometry.h 2022-05-04 14:11:29 +03:00
logging.h libcamera: base: log: Add coloring to the log output 2022-06-06 15:09:42 +03:00
meson.build build: controls: Add Raspberry Pi vendor specific controls 2024-01-09 15:39:03 +00:00
orientation.h libcamera: camera: Introduce Orientation 2023-10-23 16:05:50 +03:00
pixel_format.h libcamera: Add operator<<() for pixel format classes 2022-05-04 14:11:30 +03:00
property_ids.h.in libcamera: controls: Use vendor tags for draft controls and properties 2023-11-30 13:59:27 +00:00
request.h libcamera: request: Add operator<<() 2022-06-05 14:48:08 +02:00
stream.h libcamera: Remove StreamRoles alias 2023-07-04 22:56:38 +01:00
transform.h libcamera: transform: Make the transformFromOrientation() function static 2023-10-23 16:06:22 +03:00
version.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00