Function av_video_enc_params_alloc
pub unsafe extern "C" fn av_video_enc_params_alloc(
type_: i32,
nb_blocks: u32,
out_size: *mut usize,
) -> *mut AVVideoEncParams
Expand description
Allocates memory for AVVideoEncParams of the given type, plus an array of {@code nb_blocks} AVVideoBlockParams and initializes the variables. Can be freed with a normal av_free() call.
@param out_size if non-NULL, the size in bytes of the resulting data array is written here.