Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (normalize) |
|
static void | find_min_max (NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) |
|
static void | process (NormalizeContext *s, AVFrame *in, AVFrame *out) |
|
static void | find_min_max_planar (NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) |
|
static void | process_planar (NormalizeContext *s, AVFrame *in, AVFrame *out) |
|
static void | find_min_max_16 (NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) |
|
static void | process_16 (NormalizeContext *s, AVFrame *in, AVFrame *out) |
|
static void | find_min_max_planar_16 (NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) |
|
static void | process_planar_16 (NormalizeContext *s, AVFrame *in, AVFrame *out) |
|
static void | normalize (NormalizeContext *s, AVFrame *in, AVFrame *out) |
|
static int | config_input (AVFilterLink *inlink) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
◆ OFFSET
◆ FLAGS
◆ FLAGSR
◆ AVFILTER_DEFINE_CLASS()
◆ find_min_max()
◆ process()
◆ find_min_max_planar()
◆ process_planar()
◆ find_min_max_16()
◆ process_16()
◆ find_min_max_planar_16()
◆ process_planar_16()
◆ normalize()
◆ config_input()
◆ uninit()
◆ filter_frame()
◆ normalize_options
Initial value:= {
{
"smoothing",
"amount of temporal smoothing of the input range, to reduce flicker",
OFFSET(smoothing),
AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX/8,
FLAGS },
{
"independence",
"proportion of independent to linked channel normalization",
OFFSET(independence),
AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, 1.0,
FLAGSR },
}
Definition at line 129 of file vf_normalize.c.
◆ pixel_fmts
◆ inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 505 of file vf_normalize.c.
◆ outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 514 of file vf_normalize.c.
◆ ff_vf_normalize
Initial value:= {
.name = "normalize",
.priv_class = &normalize_class,
}
Definition at line 521 of file vf_normalize.c.
#define AV_PIX_FMT_GBRAP16
#define FILTER_PIXFMTS_ARRAY(array)
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
#define AV_PIX_FMT_GBRP14
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
#define AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_GBRAP10
static const AVFilterPad outputs[]
#define AV_PIX_FMT_GBRAP12
static enum AVPixelFormat pixel_fmts[]
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
#define AV_PIX_FMT_GBRP16
#define AV_PIX_FMT_RGBA64
static const AVFilterPad inputs[]
@ AV_PIX_FMT_BGR0
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold void uninit(AVFilterContext *ctx)
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
@ AV_PIX_FMT_RGB0
packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
#define AV_PIX_FMT_BGRA64
static int config_input(AVFilterLink *inlink)
#define AV_PIX_FMT_GBRP12
@ AV_PIX_FMT_0BGR
packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
#define FILTER_OUTPUTS(array)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
@ AV_PIX_FMT_0RGB
packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined