GstAllocators.UdmabufAllocator¶
- Subclasses:
None
Methods¶
- Inherited:
GstAllocators.DmaBufAllocator (3), GstAllocators.FdAllocator (3), Gst.Allocator (5), Gst.Object (29), GObject.Object (37)
- Structs:
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GstAllocators.UdmabufAllocator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This is a subclass of
GstAllocators.DmaBufAllocatorthat implements theGst.Allocator.alloc() method usingmemfd_create()andUDMABUF_CREATE. Platforms not supporting that (most non-Linux) will always returnNone.New in version 1.28.
- classmethod get()[source]¶
- Returns:
a
Gst.AllocatororNoneifGstAllocators.UdmabufAllocator.init_once() did not register the allocator.- Return type:
Get the
GstAllocators.UdmabufAllocatorsingleton if available.New in version 1.28.
- classmethod init_once()[source]¶
Register a
GstAllocators.UdmabufAllocatorusingGst.Allocator.register() with the nameGstAllocators.ALLOCATOR_UDMABUF. This is no-op after the first call.New in version 1.28.