AllocationParams

class AllocationParams(**kwargs)

Parameters to control the allocation of memory

Constructors

class AllocationParams
classmethod new() AllocationParams

Create a new AllocationParams on the heap. This function is for use in GStreamer language bindings. In your own code, you can just declare a AllocationParams on the stack or in a struct, and call init() to initialize it.

You do not need to call init() on the instance returned by this function.

Added in version 1.20.

Methods

class AllocationParams
free() None

Free params

init() None

Initialize params to its default values

Fields

class AllocationParams
align

The desired alignment of the memory

flags

Flags to control allocation

padding

The desired padding

prefix

The desired prefix