GstHip.HipPoolAllocator¶
- Subclasses:
None
Methods¶
- Inherited:
GstHip.HipAllocator (2), Gst.Allocator (5), Gst.Object (29), GObject.Object (37)
- Structs:
class |
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
device |
r |
||
info |
r |
||
parent |
r |
Class Details¶
- class GstHip.HipPoolAllocator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Opaque
GstHip.HipPoolAllocatorstructNew in version 1.28.
- classmethod new(device, info)¶
- Parameters:
device (
GstHip.HipDevice) – aGstHip.HipDeviceinfo (
GstVideo.VideoInfo) – aGstVideo.VideoInfo
- Returns:
- Return type:
Creates a new
GstHip.HipPoolAllocatorinstanceNew in version 1.28.
- acquire_memory()¶
- Returns:
a
Gst.FlowReturnsuch asGst.FlowReturn.FLUSHINGwhen the allocator is inactive.- memory:
- Return type:
(
Gst.FlowReturn, memory:Gst.MemoryorNone)
Acquires a
Gst.Memoryfrom self. memory should point to a memory location that can hold a pointer to the newGst.Memory.New in version 1.28.