[libcamera-devel] [PATCH v3 0/7] v4l2-compat fixes

Paul Elder paul.elder at ideasonboard.com
Thu Sep 9 10:08:55 CEST 2021


Everything started when a new version of v4l2-compliance broke our unit
test, because it changed the version string format, and added some more
tests that we don't pass. The extra test is that it confirms the V4L2
format description string, so patches 2 to 5 address this. Patch 6 fixes
another todo along the way, and patch 7 addresses the version parsing,
which allows everything to run again.

v3 is just minor wording changes. Mostly s/name/description/

Paul Elder (7):
  v4l2: v4l2_compat_manager: Don't print "camera not found" on openat()
  libcamera: v4l2_pixelformat: Add V4L2 description strings
  libcamera: v4l2_pixelformat: Add entries for NV24 and NV42
  libcamera: v4l2_pixelformat: Add helper function to get the
    description
  v4l2: v4l2_camera_proxy: Report the proper format name in enum_fmt
  v4l2: v4l2_camera_proxy: Set the compressed flag in enum_fmt
  test: v4l2_compat_test: Fix v4l2-compliance version parsing

 include/libcamera/internal/v4l2_pixelformat.h |   6 +
 src/libcamera/v4l2_pixelformat.cpp            | 207 +++++++++++++-----
 src/v4l2/v4l2_camera_proxy.cpp                |   9 +-
 src/v4l2/v4l2_compat_manager.cpp              |   2 +-
 test/v4l2_compat/v4l2_compat_test.py          |   2 +-
 5 files changed, 162 insertions(+), 64 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list