[0/1] Add requestBufferReady signal in V4L2VideoDevice
mbox series

Message ID 20241009093303.2996819-1-chenghaoyang@chromium.org
Headers show
Series
  • Add requestBufferReady signal in V4L2VideoDevice
Related show

Message

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