[libcamera-devel] [PATCH v2 0/3] libcamera: formats: Remove ImageFormat
Niklas Söderlund
niklas.soderlund at ragnatech.se
Tue Jul 21 15:55:38 CEST 2020
Hello,
This series makes use of utils::map_keys() to replace ImageFormat.
This is quiet a late refresh of this series. It addresses all concerns
of the RFC while extending the pattern to V4L2VideoDevice as suggested
by Jacopo in the new 3/3 patch.
Niklas Söderlund (3):
libcamera: v4l2_subdevice: Replace ImageFormats with a map
libcamera: formats: Remove ImageFormats
libcamera: v4l2_videodevice: Add using statement for format map
include/libcamera/internal/camera_sensor.h | 6 +-
include/libcamera/internal/formats.h | 14 ---
include/libcamera/internal/v4l2_subdevice.h | 4 +-
include/libcamera/internal/v4l2_videodevice.h | 4 +-
src/libcamera/camera_sensor.cpp | 13 +--
src/libcamera/formats.cpp | 88 -------------------
.../pipeline/raspberrypi/raspberrypi.cpp | 13 ++-
src/libcamera/pipeline/simple/simple.cpp | 2 +-
src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 3 +-
src/libcamera/v4l2_subdevice.cpp | 12 ++-
src/libcamera/v4l2_videodevice.cpp | 9 +-
test/v4l2_subdevice/list_formats.cpp | 16 ++--
12 files changed, 47 insertions(+), 137 deletions(-)
--
2.27.0
More information about the libcamera-devel
mailing list