| OLD | NEW |
| (Empty) |
| 1 /* Bcj2.h -- Converter for x86 code (BCJ2) | |
| 2 2008-10-04 : Igor Pavlov : Public domain */ | |
| 3 | |
| 4 #ifndef __BCJ2_H | |
| 5 #define __BCJ2_H | |
| 6 | |
| 7 #include "Types.h" | |
| 8 | |
| 9 /* | |
| 10 Conditions: | |
| 11 outSize <= FullOutputSize, | |
| 12 where FullOutputSize is full size of output stream of x86_2 filter. | |
| 13 | |
| 14 If buf0 overlaps outBuf, there are two required conditions: | |
| 15 1) (buf0 >= outBuf) | |
| 16 2) (buf0 + size0 >= outBuf + FullOutputSize). | |
| 17 | |
| 18 Returns: | |
| 19 SZ_OK | |
| 20 SZ_ERROR_DATA - Data error | |
| 21 */ | |
| 22 | |
| 23 int Bcj2_Decode( | |
| 24 const Byte *buf0, SizeT size0, | |
| 25 const Byte *buf1, SizeT size1, | |
| 26 const Byte *buf2, SizeT size2, | |
| 27 const Byte *buf3, SizeT size3, | |
| 28 Byte *outBuf, SizeT outSize); | |
| 29 | |
| 30 #endif | |
| OLD | NEW |