[libcamera-devel,v1,0/3] V4L2 dequeue timeout
mbox series

Message ID 20220322131635.2869526-1-naush@raspberrypi.com
Headers show
Series
  • V4L2 dequeue timeout
Related show

Message

Naushir Patuck March 22, 2022, 1:16 p.m. UTC
Hi,

This change essentially superscedes the work done in 
https://patchwork.libcamera.org/project/libcamera/list/?series=2978.

I've moved the dequeue timeout functionality into the v4l2_videodevice class,
allowing any pipeline handler to use the functionality. This change also allows
us to set a timeout on any device node easily.

Thanks,
Naush

Naushir Patuck (3):
  utils: timer: Allow Timer::start to use utils::Duration
  libcamera: v4l2_videodevice: Add a dequeue timer
  pipeline: raspberrypi: Add a Unicam dequeue timeout

 include/libcamera/base/timer.h                |  2 +
 include/libcamera/internal/v4l2_videodevice.h |  9 ++++
 include/libcamera/ipa/raspberrypi.mojom       |  1 +
 src/ipa/raspberrypi/raspberrypi.cpp           |  2 +
 src/libcamera/base/timer.cpp                  | 14 ++++++
 .../pipeline/raspberrypi/raspberrypi.cpp      | 15 ++++++
 src/libcamera/v4l2_videodevice.cpp            | 47 +++++++++++++++++++
 7 files changed, 90 insertions(+)