| 
    FFmpeg
    
   | 
 
#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) | 
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 *s, 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 | ff_vsrc_mandelbrot | 
Mandelbrot fractal renderer
Definition in file vsrc_mandelbrot.c.
Definition at line 39 of file vsrc_mandelbrot.c.
| #define OFFSET | ( | x | ) | offsetof(MBContext, x) | 
Definition at line 86 of file vsrc_mandelbrot.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM | 
Definition at line 87 of file vsrc_mandelbrot.c.
| #define Z_Z2_C | ( | outr, | |
| outi, | |||
| inr, | |||
| ini | |||
| ) | 
| #define Z_Z2_C_ZYKLUS | ( | outr, | |
| outi, | |||
| inr, | |||
| ini, | |||
| Z | |||
| ) | 
| enum Outer | 
| Enumerator | |
|---|---|
| ITERATION_COUNT | |
| NORMALIZED_ITERATION_COUNT | |
| WHITE | |
| OUTZ | |
Definition at line 41 of file vsrc_mandelbrot.c.
| enum Inner | 
| Enumerator | |
|---|---|
| BLACK | |
| PERIOD | |
| CONVTIME | |
| MINCOL | |
Definition at line 48 of file vsrc_mandelbrot.c.
| AVFILTER_DEFINE_CLASS | ( | mandelbrot | ) | 
      
  | 
  static | 
Definition at line 122 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 140 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 149 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 162 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 177 of file vsrc_mandelbrot.c.
Referenced by draw_mandelbrot().
Definition at line 195 of file vsrc_mandelbrot.c.
Referenced by dequant_lsp10r(), dequant_lsp16r(), draw_mandelbrot(), filter_edge(), filter_edge_16bit(), filter_intra(), filter_intra_16bit(), filter_line_c(), and filter_line_c_16bit().
      
  | 
  static | 
Definition at line 249 of file vsrc_mandelbrot.c.
Referenced by request_frame().
      
  | 
  static | 
Definition at line 398 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 89 of file vsrc_mandelbrot.c.
      
  | 
  static | 
Definition at line 412 of file vsrc_mandelbrot.c.
| AVFilter ff_vsrc_mandelbrot | 
Definition at line 422 of file vsrc_mandelbrot.c.
 1.8.17