Function rsmpeg::ffi::av_frame_get_plane_buffer[][src]

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

Get the buffer reference a given data plane is stored in.

@param plane index of the data plane of interest in frame->extended_data.

@return the buffer reference that contains the plane or NULL if the input frame is not valid.