1// BcjCoder.cpp
2
3#include "StdAfx.h"
4
5#include "BcjCoder.h"
6
7UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
8{
9  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
10}
11
12UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
13{
14  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
15}
16