libcamera: MappedFrameBuffer: Latch a pointer to the framebuffer
Take a pointer to the given framebuffer as a private member for further use in later patches. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
parent
d4bc61f716
commit
1142f89aae
2 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,9 @@ public:
|
|||
using MapFlags = Flags<MapFlag>;
|
||||
|
||||
MappedFrameBuffer(const FrameBuffer *buffer, MapFlags flags);
|
||||
|
||||
private:
|
||||
const FrameBuffer *buffer_;
|
||||
};
|
||||
|
||||
LIBCAMERA_FLAGS_ENABLE_OPERATORS(MappedFrameBuffer::MapFlag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue