mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
347 B
C++
16 lines
347 B
C++
|
// BcjCoder.cpp
|
||
|
|
||
|
#include "StdAfx.h"
|
||
|
|
||
|
#include "BcjCoder.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);
|
||
|
}
|