GstBufferPool
Create buffers from a pool
A bufferpool is used to create buffers in an efficient way. En element
can maintain a bufferpool with a fixed number of buffers. This will reduce
the g_malloc and g_free overhead.
A bufferpool can also be used to implement direct access. A bufferpool can be
sent from one element to another so that the latter can directly write into
the memory of the element that maintains the bufferpool. This can greatly reduce
the number of memcpy operations.
@new_buffer:
@new_user_data:
@destroy_user_data:
@destroy_buffer:
The function called when a buffer has to be created for this pool.
@pool: the pool from which to create the buffer
@user_data: any user data
@Returns: a new buffer from the pool
This function will be called when the given buffer has to be returned to
the pool.
@pool: the pool to return the buffer to
@buffer: the buffer to return
@user_data: any user data
@Returns:
@pool:
@Returns:
@pool:
@buffer:
@pool:
@create:
@user_data:
@pool:
@destroy:
@user_data:
@pool: