summaryrefslogtreecommitdiff
path: root/jpwl/decoder/libopenjpeg/jpw.h
diff options
context:
space:
mode:
authorGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2005-11-08 17:40:33 +0000
committerGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2005-11-08 17:40:33 +0000
commitcff5df73d9d7e87f1f960ef73f98d50f75a64ef7 (patch)
tree5f0c84dec6079e44607fbdd56ae90746431ab0fd /jpwl/decoder/libopenjpeg/jpw.h
parente3981542128142fabd46cd7bb05c0f61a59c7396 (diff)
Initial revision
Diffstat (limited to 'jpwl/decoder/libopenjpeg/jpw.h')
-rw-r--r--jpwl/decoder/libopenjpeg/jpw.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/jpwl/decoder/libopenjpeg/jpw.h b/jpwl/decoder/libopenjpeg/jpw.h
new file mode 100644
index 00000000..f8114d07
--- /dev/null
+++ b/jpwl/decoder/libopenjpeg/jpw.h
@@ -0,0 +1,46 @@
+#ifndef __JPW_H
+#define __JPW_H
+
+int decode_JPWL(unsigned char *src, int len);
+
+int read_EPC();
+
+int read_EPB_2(int *j2k_state);
+
+int read_EPB(int next,int *j2k_state);
+//void read_EPB(int *j2k_state);
+
+int read_EPB_PM(int *j2k_state);
+
+void insert_RED(int pos, int lred, int redlenok);
+
+void write_buff(unsigned char *buff,int pos,long cl);
+
+void read_buff(unsigned char *buff,int pos,long cl);
+
+void ResetCRC();
+
+void UpdateCRC16(char x);
+
+void UpdateCRC32(char x);
+
+char reflectByte(char inbyte);
+
+void reflectCRC32();
+
+void generate_gf(int nn, int kk);
+
+void gen_poly(int nn, int kk);
+
+void encode_rs(int nn, int kk, int tt);
+
+void decode_rs(int nn, int kk, int tt);
+
+
+
+
+
+
+
+
+#endif