1 #ifndef INDICE_TOOLS_CPU_H_
2 #define INDICE_TOOLS_CPU_H_
4 /*----------------------------------------------------------------------*\
6 \*---------------------------------------------------------------------*/
8 /*--------------------------------------*\
10 \*-------------------------------------*/
17 /*--------------------------------------*\
19 \*--------------------------------------*/
23 /*--------------------------------------*\
25 \*--------------------------------------*/
30 * s[0,W*H[ --> i[0,H[ j[0,W[
32 static void toIJ(int s
, int W
, int* ptri
, int* ptrj
);
35 * i[0,H[ j[0,W[ --> s[0,W*H[
37 static int toS(int W
, int i
, int j
);
39 /*-------------------------------------*\
41 \*-------------------------------------*/
50 /*----------------------------------------------------------------------*\
52 \*---------------------------------------------------------------------*/