#ifndef INDICE_TOOLS_CPU_H_\r
#define INDICE_TOOLS_CPU_H_\r
\r
+#include "cudaType_CPU.h"\r
+\r
/*----------------------------------------------------------------------*\\r
|* Declaration *|\r
\*---------------------------------------------------------------------*/\r
/**\r
* s[0,W*H[ --> i[0,H[ j[0,W[\r
*/\r
- static void toIJ(int s, int W, int* ptri, int* ptrj);\r
+ static void toIJ(int s, int w, int* ptri, int* ptrj);\r
+\r
+ /**\r
+ * s[0,W*H[ --> x[0,W[ y[0,H[\r
+ */\r
+ static float2 toPixelFloat(int s, int w);\r
\r
/**\r
* i[0,H[ j[0,W[ --> s[0,W*H[\r
*/\r
- static int toS(int W, int i, int j);\r
+ static int toS(int w, int i, int j);\r
\r
/*-------------------------------------*\\r
|* Attributs *|\r