[−][src]Function ffmpeg_dev::sys::av_hwframe_get_buffer
pub unsafe extern "C" fn av_hwframe_get_buffer(
hwframe_ctx: *mut AVBufferRef,
frame: *mut AVFrame,
flags: c_int
) -> c_int
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