summaryrefslogtreecommitdiff
path: root/src/android/post_processor.h
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-10-26 12:51:47 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-10-26 16:11:17 +0530
commit05862a7e35b708812f7cb6e641f7a7c1c10efea3 (patch)
tree005970577b6141fa0efccda771c749a8f16b7066 /src/android/post_processor.h
parent6b706e1c3ec5eb1dbf45488143977039644c090c (diff)
android: post_processor: Drop return value for process()
PostProcessor::process() is invoked by CameraStream class in case any post-processing is required for the camera stream. The failure or success is checked via the value returned by CameraStream::process(). Now that the post-processor notifies about the post-processing completion operation, we can drop the return value of PostProcessor::process(). The status of post-processing is passed to CameraDevice::streamProcessingComplete() by the PostProcessor::processComplete signal's slot. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'src/android/post_processor.h')
-rw-r--r--src/android/post_processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/post_processor.h b/src/android/post_processor.h
index 4ac74fcf..5ec71c93 100644
--- a/src/android/post_processor.h
+++ b/src/android/post_processor.h
@@ -27,7 +27,7 @@ public:
virtual int configure(const libcamera::StreamConfiguration &inCfg,
const libcamera::StreamConfiguration &outCfg) = 0;
- virtual int process(Camera3RequestDescriptor::StreamBuffer *streamBuffer) = 0;
+ virtual void process(Camera3RequestDescriptor::StreamBuffer *streamBuffer) = 0;
libcamera::Signal<Camera3RequestDescriptor::StreamBuffer *, Status> processComplete;
};