diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-21 16:50:05 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-25 14:04:41 +0100 |
commit | 987bd370b0aa1778271fdac39a04ab35adfffb3a (patch) | |
tree | 24a577cf047755c108d3e737529e4980e2e71073 /src/libcamera/v4l2_device.cpp | |
parent | 0052aaa40e9d9c92f4ada41987f03015adf4953e (diff) |
libcamera: v4l2_device: Identify multiplanar formats
Add functions to V4L2Capability to identify if a V4L2 device supports
multiplanar V4L2 APIs.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/v4l2_device.cpp')
-rw-r--r-- | src/libcamera/v4l2_device.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcamera/v4l2_device.cpp b/src/libcamera/v4l2_device.cpp index 0ce2b187..9cb504d2 100644 --- a/src/libcamera/v4l2_device.cpp +++ b/src/libcamera/v4l2_device.cpp @@ -57,6 +57,12 @@ LOG_DEFINE_CATEGORY(V4L2) */ /** + * \fn bool V4L2Capability::isMultiplanar() + * \brief Identify if the device implement V4L2 multiplanar APIs + * \return True if the device supports multiplanar APIs + */ + +/** * \fn bool V4L2Capability::isCapture() * \brief Identify if the device is capable of capturing video * \return True if the device can capture video frames |