Go to the source code of this file.
◆ DEF_EXPR_FIELDS
| #define DEF_EXPR_FIELDS |
( |
| name | ) |
|
◆ OFFSET
◆ FLAGS
◆ PARSE_EXPR
| #define PARSE_EXPR |
( |
| name | ) |
|
Value: do { \
if (ret < 0) { \
return ret; \
} \
} while (0)
static AVFormatContext * ctx
int av_expr_parse(AVExpr **expr, const char *s, const char *const *const_names, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), int log_offset, void *log_ctx)
Parse an expression.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static const char *const var_names[]
Referenced by init().
◆ var_name
| Enumerator |
|---|
| VAR_W | |
| VAR_H | |
| VAR_N | |
| VAR_PTS | |
| VAR_R | |
| VAR_T | |
| VAR_TB | |
| VAR_NB | |
Definition at line 42 of file vf_vignette.c.
◆ EvalMode
| Enumerator |
|---|
| EVAL_MODE_INIT | |
| EVAL_MODE_FRAME | |
| EVAL_MODE_NB | |
Definition at line 53 of file vf_vignette.c.
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
vignette | | ) |
|
◆ init()
◆ uninit()
◆ get_natural_factor()
◆ update_context()
◆ get_dither_value()
◆ filter_frame()
◆ config_props()
◆ var_names
| const char* const var_names[] |
|
static |
Initial value:= {
"w",
"h",
"n",
"pts",
"r",
"t",
"tb",
}
Definition at line 31 of file vf_vignette.c.
◆ vignette_options
Initial value:= {
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_RATIONAL
Underlying C type is AVRational.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ 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 81 of file vf_vignette.c.
◆ pix_fmts
Initial value:= {
}
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition at line 128 of file vf_vignette.c.
◆ vignette_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
static int config_props(AVBitStreamFilterLink *link)
Definition at line 322 of file vf_vignette.c.
◆ ff_vf_vignette
Initial value:= {
.p.name = "vignette",
.p.priv_class = &vignette_class,
}
int(* init)(AVBSFContext *ctx)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
static av_cold void uninit(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_PIXFMTS_ARRAY(array)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static enum AVPixelFormat pix_fmts[]
static const AVFilterPad vignette_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 331 of file vf_vignette.c.