Lines Matching refs:ODITHER_SIZE
71 #define ODITHER_SIZE 16 /* dimension of dither matrix */
72 /* NB: if ODITHER_SIZE is not a power of 2, ODITHER_MASK uses will break */
73 #define ODITHER_CELLS (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
74 #define ODITHER_MASK (ODITHER_SIZE-1) /* mask for wrapping around counters */
76 typedef int ODITHER_MATRIX[ODITHER_SIZE][ODITHER_SIZE];
77 typedef int (*ODITHER_MATRIX_PTR)[ODITHER_SIZE];
79 static const UINT8 base_dither_matrix[ODITHER_SIZE][ODITHER_SIZE] = {
411 for (j = 0; j < ODITHER_SIZE; j++) {
412 for (k = 0; k < ODITHER_SIZE; k++) {