aboutsummaryrefslogtreecommitdiff
path: root/deps/lzma-16.04/C/XzEnc.h
diff options
context:
space:
mode:
authorTwinaphex2019-05-14 11:44:06 +0200
committerGitHub2019-05-14 11:44:06 +0200
commit80209d1715398a16b6ace1c2e4cd0aab5c00248d (patch)
treeb7f82140860acabb2d0e3a5216f78bf98691c267 /deps/lzma-16.04/C/XzEnc.h
parent5ffd1f23eb970679dfe8b540bc3df8e776dc9e17 (diff)
parentce188d4d7f3b9ad04867c49b424e8497c2ade92b (diff)
downloadpcsx_rearmed-80209d1715398a16b6ace1c2e4cd0aab5c00248d.tar.gz
pcsx_rearmed-80209d1715398a16b6ace1c2e4cd0aab5c00248d.tar.bz2
pcsx_rearmed-80209d1715398a16b6ace1c2e4cd0aab5c00248d.zip
Merge pull request #280 from aliaspider/master
add CHD support.
Diffstat (limited to 'deps/lzma-16.04/C/XzEnc.h')
-rw-r--r--deps/lzma-16.04/C/XzEnc.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/deps/lzma-16.04/C/XzEnc.h b/deps/lzma-16.04/C/XzEnc.h
new file mode 100644
index 0000000..e9cea34
--- /dev/null
+++ b/deps/lzma-16.04/C/XzEnc.h
@@ -0,0 +1,39 @@
+/* XzEnc.h -- Xz Encode
+2011-02-07 : Igor Pavlov : Public domain */
+
+#ifndef __XZ_ENC_H
+#define __XZ_ENC_H
+
+#include "Lzma2Enc.h"
+
+#include "Xz.h"
+
+EXTERN_C_BEGIN
+
+typedef struct
+{
+ UInt32 id;
+ UInt32 delta;
+ UInt32 ip;
+ int ipDefined;
+} CXzFilterProps;
+
+void XzFilterProps_Init(CXzFilterProps *p);
+
+typedef struct
+{
+ const CLzma2EncProps *lzma2Props;
+ const CXzFilterProps *filterProps;
+ unsigned checkId;
+} CXzProps;
+
+void XzProps_Init(CXzProps *p);
+
+SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
+ const CXzProps *props, ICompressProgress *progress);
+
+SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
+
+EXTERN_C_END
+
+#endif