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