Allocator
Class
constructor
object
Class
name
alloc
free
NODE-GTK API Reference
Gst-1.0
Gst
AllocatorClass
Class AllocatorClass
The #GstAllocator is used to create new memory.
record
Hierarchy
AllocatorClass
Index
Constructors
constructor
Properties
object
Class
name
Methods
alloc
free
Constructors
constructor
new
Allocator
Class
(
)
:
AllocatorClass
Returns
AllocatorClass
Properties
object
Class
object
Class
:
Gst
.
ObjectClass
Object parent class
field
Static
name
name
:
string
Methods
alloc
alloc
(
allocator
:
Gst
.
Allocator
, size
:
number
, params
:
AllocationParams
)
:
Memory
Parameters
allocator:
Gst
.
Allocator
size:
number
params:
AllocationParams
Returns
Memory
free
free
(
allocator
:
Gst
.
Allocator
, memory
:
Memory
)
:
void
Parameters
allocator:
Gst
.
Allocator
memory:
Memory
Returns
void
Allocator
Class
constructor
object
Class
name
alloc
free
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RfMV8wLkdzdC5BbGxvY2F0b3JDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0XzFfMC5Hc3QuQWxsb2NhdG9yQ2xhc3MuaHRtbCNvYmplY3RDbGFzcyIsIm5hbWUiOiJvYmplY3RDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR3N0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