FFmpeg
|
Video encoding parameters for a given frame. More...
#include <video_enc_params.h>
Data Fields | |
unsigned int | nb_blocks |
Number of blocks in the array. More... | |
size_t | blocks_offset |
Offset in bytes from the beginning of this structure at which the array of blocks starts. More... | |
size_t | block_size |
enum AVVideoEncParamsType | type |
Type of the parameters (the codec they are used with). More... | |
int32_t | qp |
Base quantisation parameter for the frame. More... | |
int32_t | delta_qp [4][2] |
Quantisation parameter offset from the base (per-frame) qp for a given plane (first index) and AC/DC coefficients (second index). More... | |
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().
Definition at line 73 of file video_enc_params.h.
unsigned int AVVideoEncParams::nb_blocks |
Number of blocks in the array.
May be 0, in which case no per-block information is present. In this case the values of blocks_offset / block_size are unspecified and should not be accessed.
Definition at line 81 of file video_enc_params.h.
Referenced by av_video_enc_params_alloc(), dump_video_enc_params(), ff_qp_table_extract(), filter_frame(), and process_frame().
size_t AVVideoEncParams::blocks_offset |
Offset in bytes from the beginning of this structure at which the array of blocks starts.
Definition at line 86 of file video_enc_params.h.
Referenced by av_video_enc_params_alloc(), and av_video_enc_params_block().
size_t AVVideoEncParams::block_size |
Definition at line 90 of file video_enc_params.h.
Referenced by av_video_enc_params_alloc(), and av_video_enc_params_block().
enum AVVideoEncParamsType AVVideoEncParams::type |
Type of the parameters (the codec they are used with).
Definition at line 95 of file video_enc_params.h.
Referenced by av_video_enc_params_alloc(), dump_video_enc_params(), ff_qp_table_extract(), filter_frame(), and process_frame().
int32_t AVVideoEncParams::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
and the per-block delta in a manner documented for each type.
Definition at line 103 of file video_enc_params.h.
Referenced by dump_video_enc_params(), ff_qp_table_extract(), filter_frame(), h264_export_enc_params(), process_frame(), and vp9_export_enc_params().
int32_t AVVideoEncParams::delta_qp[4][2] |
Quantisation parameter offset from the base (per-frame) qp for a given plane (first index) and AC/DC coefficients (second index).
Definition at line 109 of file video_enc_params.h.
Referenced by dump_video_enc_params(), h264_export_enc_params(), process_frame(), and vp9_export_enc_params().