mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-20 19:05:05 +03:00
py: MappedFrameBuffer: Add 'fb' property
Add 'fb' property to expose the underlying FrameBuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
43192f4321
commit
958d9187aa
1 changed files with 4 additions and 0 deletions
|
@ -99,3 +99,7 @@ class MappedFrameBuffer:
|
||||||
raise RuntimeError('MappedFrameBuffer not mmapped')
|
raise RuntimeError('MappedFrameBuffer not mmapped')
|
||||||
|
|
||||||
return self.__planes
|
return self.__planes
|
||||||
|
|
||||||
|
@property
|
||||||
|
def fb(self):
|
||||||
|
return self.__fb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue