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: 79d496572e68bc19025dd54227c3361c78402f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// x86.cpp

#include "StdAfx.h"
#include "x86.h"

UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
}

UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
}