diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-06 17:56:50 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-14 20:11:26 +0200 |
commit | 4b1aa21db09df16d1a23d074e1b1c915b1b36ae4 (patch) | |
tree | 5f5126b6ca339bb27171034f1787c1ac96d356bf /LICENSES/GPL-2.0+.txt | |
parent | 8806863b0bc4498d098e16dda657ab6f8293d208 (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 'LICENSES/GPL-2.0+.txt')
0 files changed, 0 insertions, 0 deletions