Home | History | Annotate | Download | only in Compress
      1 // BcjCoder.cpp
      2 
      3 #include "StdAfx.h"
      4 
      5 #include "BcjCoder.h"
      6 
      7 UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
      8 {
      9   return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
     10 }
     11 
     12 UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
     13 {
     14   return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
     15 }
     16