diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-14 16:14:27 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-18 19:15:18 +0200 |
commit | 1e6eb88048260da43622387cb8a7ae4f8fd84532 (patch) | |
tree | 8639c9a18d25c1f6194d7ea9ebb3817a6c7a3c39 /test/ipa/ipa_module_test.cpp | |
parent | 4c82053d4a1aa0ae5437349663ccfc5c66d387ab (diff) |
libcamera: v4l2_videodevice: Add standalone buffer export support
Add a new exportBuffers() function that only performs buffer allocation
and export, but leaves the V4L2 buffer queue unallocated on return. This
function will be used to simplify buffer allocation for pipeline
handlers. This is made possible by the V4L2 buffer orphaning feature
introduced in Linux v5.0, so add a version check to catch and report
issues early.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/ipa/ipa_module_test.cpp')
0 files changed, 0 insertions, 0 deletions