summaryrefslogtreecommitdiff
path: root/src/android/jpeg/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/jpeg/encoder.h')
-rw-r--r--src/android/jpeg/encoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/jpeg/encoder.h b/src/android/jpeg/encoder.h
index 4e859961..270ea609 100644
--- a/src/android/jpeg/encoder.h
+++ b/src/android/jpeg/encoder.h
@@ -17,8 +17,8 @@ public:
virtual ~Encoder() {}
virtual int configure(const libcamera::StreamConfiguration &cfg) = 0;
- virtual int encode(const libcamera::FrameBuffer *source,
- const libcamera::Span<uint8_t> &destination,
+ virtual int encode(const libcamera::FrameBuffer &source,
+ libcamera::Span<uint8_t> destination,
const libcamera::Span<const uint8_t> &exifData) = 0;
};