[libcamera-devel] [PATCH 0/2] V4L2 Video Device MPLANE improvements
Kieran Bingham
kieran.bingham at ideasonboard.com
Fri Oct 18 17:41:59 CEST 2019
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(-)
--
2.20.1
More information about the libcamera-devel
mailing list