[libcamera-devel] [PATCH v2 0/6] v4l2_(sub)dev: improvements and tests
Jacopo Mondi
jacopo at jmondi.org
Mon Feb 25 13:10:31 CET 2019
Hello,
this series collects rework of patches I have sent last week under the
"[PATCH 0/3] libcamera: v4l2_subdev and v4l2_device mixed" title, and
adds tests for format handling on v4l2 subdevice and v4l2 device.
Thanks
j
Jacopo Mondi (6):
libcamera: v4l2_subdevice: Store media entity
libcamera: v4l2_subdevice: Implement ENUM_FRAME_SIZES
libcamera: v4l2_device: Add support for META_CAPTURE devices
test: v4l2_subdevice: Add format handling test
test: v4l2_subdevice: Add ListFormat test
test: v4l2_device: Add format handling test
src/libcamera/include/v4l2_device.h | 4 +
src/libcamera/include/v4l2_subdevice.h | 13 ++-
src/libcamera/v4l2_device.cpp | 38 +++++---
src/libcamera/v4l2_subdevice.cpp | 102 +++++++++++++++++++-
test/meson.build | 1 +
test/v4l2_device/meson.build | 1 +
test/v4l2_device/test_formats.cpp | 65 +++++++++++++
test/v4l2_subdevice/list_formats.cpp | 76 +++++++++++++++
test/v4l2_subdevice/meson.build | 11 +++
test/v4l2_subdevice/test_formats.cpp | 79 +++++++++++++++
test/v4l2_subdevice/v4l2_subdevice_test.cpp | 90 +++++++++++++++++
test/v4l2_subdevice/v4l2_subdevice_test.h | 36 +++++++
12 files changed, 499 insertions(+), 17 deletions(-)
create mode 100644 test/v4l2_device/test_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