Upload 2.0.2
[physicsfs] / lzma / CPP / 7zip / Compress / Branch / x86.cpp
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 }