diff options
Diffstat (limited to 'CPP/7zip/Compress/Branch/PPC.cpp')
-rwxr-xr-x | CPP/7zip/Compress/Branch/PPC.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CPP/7zip/Compress/Branch/PPC.cpp b/CPP/7zip/Compress/Branch/PPC.cpp new file mode 100755 index 00000000..08c436e1 --- /dev/null +++ b/CPP/7zip/Compress/Branch/PPC.cpp @@ -0,0 +1,17 @@ +// PPC.cpp + +#include "StdAfx.h" +#include "PPC.h" + +#include "Windows/Defs.h" +#include "../../../../C/Compress/Branch/BranchPPC.c" + +UInt32 CBC_PPC_B_Encoder::SubFilter(Byte *data, UInt32 size) +{ + return ::PPC_B_Convert(data, size, _bufferPos, 1); +} + +UInt32 CBC_PPC_B_Decoder::SubFilter(Byte *data, UInt32 size) +{ + return ::PPC_B_Convert(data, size, _bufferPos, 0); +} |