From 015fa7f718156f59d233b48653211d08f5567760 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Mon, 25 Oct 2021 11:47:44 +0200 Subject: 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 Reviewed-by: Laurent Pinchart --- src/android/meson.build | 1 - 1 file changed, 1 deletion(-) (limited to 'src/android/meson.build') diff --git a/src/android/meson.build b/src/android/meson.build index 332b177c..75b4bf20 100644 --- a/src/android/meson.build +++ b/src/android/meson.build @@ -47,7 +47,6 @@ android_hal_sources = files([ 'camera_ops.cpp', 'camera_request.cpp', 'camera_stream.cpp', - 'camera_worker.cpp', 'jpeg/encoder_libjpeg.cpp', 'jpeg/exif.cpp', 'jpeg/post_processor_jpeg.cpp', -- cgit v1.2.1