summaryrefslogtreecommitdiff
path: root/test/libtest/camera_test.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-10-25 11:47:44 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-12-11 17:53:40 +0100
commit015fa7f718156f59d233b48653211d08f5567760 (patch)
treeec74e14c9c76a46b9630c5f7233cf24914a9175a /test/libtest/camera_test.h
parenta71834e1a0f951772bb7efaa8d4a4b296718d1ec (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 'test/libtest/camera_test.h')
0 files changed, 0 insertions, 0 deletions