summaryrefslogtreecommitdiff
path: root/jchuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'jchuff.h')
-rw-r--r--jchuff.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/jchuff.h b/jchuff.h
index a9599fc..fc679e8 100644
--- a/jchuff.h
+++ b/jchuff.h
@@ -37,6 +37,11 @@ typedef struct {
#define jpeg_gen_optimal_table jGenOptTbl
#endif /* NEED_SHORT_EXTERNAL_NAMES */
+#ifdef NEED_12_BIT_NAMES
+#define jpeg_make_c_derived_tbl jpeg_make_c_derived_tbl_12
+#define jpeg_gen_optimal_table jpeg_gen_optimal_table_12
+#endif
+
/* Expand a Huffman table definition into the derived format */
EXTERN(void) jpeg_make_c_derived_tbl
JPP((j_compress_ptr cinfo, boolean isDC, int tblno,