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