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(-)