diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-21 11:10:08 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-22 10:36:09 +0100 |
commit | 4b18b82c4f45a6d17ec976acd709a31f6873a01e (patch) | |
tree | 821065256d7bdd02f63c9d3cd70034abc99a271c /src/cam/event_loop.cpp | |
parent | dd1cd532caecc06f5e6d5b6ae4b6f4afd465ffb9 (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/event_loop.cpp')
0 files changed, 0 insertions, 0 deletions