FFmpeg
|
Go to the source code of this file.
Functions | |
int | ff_qp_table_extract (AVFrame *frame, int8_t **table, int *table_w, int *table_h, enum AVVideoEncParamsType *qscale_type) |
Extract a libpostproc-compatible QP table - an 8-bit QP value per 16x16 macroblock, stored in raster order - from AVVideoEncParams side data. More... | |
static int | ff_norm_qscale (int qscale, enum AVVideoEncParamsType type) |
Normalize the qscale factor FIXME Add support for other values of enum AVVideoEncParamsType besides AV_VIDEO_ENC_PARAMS_MPEG2. More... | |
int ff_qp_table_extract | ( | AVFrame * | frame, |
int8_t ** | table, | ||
int * | table_w, | ||
int * | table_h, | ||
enum AVVideoEncParamsType * | qscale_type | ||
) |
Extract a libpostproc-compatible QP table - an 8-bit QP value per 16x16 macroblock, stored in raster order - from AVVideoEncParams side data.
Definition at line 27 of file qp_table.c.
Referenced by filter_frame(), and pp_filter_frame().
|
inlinestatic |
Normalize the qscale factor FIXME Add support for other values of enum AVVideoEncParamsType besides AV_VIDEO_ENC_PARAMS_MPEG2.
Definition at line 39 of file qp_table.h.
Referenced by filter(), and filter_frame().