5 const unsigned int CORRESPONDANCE_Di_Dj_FREEMAN[3][3] =
11 const int TABLE_CODAGE[8][8] =
12 {{ 0, 0, 0, 0, 0,-1,-1,-1}, /* 0 */
13 { 1, 1, 1, 1, 1, 0, 0, 0}, /* 1 */
14 { 1, 1, 1, 1, 1, 0, 0, 0}, /* 2 */
15 { 1, 1, 1, 1, 1, 0, 0, 0}, /* 3 */
16 { 0, 0, 0, 0, 0,-1,-1,-1}, /* 4 */
17 { 0, 0, 0, 0, 0,-1,-1,-1}, /* 5 */
18 { 0, 0, 0, 0, 0,-1,-1,-1}, /* 6 */
19 { 0, 0, 0, 0, 0,-1,-1,-1}}; /* 7 */
22 const int TABLE_CODAGE1[8][8] =
23 {{ 0, 1, 1, 1, 1, 0, 0, 0}, /* 0 */
24 { 0, 1, 1, 1, 1, 2, 0, 0}, /* 1 */
25 { 0, 1, 1, 1, 1, 2, 2, 0}, /* 2 */
26 { 0, 1, 1, 1, 1, 2, 2, 2}, /* 3 */
27 {-1, 0, 0, 0, 0,-1,-1,-1}, /* 4 */
28 {-1, 2, 0, 0, 0,-1,-1,-1}, /* 5 */
29 {-1, 2, 2, 0, 0,-1,-1,-1}, /* 6 */
30 {-1, 2, 2, 2, 0,-1,-1,-1}}; /* 7 */
35 #define MAX_NODES 1000
36 #define MAX_LISTE_PIX 10000000
37 #define MAX(x,y) ( ( (x)>=(y) )?(x):(y) )
38 #define ABS(x) ( ((x)>0)?(x):-(x))
41 #define CONFLICT_FREE_OFFSET(index) ( ((index) >>(DEC)) + ((index) >>(DEC2) ) )
42 #define CFO(index) ( ( (index) >>(DEC) ) + ( (index) >>(DEC2) ) )
43 #define CFI(index) ( (index) + (CFO(index)) )