Function rsmpeg::ffi::av_buffer_pool_buffer_get_opaque[][src]

pub unsafe extern "C" fn av_buffer_pool_buffer_get_opaque(
    ref_: *mut AVBufferRef
) -> *mut c_void
Expand description

Query the original opaque parameter of an allocated buffer in the pool.

@param ref a buffer reference to a buffer returned by av_buffer_pool_get. @return the opaque parameter set by the buffer allocator function of the buffer pool.

@note the opaque parameter of ref is used by the buffer pool implementation, therefore you have to use this function to access the original opaque parameter of an allocated buffer.