diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-07-01 13:36:24 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-07-07 11:50:51 +0100 |
commit | 0cfdf737dcf8bbdd400d107c0143a2d79ea76ec4 (patch) | |
tree | b996b13709d88fb12928ee2d48938139ff91a482 /test/v4l2_videodevice | |
parent | 2f34f5ef064505e82c86932a48ddcaa92b9b95f1 (diff) |
android: camera_device: Add buffers for each stream to Requests
Construct a FrameBuffer for every buffer given in the camera3Request
and add it to the libcamera Request on the appropriate stream.
The correct stream is obtained from the private data of the camera3_stream
associated with the camera3_buffer.
Comments regarding supporting only one buffer are now removed, and
FrameBuffers have their lifetime tracked in the Camera3RequestDescriptor
to ensure they are released when the Request is completed.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_videodevice')
0 files changed, 0 insertions, 0 deletions