FFmpeg
|
Mandelbrot fraktal renderer. More...
#include "avfilter.h"
#include "formats.h"
#include "video.h"
#include "internal.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include <float.h>
#include <math.h>
Go to the source code of this file.
Data Structures | |
struct | Point |
struct | MBContext |
Macros | |
#define | SQR(a) ((a)*(a)) |
#define | OFFSET(x) offsetof(MBContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | Z_Z2_C(outr, outi, inr, ini) |
#define | Z_Z2_C_ZYKLUS(outr, outi, inr, ini, Z) |
Typedefs | |
typedef struct Point | Point |
Enumerations | |
enum | Outer { ITERATION_COUNT, NORMALIZED_ITERATION_COUNT, WHITE, OUTZ } |
enum | Inner { BLACK, PERIOD, CONVTIME, MINCOL } |
Functions | |
AVFILTER_DEFINE_CLASS (mandelbrot) | |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *inlink) |
static void | fill_from_cache (AVFilterContext *ctx, uint32_t *color, int *in_cidx, int *out_cidx, double py, double scale) |
static int | interpol (MBContext *mb, uint32_t *color, int x, int y, int linesize) |
static void | draw_mandelbrot (AVFilterContext *ctx, uint32_t *color, int linesize, int64_t pts) |
static int | request_frame (AVFilterLink *link) |
Variables | |
static const AVOption | mandelbrot_options [] |
static const AVFilterPad | mandelbrot_outputs [] |
AVFilter | avfilter_vsrc_mandelbrot |
Detailed Description
Mandelbrot fraktal renderer.
Definition in file vsrc_mandelbrot.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 87 of file vsrc_mandelbrot.c.
Definition at line 86 of file vsrc_mandelbrot.c.
Definition at line 39 of file vsrc_mandelbrot.c.
Referenced by draw_mandelbrot().
#define Z_Z2_C | ( | outr, | |
outi, | |||
inr, | |||
ini | |||
) |
#define Z_Z2_C_ZYKLUS | ( | outr, | |
outi, | |||
inr, | |||
ini, | |||
Z | |||
) |
Referenced by draw_mandelbrot().
Typedef Documentation
Enumeration Type Documentation
enum Inner |
Enumerator | |
---|---|
BLACK | |
PERIOD | |
CONVTIME | |
MINCOL |
Definition at line 48 of file vsrc_mandelbrot.c.
enum Outer |
Enumerator | |
---|---|
ITERATION_COUNT | |
NORMALIZED_ITERATION_COUNT | |
WHITE | |
OUTZ |
Definition at line 41 of file vsrc_mandelbrot.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | mandelbrot | ) |
|
static |
Definition at line 160 of file vsrc_mandelbrot.c.
|
static |
Definition at line 247 of file vsrc_mandelbrot.c.
Referenced by request_frame().
|
static |
Definition at line 175 of file vsrc_mandelbrot.c.
Referenced by draw_mandelbrot().
|
static |
Definition at line 122 of file vsrc_mandelbrot.c.
|
static |
Definition at line 193 of file vsrc_mandelbrot.c.
Referenced by dequant_lsp10r(), dequant_lsp16r(), and draw_mandelbrot().
|
static |
Definition at line 149 of file vsrc_mandelbrot.c.
|
static |
Definition at line 396 of file vsrc_mandelbrot.c.
|
static |
Definition at line 140 of file vsrc_mandelbrot.c.
Variable Documentation
AVFilter avfilter_vsrc_mandelbrot |
Definition at line 420 of file vsrc_mandelbrot.c.
|
static |
Definition at line 89 of file vsrc_mandelbrot.c.
|
static |
Definition at line 410 of file vsrc_mandelbrot.c.
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11