#include <math.h>
#include "libavutil/eval.h"
#include "libavutil/opt.h"
#include "libavutil/video_enc_params.h"
#include "avfilter.h"
#include "filters.h"
#include "video.h"
Go to the source code of this file.
◆ OFFSET
Value:
Definition at line 40 of file vf_qp.c.
◆ FLAGS
◆ BLOCK_QP_DELTA
| #define BLOCK_QP_DELTA |
( |
| block_idx | ) |
|
Value:
int32_t delta_qp
Difference between this block's final quantization parameter and the corresponding per-frame value.
static av_always_inline AVVideoBlockParams * av_video_enc_params_block(AVVideoEncParams *par, unsigned int idx)
Get the block at the specified idx.
Referenced by filter_frame().
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
qp | | ) |
|
◆ config_input()
◆ filter_frame()
◆ var_names
| const char* const var_names[] = { "known", "qp", "x", "y", "w", "h", NULL } |
|
static |
◆ qp_options
Initial value:= {
}
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 43 of file vf_qp.c.
◆ qp_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
Definition at line 175 of file vf_qp.c.
◆ ff_vf_qp
Initial value:= {
.p.name = "qp",
.p.priv_class = &qp_class,
}
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad qp_inputs[]
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
Definition at line 184 of file vf_qp.c.