libcamera/include/libcamera
Laurent Pinchart 0e3b8d71f5 base: utils: Add and use strtod() helper
The strtod() function is locale-dependent, and thus ill-suited to parse
numbers coming from, for instance, YAML files. The YamlObject class uses
strtod_l() to fix that issue, but that function is not available with
all libc implementations. Correctly handling this problem is becoming
out of scope for the YamlObject class.

As a first step, add a strtod() helper function in the utils namespace
that copies the implementation from YamlObject, and use it in
YamlObject. The core issue will then be fixed in utils::strtod().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-01-10 15:39:18 +02:00
..
base base: utils: Add and use strtod() helper 2023-01-10 15:39:18 +02:00
internal libcamera: pipeline: simple: converter: Use generic converter interface 2022-12-14 16:19:52 +00:00
ipa pipeline: ipa: raspberrypi: Use IPA cookies 2022-11-29 17:16:52 +02:00
camera.h libcamera: camera: Add validateColorSpaces to CameraConfiguration class 2021-12-13 11:29:02 +02:00
camera_manager.h libcamera: camera_manager: Rename parameter to get() 2022-10-07 17:05:44 +03: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: Convert to pragma once 2021-11-24 12:17:35 +00:00
controls.h libcamera: controls: Construct Span with size for array controls 2022-10-07 18:28:13 +03: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: Move remaining private data to Private class 2022-10-10 17:49:49 +03: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 libcamera: Add ColorSpace class 2021-12-13 11:29:01 +02:00
pixel_format.h libcamera: Add operator<<() for pixel format classes 2022-05-04 14:11:30 +03:00
property_ids.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
request.h libcamera: request: Add operator<<() 2022-06-05 14:48:08 +02:00
stream.h libcamera: stream: Turn StreamRole into scoped enumeration 2022-11-25 10:52:06 +02:00
transform.h raspberrypi: Update Copyright statement in all Raspberry Pi source files 2022-07-27 18:12:15 +03:00
version.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00