diff options
Diffstat (limited to 'sp/src/utils/lzma/C/7zip/Compress/Branch/SPARC.cpp')
| -rw-r--r-- | sp/src/utils/lzma/C/7zip/Compress/Branch/SPARC.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sp/src/utils/lzma/C/7zip/Compress/Branch/SPARC.cpp b/sp/src/utils/lzma/C/7zip/Compress/Branch/SPARC.cpp new file mode 100644 index 00000000..d054eaaf --- /dev/null +++ b/sp/src/utils/lzma/C/7zip/Compress/Branch/SPARC.cpp @@ -0,0 +1,17 @@ +// SPARC.cpp + +#include "StdAfx.h" +#include "SPARC.h" + +#include "Windows/Defs.h" +#include "BranchSPARC.c" + +UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size) +{ + return ::SPARC_Convert(data, size, _bufferPos, 1); +} + +UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size) +{ + return ::SPARC_Convert(data, size, _bufferPos, 0); +} |