Welcome to mirror list, hosted at ThFree Co, Russian Federation.

x86.cpp « Branch « Compress « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 60640d2923f38b4dcf01abe815a185ba35b9d514 (plain)
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 "../../../../C/Compress/Branch/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);
}