AVVideoEncParams

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().

Members

Variables

block_size
size_t block_size;
Undocumented in source.
blocks_offset
size_t blocks_offset;

Offset in bytes from the beginning of this structure at which the array of blocks starts.

delta_qp
int[2][4] delta_qp;

Quantisation parameter offset from the base (per-frame) qp for a given plane (first index) and AC/DC coefficients (second index).

nb_blocks
uint nb_blocks;

Number of blocks in the array.

qp
int qp;

Base quantisation parameter for the frame. The final quantiser for a given block in a given plane is obtained from this value, possibly combined with {@code delta_qp} and the per-block delta in a manner documented for each type.

type
AVVideoEncParamsType type;

Type of the parameters (the codec they are used with).

Meta