FFmpeg
Functions
qp_table.c File Reference
#include <stdint.h>
#include "libavutil/frame.h"
#include "libavutil/mem.h"
#include "libavutil/video_enc_params.h"
#include "qp_table.h"

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

Function Documentation

◆ ff_qp_table_extract()

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