mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
lavfi/mandelbrot: reindent after 51bcd5cd.
This commit is contained in:
parent
51bcd5cd65
commit
e82f562fa5
@ -281,13 +281,12 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
|
|||||||
continue;
|
continue;
|
||||||
if(!mb->morphamp){
|
if(!mb->morphamp){
|
||||||
if(interpol(mb, color, x, y, linesize)){
|
if(interpol(mb, color, x, y, linesize)){
|
||||||
//TODO: reindent
|
if(next_cidx < mb->cache_allocated){
|
||||||
if(next_cidx < mb->cache_allocated){
|
mb->next_cache[next_cidx ].p[0]= cr;
|
||||||
mb->next_cache[next_cidx ].p[0]= cr;
|
mb->next_cache[next_cidx ].p[1]= ci;
|
||||||
mb->next_cache[next_cidx ].p[1]= ci;
|
mb->next_cache[next_cidx++].val = color[x + y*linesize];
|
||||||
mb->next_cache[next_cidx++].val = color[x + y*linesize];
|
}
|
||||||
}
|
continue;
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
zr += cos(pts * mb->morphxf) * mb->morphamp;
|
zr += cos(pts * mb->morphxf) * mb->morphamp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user