summaryrefslogtreecommitdiff
path: root/jpwl/decoder/libopenjpeg/jpw.h
diff options
context:
space:
mode:
authorno_author <no_author@no_author>2005-11-08 17:40:41 +0000
committerno_author <no_author@no_author>2005-11-08 17:40:41 +0000
commit34a4901b8deedafa18fa433d2b5fe311343457d8 (patch)
tree15ba1dd08c124c872d681751d7b09da2f823f63c /jpwl/decoder/libopenjpeg/jpw.h
parenta68ccae30ff7c155c253e7362aa89ca087525fb8 (diff)
This commit was manufactured by cvs2svn to create branch 'avendor'.
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