misc/libphysfs/lzma/CPP/7zip/Compress/Branch/x86.cpp
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     1 // x86.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 #include "x86.h"
       
     5 
       
     6 UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
       
     7 {
       
     8   return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
       
     9 }
       
    10 
       
    11 UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
       
    12 {
       
    13   return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
       
    14 }