Function ff_get_video_buffer

Source
pub unsafe extern "C" fn ff_get_video_buffer(
    link: *mut AVFilterLink,
    w: c_int,
    h: c_int,
) -> *mut AVFrame
Expand description

Request a picture buffer with a specific set of permissions.

@param link the output link to the filter from which the buffer will be requested @param w the minimum width of the buffer to allocate @param h the minimum height of the buffer to allocate @return A reference to the buffer. This must be unreferenced with avfilter_unref_buffer when you are finished with it.