Function rsmpeg::ffi::av_hwframe_get_buffer[][src]

pub unsafe extern "C" fn av_hwframe_get_buffer(
    hwframe_ctx: *mut AVBufferRef,
    frame: *mut AVFrame,
    flags: i32
) -> i32
Expand description

Allocate a new frame attached to the given AVHWFramesContext.

@param hwframe_ctx a reference to an AVHWFramesContext @param frame an empty (freshly allocated or unreffed) frame to be filled with newly allocated buffers. @param flags currently unused, should be set to zero @return 0 on success, a negative AVERROR code on failure