[libcamera-devel,0/2] V4L2 Video Device MPLANE improvements
mbox series

Message ID 20191018154201.13540-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • V4L2 Video Device MPLANE improvements
Related show

Message

Kieran Bingham Oct. 18, 2019, 3:41 p.m. UTC
The V4L2 Video device supports MPLANE devices but we frequently have to
determine if we are working on a multiplanar device or not, and adjsut our code
path accordingly.

Bring the mplane switch to a class member to facilitate easily identifying the
type and start fixing up the bytes-used calculations.

Kieran Bingham (2):
  libcamera: v4l2_videodevice: Normalise multiPlanar configuration
  libcamera: v4l2_videodevice: Update bytesused when dq'ing MPLANE
    buffers

 src/libcamera/include/v4l2_videodevice.h |  1 +
 src/libcamera/v4l2_videodevice.cpp       | 22 ++++++++++++++++------
 2 files changed, 17 insertions(+), 6 deletions(-)