[−][src]Function mmal_sys::mmal_buffer_header_acquire
pub unsafe extern "C" fn mmal_buffer_header_acquire(
header: *mut MMAL_BUFFER_HEADER_T
)
Acquire a buffer header. Acquiring a buffer header increases a reference counter on it and makes sure that the buffer header won't be recycled until all the references to it are gone. This is useful for instance if a component needs to return a buffer header but still needs access to it for some internal processing (e.g. reference frames in video codecs).
@param header buffer header to acquire