Function av_video_enc_params_create_side_data
pub unsafe extern "C" fn av_video_enc_params_create_side_data(
frame: *mut AVFrame,
type_: i32,
nb_blocks: u32,
) -> *mut AVVideoEncParams
Expand description
Allocates memory for AVEncodeInfoFrame plus an array of {@code nb_blocks} AVEncodeInfoBlock in the given AVFrame {@code frame} as AVFrameSideData of type AV_FRAME_DATA_VIDEO_ENC_PARAMS and initializes the variables.