![]() |
PandA-2024.02
|
#include <stdio.h>
Go to the source code of this file.
Macros | |
| #define | DECIMAL_PLACES 28 |
| #define | int2fixed(num) ((num) << DECIMAL_PLACES) |
| #define | fixedmul(a, b) ((((long long)a) * ((long long)b)) >> DECIMAL_PLACES) |
| #define | fixed2int(num) ((num) >> DECIMAL_PLACES) |
| #define | WIDTH 128 |
| #define | HEIGHT 128 |
| #define | MAX_ITER 50 |
| #define | LEGUP 1 |
Functions | |
| int | mandelbrot () |
| int | main () |
Variables | |
| volatile unsigned char | img [WIDTH][HEIGHT] |
| #define DECIMAL_PLACES 28 |
Definition at line 7 of file mandelbrot.c.
| #define fixed2int | ( | num | ) | ((num) >> DECIMAL_PLACES) |
Definition at line 10 of file mandelbrot.c.
| #define fixedmul | ( | a, | |
| b | |||
| ) | ((((long long)a) * ((long long)b)) >> DECIMAL_PLACES) |
Definition at line 9 of file mandelbrot.c.
Referenced by mandelbrot().
| #define HEIGHT 128 |
Definition at line 13 of file mandelbrot.c.
Referenced by mandelbrot().
| #define int2fixed | ( | num | ) | ((num) << DECIMAL_PLACES) |
Definition at line 8 of file mandelbrot.c.
Referenced by mandelbrot().
| #define LEGUP 1 |
Definition at line 18 of file mandelbrot.c.
| #define MAX_ITER 50 |
Definition at line 16 of file mandelbrot.c.
Referenced by mandelbrot().
| #define WIDTH 128 |
Definition at line 12 of file mandelbrot.c.
Referenced by mandelbrot().
| int main | ( | void | ) |
Definition at line 57 of file mandelbrot.c.
References mandelbrot().

| int mandelbrot | ( | ) |
Definition at line 20 of file mandelbrot.c.
Referenced by fft(), main(), mandelbrot(), and print_image().
1.8.13