6 #include "structures.h"
8 void tic(struct timeval* temps, char* texte) ;
9 double toc(struct timeval start, char* texte) ;
11 void min_max_int1d(int *val_min, int *val_max, int *vect, int dim) ;
12 void min_max_ushort1d(int *val_min, int *val_max, unsigned short *vect, int dim) ;
14 #define min(a,b) ((a)<(b)) ? (a) : (b)
15 #define max(a,b) ((a)>(b)) ? (a) : (b)
17 uint32 calcul_px_autour_noeud(uint32 ni, uint32 nj, int pas,
18 uint32 idim_m1, uint32 jdim_m1,
19 uint32 *liste_pixel_move);
21 inline int test_inf(double arg1, double arg2);
23 inline int sign_diff_ou_egal_zero(int val1, int val2);
24 inline int sign_diff_strict(int val1, int val2);
26 inline int sinus_triangle(int Ai, int Aj, int Bi, int Bj, int Ci, int Cj);
28 void recopie_vecteur(int *in, int *out, int dim) ;