summaryrefslogtreecommitdiff
path: root/src/android/post_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/post_processor.h')
-rw-r--r--src/android/post_processor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/android/post_processor.h b/src/android/post_processor.h
index bda93bb4..ac40d341 100644
--- a/src/android/post_processor.h
+++ b/src/android/post_processor.h
@@ -8,9 +8,10 @@
#define __ANDROID_POST_PROCESSOR_H__
#include <libcamera/buffer.h>
-#include <libcamera/span.h>
#include <libcamera/stream.h>
+#include <libcamera/internal/buffer.h>
+
class CameraMetadata;
class PostProcessor
@@ -21,7 +22,7 @@ public:
virtual int configure(const libcamera::StreamConfiguration &inCfg,
const libcamera::StreamConfiguration &outCfg) = 0;
virtual int process(const libcamera::FrameBuffer &source,
- libcamera::Span<uint8_t> destination,
+ libcamera::MappedBuffer *destination,
const CameraMetadata &requestMetadata,
CameraMetadata *resultMetadata) = 0;
};