Mercurial > vba-linux
diff src/win32/7zip/7z/CPP/7zip/Compress/BcjCoder.cpp @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Compress/BcjCoder.cpp Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,15 @@ 1.4 +// BcjCoder.cpp 1.5 + 1.6 +#include "StdAfx.h" 1.7 + 1.8 +#include "BcjCoder.h" 1.9 + 1.10 +UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size) 1.11 +{ 1.12 + return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1); 1.13 +} 1.14 + 1.15 +UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size) 1.16 +{ 1.17 + return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0); 1.18 +}