summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-13 19:26:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-13 19:26:22 +0100
commite8499ab171055c7ddc16f0032517aeb686639f9a (patch)
treed7e8641f26224a639c700569747ecb7a09009995 /libavfilter
parent3cbe9afba530991b4b8708fc47831453656e2fca (diff)
downloadffmpeg-streaming-e8499ab171055c7ddc16f0032517aeb686639f9a.zip
ffmpeg-streaming-e8499ab171055c7ddc16f0032517aeb686639f9a.tar.gz
mandelbrot: Add inner variable & enum for inner coloring schemes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_mandelbrot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index d2c6cf1..59a0345 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -37,6 +37,10 @@ enum Outer{
NORMALIZED_ITERATION_COUNT,
};
+enum Inner{
+ BLACK,
+};
+
typedef struct Point {
double p[2];
uint32_t val;
@@ -54,6 +58,7 @@ typedef struct {
double end_pts;
double bailout;
enum Outer outer;
+ enum Inner inner;
int cache_allocated;
int cache_used;
Point *point_cache;
OpenPOWER on IntegriCloud