FFmpeg
|
#include "avfilter.h"
#include "filters.h"
#include "video.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include <float.h>
#include <math.h>
Go to the source code of this file.
Data Structures | |
struct | SierpinskiContext |
Macros | |
#define | OFFSET(x) offsetof(SierpinskiContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (sierpinski) | |
static int | fill_sierpinski (SierpinskiContext *s, int x, int y) |
static int | draw_triangle_slice (AVFilterContext *ctx, void *arg, int job, int nb_jobs) |
static int | draw_carpet_slice (AVFilterContext *ctx, void *arg, int job, int nb_jobs) |
static int | config_output (AVFilterLink *outlink) |
static void | draw_sierpinski (AVFilterContext *ctx, AVFrame *frame) |
static int | sierpinski_request_frame (AVFilterLink *link) |
Variables | |
static const AVOption | sierpinski_options [] |
static const AVFilterPad | sierpinski_outputs [] |
const AVFilter | ff_vsrc_sierpinski |
Sierpinski carpet fractal renderer
Definition in file vsrc_sierpinski.c.
#define OFFSET | ( | x | ) | offsetof(SierpinskiContext, x) |
Definition at line 54 of file vsrc_sierpinski.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 55 of file vsrc_sierpinski.c.
AVFILTER_DEFINE_CLASS | ( | sierpinski | ) |
|
static |
Definition at line 72 of file vsrc_sierpinski.c.
Referenced by draw_carpet_slice().
|
static |
Definition at line 88 of file vsrc_sierpinski.c.
Referenced by config_output().
|
static |
Definition at line 113 of file vsrc_sierpinski.c.
Referenced by config_output().
|
static |
Definition at line 138 of file vsrc_sierpinski.c.
|
static |
Definition at line 161 of file vsrc_sierpinski.c.
Referenced by sierpinski_request_frame().
|
static |
Definition at line 188 of file vsrc_sierpinski.c.
|
static |
Definition at line 57 of file vsrc_sierpinski.c.
|
static |
Definition at line 205 of file vsrc_sierpinski.c.
const AVFilter ff_vsrc_sierpinski |
Definition at line 214 of file vsrc_sierpinski.c.