-
Notifications
You must be signed in to change notification settings - Fork 0
/
mandelbrot.h
23 lines (17 loc) · 887 Bytes
/
mandelbrot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MANDELBROT_H
#define MANDELBROT_H
#include "graphics.h"
enum performance {
AVX_PERFORMANCE,
MID_PERFORMANCE,
NO_PERFORMANCE
};
int print_mandelbrot (int window_width, int window_height, coordinates_t *coords,
const char* header, int max_n_iteration);
int calc_mandelbrot_pixels (pixel_t *pixels, int window_width, int window_height, int max_n_iteration,
coordinates_t *coords);
int mid_calc_mandelbrot_pixels (pixel_t *pixels, int window_width, int window_height, int max_n_iteration,
coordinates_t *coords);
int slow_calc_mandelbrot_pixels (pixel_t *pixels, int window_width, int window_height, int max_n_iteration,
coordinates_t *coords);
#endif /*MANDELBROT_H*/