mirror of
https://github.com/holub/mame
synced 2025-05-06 22:35:43 +03:00
16 lines
332 B
C++
16 lines
332 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);
|
|
}
|