aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2011-11-13 16:09:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-13 17:33:09 +0100
commite555119c739fb35e3bdd8905050104ae0a4692e2 (patch)
tree17c04d9f4058b8a4f7bee2859d38346e9ecdf7b7 /cmdutils.c
parentad0bdd2fd26a151404c505a1d610bf95773ae18f (diff)
downloadffmpeg-e555119c739fb35e3bdd8905050104ae0a4692e2.tar.gz
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 <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions