aboutsummaryrefslogtreecommitdiffstats
path: root/src/jbig.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-22 19:47:40 +0000
committeryzrh <yzrh@noema.org>2022-12-24 23:29:56 +0000
commit9c1f1d0b75de0d2ed299842d3025941f3e681c16 (patch)
tree302f6d4a2235acfe8872a3c0c1c216fecc323b95 /src/jbig.h
parentac3b1dda63944f2cc8caaa52344774255e1956c8 (diff)
downloadmelon-9c1f1d0b75de0d2ed299842d3025941f3e681c16.tar.gz
melon-9c1f1d0b75de0d2ed299842d3025941f3e681c16.tar.zst
Fix HN conversion and add JBIG2 support.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jbig.h')
-rw-r--r--src/jbig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jbig.h b/src/jbig.h
index 170eda1..1919f3e 100644
--- a/src/jbig.h
+++ b/src/jbig.h
@@ -1,8 +1,8 @@
/*
- * Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+ * Copyright (c) 2022, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
-int strdec_jbig(char **bitmap, int *bitmap_size,
- const char * restrict data, int data_size);
+int strdec_jbig(char **bitmap, int width, int height,
+ const char * restrict jbig, int jbig_size);