Upload 2.0.2
[physicsfs] / lzma / CPP / 7zip / Compress / Branch / IA64.cpp
diff --git a/lzma/CPP/7zip/Compress/Branch/IA64.cpp b/lzma/CPP/7zip/Compress/Branch/IA64.cpp
new file mode 100644 (file)
index 0000000..ae4766a
--- /dev/null
@@ -0,0 +1,19 @@
+// IA64.cpp
+
+#include "StdAfx.h"
+#include "IA64.h"
+
+extern "C" 
+{ 
+#include "../../../../C/Compress/Branch/BranchIA64.h"
+}
+
+UInt32 CBC_IA64_Encoder::SubFilter(Byte *data, UInt32 size)
+{
+  return ::IA64_Convert(data, size, _bufferPos, 1);
+}
+
+UInt32 CBC_IA64_Decoder::SubFilter(Byte *data, UInt32 size)
+{
+  return ::IA64_Convert(data, size, _bufferPos, 0);
+}