diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-02 03:04:44 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-07 19:18:09 +0300 |
commit | 81a38f43738440490e9fcc1ce96b22783f541942 (patch) | |
tree | 004c98966d29d173abb915d0068cf74f18909ebf /test/media_device/media_device_test.cpp | |
parent | 78875938e950fb28c90e0ee387cf4c19be7e1d00 (diff) |
libcamera: framebuffer: Add a function to check if planes are contiguous
Multi-planar frame buffers can store their planes contiguously in
memory, or split them in discontiguous memory areas. Add a private
function to check in which of these two categories the frame buffer
belongs. This will be used to correctly handle the differences between
the V4L2 single and multi planar APIs.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'test/media_device/media_device_test.cpp')
0 files changed, 0 insertions, 0 deletions