summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/triangle.svg
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-30 17:27:14 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-01 12:09:06 +0300
commit43192f4321c4cf265ec22a2b750ad5291e1f1a1c (patch)
treec37359ecf893d1608db6ac8d5cba19c9caaf0b56 /src/qcam/assets/feathericons/triangle.svg
parentfbd6c4d1c8bfedf49ed86b32fb7b8c0d0aee67fb (diff)
py: MappedFrameBuffer: Support non-contextmanager use
Implement non-contextmanager use to MappedFrameBuffer so that we can either: with MappedFrameBuffer(fb) as mfb: ... or mfb = MappedFrameBuffer(fb) mfb.mmap() ... mfb.munmap() While at it, improve the error handling a bit. Note that the mmap() returns self. In other words, one can do this: mfb = MappedFrameBuffer(fb).mmap() ... mfb.munmap() 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>
Diffstat (limited to 'src/qcam/assets/feathericons/triangle.svg')
0 files changed, 0 insertions, 0 deletions