vsrc_mandelbrot: always store values for periodicity checking, this avoids a few checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-19 15:02:34 +01:00
parent da1344e0cd
commit 56fc4cf04f

View File

@ -242,9 +242,10 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
if(use_zyklus){\
if(Z && mb->zyklus[i>>1][0]==outr && mb->zyklus[i>>1][1]==outi)\
break;\
mb->zyklus[i][0]= outr;\
mb->zyklus[i][1]= outi;\
}
}\
mb->zyklus[i][0]= outr;\
mb->zyklus[i][1]= outi;\
for(i=0; i<mb->maxiter-8; i++){