source2006/utils/lzma/C/7zip/Compress/Branch/x86.cpp
2020-02-25 05:28:57 +02:00

18 lines
378 B
C++

// x86.cpp
#include "StdAfx.h"
#include "x86.h"
#include "Windows/Defs.h"
#include "BranchX86.c"
UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
{
return ::x86_Convert(data, size, _bufferPos, &_prevMask, &_prevPos, 1);
}
UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
{
return ::x86_Convert(data, size, _bufferPos, &_prevMask, &_prevPos, 0);
}