other-licenses/7zstub/src/7zip/Compress/Branch/x86.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/7zstub/src/7zip/Compress/Branch/x86.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +// x86.cpp
     1.5 +
     1.6 +#include "StdAfx.h"
     1.7 +#include "x86.h"
     1.8 +
     1.9 +#include "Windows/Defs.h"
    1.10 +
    1.11 +#include "BranchX86.c"
    1.12 +
    1.13 +UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
    1.14 +{
    1.15 +  return ::x86_Convert(data, size, _bufferPos, &_prevMask, &_prevPos, 1);
    1.16 +}
    1.17 +
    1.18 +UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
    1.19 +{
    1.20 +  return ::x86_Convert(data, size, _bufferPos, &_prevMask, &_prevPos, 0);
    1.21 +}

mercurial