aboutsummaryrefslogtreecommitdiff
path: root/sp/src/utils/lzma/C/7zip/Compress/Branch/x86.cpp
blob: 013e42b6ab4b836c8e4e6f311f9cd76adc75d79a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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);
}