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.
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.
Data structure for storing block-level encoding information. It is allocated as a part of AVVideoEncParams and should be retrieved with av_video_enc_params_block().
Video encoding parameters for a given frame. This struct is allocated along with an optional array of per-block AVVideoBlockParams descriptors. Must be allocated with av_video_enc_params_alloc().