summaryrefslogtreecommitdiff
path: root/src/cam/stream_options.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-01-21 11:10:08 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-01-22 10:36:09 +0100
commit4b18b82c4f45a6d17ec976acd709a31f6873a01e (patch)
tree821065256d7bdd02f63c9d3cd70034abc99a271c /src/cam/stream_options.h
parentdd1cd532caecc06f5e6d5b6ae4b6f4afd465ffb9 (diff)
android: camera_device: Copy camera3 buffers in descriptor
The camera3_stream_buffer_t instances part of a capture request contain information on the stream for which capture has been requested (size, format and fences) and a handle to the stream's memory buffers. This information is copied in the descriptor one piece at the time while processing the camera3 streams to be re-used at request completion time. Simplify the code by copying the stream information in the descriptor at construction time. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/stream_options.h')
0 files changed, 0 insertions, 0 deletions