aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnki_jbig_dec.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2023-01-01 10:09:08 +0000
committeryzrh <yzrh@noema.org>2023-01-01 10:09:08 +0000
commita18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f (patch)
tree18a51d727418428953331ed980e85f5e10030a01 /src/cnki_jbig_dec.h
parent70e1e7ea97e6bb7ac9714f75fcc860fd97f34a45 (diff)
downloadmelon-a18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f.tar.gz
melon-a18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f.tar.zst
Rename JBIG decoder.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/cnki_jbig_dec.h')
-rw-r--r--src/cnki_jbig_dec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cnki_jbig_dec.h b/src/cnki_jbig_dec.h
new file mode 100644
index 0000000..1919f3e
--- /dev/null
+++ b/src/cnki_jbig_dec.h
@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2022, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int strdec_jbig(char **bitmap, int width, int height,
+ const char * restrict jbig, int jbig_size);