summaryrefslogtreecommitdiff
path: root/include/linux/v4l2-controls.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-29 01:42:01 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-06 18:10:44 +0200
commit7f2da874cdacf2870c7a55cd1bdf34a01b01787d (patch)
treeee497d48be18cfee4a9cf9d4d9c6d4a8d7cfb67f /include/linux/v4l2-controls.h
parent8a1f0321dc031a34e5fd19bfeefd8e95f9a6b683 (diff)
libcamera: byte_stream_buffer: Add zero-copy read() variant
Add a read() function to ByteStreamBuffer that returns a pointer to the data instead of copying it. Overflow check is still handled by the class, but the caller must check the returned pointer explicitly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/v4l2-controls.h')
0 files changed, 0 insertions, 0 deletions