Class Allocator

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
Allocator.AllocatorImpl

@Generated("io.github.jwharm.JavaGI") public abstract class Allocator extends GstObject
Memory is usually created by allocators with a gst_allocator_alloc() method call. When null is used as the allocator, the default allocator will be used.

New allocators can be registered with gst_allocator_register(). Allocators are identified by name and can be retrieved with gst_allocator_find(). gst_allocator_set_default() can be used to change the default allocator.

New memory can be created with gst_memory_new_wrapped() that wraps the memory allocated elsewhere.