[0/2] Add V4L2DeviceFormat support
mbox series

Message ID 20241009200142.3213065-1-chenghaoyang@chromium.org
Headers show
Series
  • Add V4L2DeviceFormat support
Related show

Message

Cheng-Hao Yang Oct. 9, 2024, 7:58 p.m. UTC
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(+)