GstHip.HipPoolAllocator

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Allocator Gst.Allocator GstHip.HipAllocator GstHip.HipAllocator Gst.Allocator->GstHip.HipAllocator Gst.Object->Gst.Allocator GstHip.HipPoolAllocator GstHip.HipPoolAllocator GstHip.HipAllocator->GstHip.HipPoolAllocator

Subclasses:

None

Methods

Inherited:

GstHip.HipAllocator (2), Gst.Allocator (5), Gst.Object (29), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (device, info)

acquire_memory ()

Virtual Methods

Inherited:

GstHip.HipAllocator (1), Gst.Allocator (2), Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

device

GstHip.HipDevice

r

info

GstVideo.VideoInfo

r

parent

GstHip.HipAllocator

r

Class Details

class GstHip.HipPoolAllocator(**kwargs)
Bases:

GstHip.HipAllocator

Abstract:

No

Structure:

GstHip.HipPoolAllocatorClass

Opaque GstHip.HipPoolAllocator struct

New in version 1.28.

classmethod new(device, info)
Parameters:
Returns:

a GstHip.HipPoolAllocator

Return type:

GstHip.HipPoolAllocator

Creates a new GstHip.HipPoolAllocator instance

New in version 1.28.

acquire_memory()
Returns:

a Gst.FlowReturn such as Gst.FlowReturn.FLUSHING when the allocator is inactive.

memory:

a Gst.Memory

Return type:

(Gst.FlowReturn, memory: Gst.Memory or None)

Acquires a Gst.Memory from self. memory should point to a memory location that can hold a pointer to the new Gst.Memory.

New in version 1.28.