summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_mandelbrot.c
Commit message (Collapse)AuthorAge
* lavfi: fix mp and mandelbrot descriptions to make them complete sentencesStefano Sabatini2012-01-21
| | | | This is consistent with the other filter descriptions.
* lavfi: add missing periods in descriptions.Clément Bœsch2012-01-20
|
* vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be ↵Michael Niedermayer2011-11-24
| | | | | | used uninitialized in this function [-Wuninitialized] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: fix inner=period, the previous optimizations broke it.Michael Niedermayer2011-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase maxiter to 7189Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: Use threshold to detect cycles.Michael Niedermayer2011-11-19
| | | | | | This way cycles are detected much earlier. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: detect edges in interpol()Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: avoid a | in interpol()Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase default zoom speed by a factor of 2Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: spatial interpolationMichael Niedermayer2011-11-19
| | | | | | speeds the code up by a factor of about 2-3. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: always store values for periodicity checking, this avoids a ↵Michael Niedermayer2011-11-19
| | | | | | few checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: simplify second bailout search by not recalculating values.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase zyklus array size so that optimizations can write ↵Michael Niedermayer2011-11-19
| | | | | | a bit more. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: check bailout only once every 8 iterations, this is around ↵Michael Niedermayer2011-11-19
| | | | | | 10% faster. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: factorize periodicity checking too.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: factorize main calculation out into a macro.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: make mincol description and code match.Michael Niedermayer2011-11-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add dither to convergence & mincol colorings.Michael Niedermayer2011-11-15
| | | | | | | This avoids banding artifacts. Note, low end TFTs still show some banding. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: make mincol the default.Michael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add mincol inner coloring method.Michael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add inner drawing method to show converence timeMichael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add "fractal" to the descriptionMichael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from ↵Michael Niedermayer2011-11-15
| | | | | | incompatible pointer type" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add math.h for log2()Michael Niedermayer2011-11-14
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: avoid INFINITY as openbsd seems not to like it.Michael Niedermayer2011-11-14
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: set options through the opt frameworkStefano Sabatini2011-11-13
|
* mandelbrot: remove always-false condition in fill_from_cacheGiorgio Vazzana2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: allow visualizing the period of converged points.Michael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Add inner variable & enum for inner coloring schemes.Michael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: only check bailout once every 2 iterations.Michael Niedermayer2011-11-13
| | | | | | Once we bailed out we calculate the exact iteration in which it would have happened if needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add SQR() macroMichael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNTGiorgio Vazzana2011-11-13
| | | | | | | | Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent the bailout radius squared, and then simplify the two sqrt(). This is also slightly faster. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: unroll the innermost loop once.Michael Niedermayer2011-11-13
| | | | | | This allows us to remove a if() and a variable assignment. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: only check periodicity once for each period instead of twice.Michael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: use period detection depening on left pixel and not theMichael Niedermayer2011-11-13
| | | | | | | previous calculated pixel, this is more accurate due to the last calculated often being farther away. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: remove unused variablesGiorgio Vazzana2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add missing options to the parsing codeGiorgio Vazzana2011-11-13
| | | | | | The following options were added: end_scale, end_pts, bailout, outer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: fix sscanf format stringGiorgio Vazzana2011-11-12
| | | | | | Replace ',' with ':' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Print a note if the cache is too smallMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: increase cache sizeMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: increase resolution, and decrease zoom speed to maintain the cpu ↵Michael Niedermayer2011-11-12
| | | | | | requirement. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: increase default maxiterMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Only use cycle detection if previous pixel was an interior pixelMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: detect cycles to speed up interior rendering.Michael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: increase default maxiter to 1024Michael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: use cache to avoid recalculating points.Michael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: more interresting zoom coordinates borrowed from wikipedia.Michael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add a end_scale and pts so we can zoom in.Michael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: center coordinate reference on the images centerMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: make 2 variables constMichael Niedermayer2011-11-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>