Closed junoirt closed 8 months ago
MappedFrameBuffer is not a part of the public libcamera API.
If you'd like to use it, and you are using open source software, you can simply copy the implementation. Otherwise, you can implement mapping of the buffer yourself.
I've tried to push this to public-api before, but it was rejected. Hopefully we'll have other concepts in the future for mapping an 'Image', but we don't have that now.
Currently the
MappedFrameBuffer
class is not accessible using#include <libcamera/libcamera.h>
, the class needs to be manually added from the source of libcamera.