diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-10-25 11:47:44 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | 015fa7f718156f59d233b48653211d08f5567760 (patch) | |
tree | ec74e14c9c76a46b9630c5f7233cf24914a9175a /src/ipa/raspberrypi/cam_helper.cpp | |
parent | a71834e1a0f951772bb7efaa8d4a4b296718d1ec (diff) |
android: Remove CameraWorker
The CameraWorker class purpose was to handle acquire fences for incoming
capture requests directed to libcamera.
Now that fences are handled by the core library, it is not required to
handle them in the HAL and the CameraWorker and CaptureRequest classes
can be dropped.
Update the core in CameraDevice class accordingly to queue Requests
directly to the libcamera::Camera and set the release_fence to the
value of the FrameBuffer::fence() for streams of type ::Direct.
While at it make CameraRequest::StreamBuffer::fence a UniqueFD to ease
the management of the fences file descriptor values.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/cam_helper.cpp')
0 files changed, 0 insertions, 0 deletions