GstHip.HipAllocator

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

Subclasses:

GstHip.HipPoolAllocator

Methods

Inherited:

Gst.Allocator (5), Gst.Object (29), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

alloc (device, info)

set_active (active)

Virtual Methods

Inherited:

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

do_set_active (active)

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

allocator

Gst.Allocator

r

Class Details

class GstHip.HipAllocator(**kwargs)
Bases:

Gst.Allocator

Abstract:

No

Structure:

GstHip.HipAllocatorClass

Opaque GstHip.HipAllocator struct

New in version 1.28.

alloc(device, info)
Parameters:
Returns:

a newly allocated GstHip.HipMemory or None if allocation failed

Return type:

Gst.Memory or None

Allocates a new GstHip.HipMemory

New in version 1.28.

set_active(active)
Parameters:

active (bool) – the new active state

Returns:

True if active state of self was successfully updated.

Return type:

bool

Controls the active state of self.

New in version 1.28.

do_set_active(active) virtual
Parameters:

active (bool) – the new active state

Returns:

True if active state of allocator was successfully updated.

Return type:

bool

Controls the active state of allocator.

New in version 1.28.