[PATCH 0/1] Add v4l2_subdev_format in V4L2SubdeviceFormat

Harvey Yang chenghaoyang at chromium.org
Tue Nov 5 11:49:20 CET 2024


Hi folks,

This patch adds extra information in V4L2SubdeviceFormat, which will
be needed in mtkisp7:
https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/libcamera/mtkisp7/src/libcamera/pipeline/mtkisp7/camsys/camsys.cpp;l=371

I think we can also choose to just add the format (type:
v4l2_mbus_framefmt) into the struct though. However, in either approach,
we are duplicating the information with other existing member variables.

Please check if this patch makes sense, or if there are other
approaches.

BR,
Harvey


Han-Lin Chen (1):
  libcamera: Add v4l2_subdev_format in V4L2SubdeviceFormat

 include/libcamera/internal/v4l2_subdevice.h |  2 ++
 src/libcamera/pipeline/simple/simple.cpp    |  2 +-
 src/libcamera/sensor/camera_sensor.cpp      |  1 +
 src/libcamera/v4l2_subdevice.cpp            | 10 ++++++++++
 4 files changed, 14 insertions(+), 1 deletion(-)

-- 
2.47.0.199.ga7371fff76-goog



More information about the libcamera-devel mailing list