diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-15 14:11:49 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-23 11:41:20 +0200 |
commit | 6aa6d57e8166ab8698ec43e62a271a5da9ce72d9 (patch) | |
tree | 0982ec3d9e068ca098ed1cb72cb366e12332252b /test/gstreamer | |
parent | 15a5ab99aea0f87c86a5e45401fc2641e813ff3e (diff) |
libcamera: v4l2_videodevice: Add multiplanar argument to toV4L2PixelFormat
The toV4L2PixelFormat() function selects which V4L2 format variant to
use (contiguous planes vs non-contiguous version) by using video device
multiplanar API from the capabilities.
The isMultiplanar() function however verifies if the video device uses
the singleplanar or the multiplanar V4L2 API, something which is
unrelated to the format variant to use.
Add a 'multiplanar' flag, which defaults to false, to the
toV4L2PixelFormat() function to allow explicit selection of the format
variant.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/gstreamer')
0 files changed, 0 insertions, 0 deletions