rlm@1: // BcjCoder.cpp rlm@1: rlm@1: #include "StdAfx.h" rlm@1: rlm@1: #include "BcjCoder.h" rlm@1: rlm@1: UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size) rlm@1: { rlm@1: return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1); rlm@1: } rlm@1: rlm@1: UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size) rlm@1: { rlm@1: return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0); rlm@1: }