aboutsummaryrefslogtreecommitdiffstats
path: root/src/jp2.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-29 00:18:07 +0000
committeryzrh <yzrh@noema.org>2022-12-29 00:40:14 +0000
commit8083b30530a37d3529d453515465a00aac74a154 (patch)
tree0390c6550f642c96ad0f4b40aab949d1e120ffd0 /src/jp2.h
parentabce2fd2e4f8089779fb9b1dce94133716b0bb39 (diff)
downloadmelon-8083b30530a37d3529d453515465a00aac74a154.tar.gz
melon-8083b30530a37d3529d453515465a00aac74a154.tar.zst
Add JPEG 2000 support.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jp2.h')
-rw-r--r--src/jp2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jp2.h b/src/jp2.h
new file mode 100644
index 0000000..5644938
--- /dev/null
+++ b/src/jp2.h
@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2022, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int strinfo_jp2_dim(int *jp2_width, int *jp2_height,
+ const char * restrict data, int data_size);