diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-11-22 16:22:56 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-12 16:10:38 +0100 |
commit | 9217f274f64f690b768d332663e1731a3ee5ef15 (patch) | |
tree | ee152928be1eaea656c929e56e27e97b175de435 /src/cam/buffer_writer.h | |
parent | eb4030f6c07174a520be1ebd73628e9ae4789569 (diff) |
libcamera: Switch to FrameBuffer interface
Switch to the FrameBuffer interface where all buffers are treated as
external buffers and are allocated outside the camera. Applications
allocating buffers using libcamera are switched to use the
FrameBufferAllocator helper.
Follow-up changes to this one will finalize the transition to the new
FrameBuffer interface by removing code that is left unused after this
change.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/buffer_writer.h')
-rw-r--r-- | src/cam/buffer_writer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cam/buffer_writer.h b/src/cam/buffer_writer.h index 7bf785d1..5917a7df 100644 --- a/src/cam/buffer_writer.h +++ b/src/cam/buffer_writer.h @@ -16,7 +16,8 @@ class BufferWriter public: BufferWriter(const std::string &pattern = "frame-#.bin"); - int write(libcamera::Buffer *buffer, const std::string &streamName); + int write(libcamera::FrameBuffer *buffer, + const std::string &streamName); private: std::string pattern_; |