public class AllocationQuery extends Query
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstQuery.html#gst-query-new-allocation
Query.Types
MiniObject.Handle
NativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>
GTYPE_NAME
Constructor and Description |
---|
AllocationQuery(Caps caps,
boolean need_pool)
Create a new allocation query.
|
Modifier and Type | Method and Description |
---|---|
void |
addAllocationPool(BufferPool pool,
int size,
int min_buffers,
int max_buffers)
Set the pool parameters of the query.
|
Caps |
getCaps()
Get the requested
Caps |
boolean |
isPoolNeeded()
Whether a
BufferPool is needed. |
getStructure
copy, getRefCount, isWritable, makeWritable
close, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toString
public boolean isPoolNeeded()
BufferPool
is needed.public void addAllocationPool(BufferPool pool, int size, int min_buffers, int max_buffers)
pool
- the BufferPool
size
- the buffer sizemin_buffers
- the min buffersmax_buffers
- the max buffersCopyright © 2021 gstreamer-java. All rights reserved.