misc/libphysfs/lzma/C/Compress/Branch/BranchX86_2.h
changeset 13881 99b265e0d1d0
parent 13880 5f819b90d479
child 13882 b172a5d40eee
equal deleted inserted replaced
13880:5f819b90d479 13881:99b265e0d1d0
     1 // BranchX86_2.h
       
     2 
       
     3 #ifndef __BRANCHX86_2_H
       
     4 #define __BRANCHX86_2_H
       
     5 
       
     6 #include "BranchTypes.h"
       
     7 
       
     8 #define BCJ2_RESULT_OK 0
       
     9 #define BCJ2_RESULT_DATA_ERROR 1
       
    10 
       
    11 /*
       
    12 Conditions:
       
    13   outSize <= FullOutputSize, 
       
    14   where FullOutputSize is full size of output stream of x86_2 filter.
       
    15 
       
    16 If buf0 overlaps outBuf, there are two required conditions:
       
    17   1) (buf0 >= outBuf)
       
    18   2) (buf0 + size0 >= outBuf + FullOutputSize).
       
    19 */
       
    20 
       
    21 int x86_2_Decode(
       
    22     const Byte *buf0, SizeT size0, 
       
    23     const Byte *buf1, SizeT size1, 
       
    24     const Byte *buf2, SizeT size2, 
       
    25     const Byte *buf3, SizeT size3, 
       
    26     Byte *outBuf, SizeT outSize);
       
    27 
       
    28 #endif