misc/libphysfs/lzma/CPP/7zip/Compress/Branch/PPC.cpp
branchui-scaling
changeset 15283 c4fd2813b127
parent 13390 0135e64c6c66
parent 15279 7ab5cf405686
child 15663 d92eeb468dad
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
     1 // PPC.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 #include "PPC.h"
       
     5 
       
     6 extern "C" 
       
     7 { 
       
     8 #include "../../../../C/Compress/Branch/BranchPPC.h"
       
     9 }
       
    10 
       
    11 UInt32 CBC_PPC_B_Encoder::SubFilter(Byte *data, UInt32 size)
       
    12 {
       
    13   return ::PPC_B_Convert(data, size, _bufferPos, 1);
       
    14 }
       
    15 
       
    16 UInt32 CBC_PPC_B_Decoder::SubFilter(Byte *data, UInt32 size)
       
    17 {
       
    18   return ::PPC_B_Convert(data, size, _bufferPos, 0);
       
    19 }