Mercurial > vba-linux
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 // BcjCoder.cpp | |
2 | |
3 #include "StdAfx.h" | |
4 | |
5 #include "BcjCoder.h" | |
6 | |
7 UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size) | |
8 { | |
9 return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1); | |
10 } | |
11 | |
12 UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size) | |
13 { | |
14 return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0); | |
15 } |