diff options
author | Giorgio Vazzana <[email protected]> | 2011-11-13 16:09:58 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2011-11-13 17:33:09 +0100 |
commit | e555119c739fb35e3bdd8905050104ae0a4692e2 (patch) | |
tree | 17c04d9f4058b8a4f7bee2859d38346e9ecdf7b7 /libavformat/gopher.c | |
parent | ad0bdd2fd26a151404c505a1d610bf95773ae18f (diff) |
mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT
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 <[email protected]>
Diffstat (limited to 'libavformat/gopher.c')
0 files changed, 0 insertions, 0 deletions