[gs-commits] rev 12220 - trunk/gs/base
mvrhel at ghostscript.com
mvrhel at ghostscript.com
Tue Mar 1 17:18:30 UTC 2011
Author: mvrhel
Date: 2011-03-01 17:18:30 +0000 (Tue, 01 Mar 2011)
New Revision: 12220
Modified:
trunk/gs/base/gximono.c
Log:
Fix for error introduced in non-SSE2 code when I removed the inclusion of the transfer function into the threshold values.
Modified: trunk/gs/base/gximono.c
===================================================================
--- trunk/gs/base/gximono.c 2011-03-01 16:43:56 UTC (rev 12219)
+++ trunk/gs/base/gximono.c 2011-03-01 17:18:30 UTC (rev 12220)
@@ -994,19 +994,11 @@
if ( (k % 8) == 0) {
ht_index++;
}
- if (threshold_inverts) {
- if (contone_ptr[k] > thresh_ptr[k]) {
- halftone_ptr[ht_index] |= bit_init;
- } else {
- halftone_ptr[ht_index] &= ~bit_init;
- }
- } else {
if (contone_ptr[k] < thresh_ptr[k]) {
halftone_ptr[ht_index] |= bit_init;
} else {
halftone_ptr[ht_index] &= ~bit_init;
}
- }
if (bit_init == 1) {
bit_init = 0x80;
} else {
More information about the gs-commits
mailing list