[PATCH 0/2] Add V4L2DeviceFormat support

Harvey Yang chenghaoyang at chromium.org
Wed Oct 9 21:58:49 CEST 2024


Hi folks,

This series of patches adds operator `==` and `!=` definition for
V4L2DeviceFormat, and adds a protected getter of
`V4L2VideoDevice::format_`, which allows the access from the derived
class in the upcoming mtkisp7 pipeline handler implementation.

This passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1286637

BR,
Harvey

Harvey Yang (1):
  libcamera: Add V4L2VideoDevice::getCachedFormat

Yunke Cao (1):
  libcamera: v4l2: Implement the equality and inequality operators for
    V4L2DeviceFormat

 include/libcamera/internal/v4l2_videodevice.h |  8 +++++
 src/libcamera/v4l2_videodevice.cpp            | 32 +++++++++++++++++++
 2 files changed, 40 insertions(+)

-- 
2.47.0.rc0.187.ge670bccf7e-goog



More information about the libcamera-devel mailing list