chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
antialiasing text conversion: canonimage has 0..AAMAXVAL
[ypp-sc-tools.db-live.git]
/
pctb
/
ocr.h
diff --git
a/pctb/ocr.h
b/pctb/ocr.h
index 9a2b2c7c830cb577aa04be935aff7cac7d2bbb66..5269723b50262494cb951189441cc77a25ed4351 100644
(file)
--- a/
pctb/ocr.h
+++ b/
pctb/ocr.h
@@
-32,6
+32,10
@@
#include "common.h"
+#define AADEPTH 3
+#define AAMAXVAL ((1<<AADEPTH)-1)
+
+
typedef uint32_t Pixcol;
#define PSPIXCOL(priscan) priscan##32