GstBufferPoolClass

The GstBufferPool class. GstObjectClass object_class; Object parent class get_options () get a list of options supported by this pool set_config () apply the bufferpool configuration. The default configuration will parse the default config parameters start () start the bufferpool. The default implementation will preallocate min-buffers buffers and put them in the queue stop () stop the bufferpool. the default implementation will free the preallocated buffers. This function is called when all the buffers are returned to the pool. acquire_buffer () get a new buffer from the pool. The default implementation will take a buffer from the queue and optionally wait for a buffer to be released when there are no buffers available. alloc_buffer () allocate a buffer. the default implementation allocates buffers from the configured memory allocator and with the configured parameters. All metadata that is present on the allocated buffer will be marked as GST_META_FLAG_POOLED and GST_META_FLAG_LOCKED and will not be removed from the buffer in reset_buffer. reset_buffer () reset the buffer to its state when it was freshly allocated. The default implementation will clear the flags, timestamps and will remove the metadata without the GST_META_FLAG_POOLED flag (even the metadata with GST_META_FLAG_LOCKED). release_buffer () release a buffer back in the pool. The default implementation will put the buffer back in the queue and notify any blocking acquire_buffer calls. free_buffer () free a buffer. The default implementation unrefs the buffer.

Members

Variables

acquireBuffer
GstFlowReturn function(GstBufferPool* pool, GstBuffer** buffer, GstBufferPoolAcquireParams* params) acquireBuffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
allocBuffer
GstFlowReturn function(GstBufferPool* pool, GstBuffer** buffer, GstBufferPoolAcquireParams* params) allocBuffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
freeBuffer
void function(GstBufferPool* pool, GstBuffer* buffer) freeBuffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getOptions
char** function(GstBufferPool* pool) getOptions;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
objectClass
GstObjectClass objectClass;
Undocumented in source.
releaseBuffer
void function(GstBufferPool* pool, GstBuffer* buffer) releaseBuffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
resetBuffer
void function(GstBufferPool* pool, GstBuffer* buffer) resetBuffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
setConfig
int function(GstBufferPool* pool, GstStructure* config) setConfig;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
start
int function(GstBufferPool* pool) start;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
stop
int function(GstBufferPool* pool) stop;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta