Function av_frame_get_plane_buffer

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

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

@param frame the frame to get the plane’s buffer from @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.