dbf-udg
diff src/dither_matrix.h @ 3:403ec1be3a1a
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 11 Jan 2013 22:52:56 +0200 |
parents | 2d27bfd21fc5 |
children | 1abbed71e9c9 |
line diff
1.1 --- a/src/dither_matrix.h Wed Jan 09 02:37:05 2013 +0200 1.2 +++ b/src/dither_matrix.h Fri Jan 11 22:52:56 2013 +0200 1.3 @@ -23,4 +23,15 @@ 1.4 {42, 26, 38, 22, 41, 25, 37, 21} 1.5 }; 1.6 1.7 +static const float halftone_matrix8[8][8] = { 1.8 + {24, 10, 12, 26, 35, 47, 49, 37}, 1.9 + {8, 0, 2, 14, 45, 59, 61, 51}, 1.10 + {22, 6, 4, 16, 43, 57, 63, 53}, 1.11 + {30, 20, 18, 28, 33, 41, 55, 39}, 1.12 + {34, 46, 48, 36, 25, 11, 13, 27}, 1.13 + {44, 58, 60, 50, 9, 1, 3, 15}, 1.14 + {42, 56, 62, 52, 23, 7, 5, 17}, 1.15 + {32, 40, 54, 38, 31, 21, 19, 29} 1.16 +}; 1.17 + 1.18 #endif /* DITHER_MATRIX_H_ */