misc/libphysfs/lzma/CPP/7zip/Compress/Branch/ARMThumb.cpp
changeset 12218 bb5522e88ab2
equal deleted inserted replaced
12217:ea891871f481 12218:bb5522e88ab2
       
     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 }