[libcamera-devel] [PATCH v4 0/8] v4l2_(sub)dev: improvements and tests
Jacopo Mondi
jacopo at jmondi.org
Thu Feb 28 21:01:42 CET 2019
One more round, one more (trivial) patch: 6/9
Most of what is here is reviewed.
Particular attention to format enumeration which has been reworked, and to
META_CAPTURE support, on which I had one more comment on v3.
The rest should be smooth.
Thanks
j
Jacopo Mondi (9):
libcamera: v4l2_subdevice: Store media entity
libcamera: v4l2_subdevice: Inherit from Loggable
libcamera: v4l2_subdevice: Implement ENUM_FRAME_SIZES
libcamera: v4l2_device: Add support for META_CAPTURE devices
libcamera: v4l2_subdevice: Update crop/compose rectangle
libcamera: v4l2_device: Expose the device node path
test: v4l2_subdevice: Add format handling test
test: v4l2_subdevice: Add ListFormat test
test: v4l2_device: Add format handling test
src/libcamera/geometry.cpp | 34 ++++++
src/libcamera/include/geometry.h | 12 ++
src/libcamera/include/v4l2_device.h | 5 +
src/libcamera/include/v4l2_subdevice.h | 25 +++-
src/libcamera/v4l2_device.cpp | 44 +++++---
src/libcamera/v4l2_subdevice.cpp | 119 ++++++++++++++++++--
test/meson.build | 1 +
test/v4l2_device/formats.cpp | 53 +++++++++
test/v4l2_device/meson.build | 1 +
test/v4l2_subdevice/list_formats.cpp | 85 ++++++++++++++
test/v4l2_subdevice/meson.build | 11 ++
test/v4l2_subdevice/test_formats.cpp | 78 +++++++++++++
test/v4l2_subdevice/v4l2_subdevice_test.cpp | 89 +++++++++++++++
test/v4l2_subdevice/v4l2_subdevice_test.h | 36 ++++++
14 files changed, 563 insertions(+), 30 deletions(-)
create mode 100644 test/v4l2_device/formats.cpp
create mode 100644 test/v4l2_subdevice/list_formats.cpp
create mode 100644 test/v4l2_subdevice/meson.build
create mode 100644 test/v4l2_subdevice/test_formats.cpp
create mode 100644 test/v4l2_subdevice/v4l2_subdevice_test.cpp
create mode 100644 test/v4l2_subdevice/v4l2_subdevice_test.h
--
2.20.1
More information about the libcamera-devel
mailing list