#include <float.h>
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "gblur.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (gblur) |
|
static void | postscale_c (float *buffer, int length, float postscale, float min, float max) |
|
static void | horiz_slice_c (float *buffer, int width, int height, int steps, float nu, float bscale) |
|
static int | filter_horizontally (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static void | do_vertical_columns (float *buffer, int width, int height, int column_begin, int column_end, int steps, float nu, float boundaryscale, int column_step) |
|
static int | filter_vertically (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | filter_postscale (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static void | gaussianiir2d (AVFilterContext *ctx, int plane) |
|
static int | query_formats (AVFilterContext *ctx) |
|
void | ff_gblur_init (GBlurContext *s) |
|
static int | config_input (AVFilterLink *inlink) |
|
static void | set_params (float sigma, int steps, float *postscale, float *boundaryscale, float *nu) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
gblur |
| ) |
|
◆ postscale_c()
static void postscale_c |
( |
float * |
buffer, |
|
|
int |
length, |
|
|
float |
postscale, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
static |
◆ horiz_slice_c()
static void horiz_slice_c |
( |
float * |
buffer, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
steps, |
|
|
float |
nu, |
|
|
float |
bscale |
|
) |
| |
|
static |
◆ filter_horizontally()
◆ do_vertical_columns()
static void do_vertical_columns |
( |
float * |
buffer, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
column_begin, |
|
|
int |
column_end, |
|
|
int |
steps, |
|
|
float |
nu, |
|
|
float |
boundaryscale, |
|
|
int |
column_step |
|
) |
| |
|
static |
◆ filter_vertically()
◆ filter_postscale()
◆ gaussianiir2d()
◆ query_formats()
◆ ff_gblur_init()
◆ config_input()
◆ set_params()
static void set_params |
( |
float |
sigma, |
|
|
int |
steps, |
|
|
float * |
postscale, |
|
|
float * |
boundaryscale, |
|
|
float * |
nu |
|
) |
| |
|
static |
◆ filter_frame()
◆ uninit()
◆ gblur_options
◆ gblur_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 378 of file vf_gblur.c.
◆ gblur_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 388 of file vf_gblur.c.
◆ ff_vf_gblur
Initial value:= {
.name = "gblur",
.priv_class = &gblur_class,
}
Definition at line 396 of file vf_gblur.c.
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad gblur_inputs[]
static const AVFilterPad outputs[]
static int config_input(AVFilterLink *inlink)
static const AVFilterPad gblur_outputs[]
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
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.
#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 int filter_frame(AVFilterLink *inlink, AVFrame *in)
static int query_formats(AVFilterContext *ctx)
static const struct @322 planes[]
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define flags(name, subs,...)