summaryrefslogtreecommitdiff
path: root/utils/raspberrypi
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-10-06 17:56:50 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-10-14 20:11:26 +0200
commit4b1aa21db09df16d1a23d074e1b1c915b1b36ae4 (patch)
tree5f5126b6ca339bb27171034f1787c1ac96d356bf /utils/raspberrypi
parent8806863b0bc4498d098e16dda657ab6f8293d208 (diff)
android: camera_device: Queue request using Worker
Add a CameraWorker class member to the CameraDevice class and queue capture requests to it to delegate its handling. Start and stop the CameraWorker when the libcamera::Camera is started or stopped. Tie the CaptureRequest lifetime to the Camera3RequestDescriptor's one by storing it as unique_ptr<> in the descriptor to simplify handling of request creation and deletion. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/raspberrypi')
0 files changed, 0 insertions, 0 deletions