[FFmpeg-devel] [PATCH 2/2] mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT
Michael Niedermayer
michaelni at gmx.at
Sun Nov 13 17:10:26 CET 2011
On Sun, Nov 13, 2011 at 04:46:52PM +0100, Giorgio Vazzana wrote:
> Hello,
>
> the commit message says it all. Please comment :)
> vsrc_mandelbrot.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> ced11f1dfdbfa85e0b0a7863ea1d4cc03d9c2f26 0002-mandelbrot-correct-and-simplify-the-formula-used-in-.patch
> From 6136a74ab7cc225fd58b7d36c3f301f7e337a724 Mon Sep 17 00:00:00 2001
> From: Giorgio Vazzana <mywing81 at gmail.com>
> Date: Sun, 13 Nov 2011 16:09:58 +0100
> Subject: [PATCH 2/2] 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.
applied (with update due to my loop unrolling)
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111113/17c52f4e/attachment.asc>
More information about the ffmpeg-devel
mailing list