summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/scripts/squashfs/lzma/C/7zip/Compress/Branch/PPC.cpp
blob: c191f5199ab7e4f65922b5f7df2c2d7b441c84a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PPC.cpp

#include "StdAfx.h"
#include "PPC.h"

#include "Windows/Defs.h"
#include "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);
}