summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-30 10:59:39 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-01 00:04:14 +0200
commit5ff1d6955496b3cf9a35042c9ac35db43bc336b1 (patch)
tree6d470f7eb448f59f53e8df1010aec9dad8ce1f72 /base/gxdht.h
parentImport Ghostscript 9.53.1 (diff)
downloadghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.gz
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.bz2
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.zip
Import Ghostscript 9.54ghostscript-9.54
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gxdht.h')
-rw-r--r--base/gxdht.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/base/gxdht.h b/base/gxdht.h
index 8bb51c2c..d365606e 100644
--- a/base/gxdht.h
+++ b/base/gxdht.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2020 Artifex Software, Inc.
+/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -188,11 +188,14 @@ typedef struct gx_ht_order_procs_s {
} gx_ht_order_procs_t;
/*
* Define the procedure vectors for the supported implementations
- * (in gxhtbit.c).
+ * (in gxhtbit.c). This defines the type of data that the turn-on-sequence (TOS)
+ * elements are pointing too. For the ushort and uint case, they are offsets
+ * into the address of the bitmap tiles.
*/
-extern const gx_ht_order_procs_t ht_order_procs_table[2];
+extern const gx_ht_order_procs_t ht_order_procs_table[3];
#define ht_order_procs_default ht_order_procs_table[0] /* bit_data is gx_ht_bit[] */
#define ht_order_procs_short ht_order_procs_table[1] /* bit_data is ushort[] */
+#define ht_order_procs_uint ht_order_procs_table[2] /* bit_data is uint[] */
/* For screen/spot halftones, we must record additional parameters. */
typedef struct gx_ht_order_screen_params_s {
gs_matrix matrix; /* CTM when the function was sampled */