[PATCH 0/1] Add requestBufferReady signal in V4L2VideoDevice

Harvey Yang chenghaoyang at chromium.org
Wed Oct 9 11:26:38 CEST 2024


Hi folks,

This patch adds a new signal in V4L2VideoDevice that not only reports a
completed buffer, but also its request fd. This helps save some
unnecessary mappings from buffers to requests.

We might also consider removing the signal bufferReady, if we migrate all
usages to the new signal.

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

BR,
Harvey

Yunke Cao (1):
  libcamera: mtkisp7: v4l2: Add a requestBufferReady signal

 include/libcamera/internal/v4l2_videodevice.h |  3 +-
 src/libcamera/v4l2_videodevice.cpp            | 33 ++++++++++++++-----
 2 files changed, 26 insertions(+), 10 deletions(-)

-- 
2.47.0.rc0.187.ge670bccf7e-goog



More information about the libcamera-devel mailing list