Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: third_party/lzma_sdk/LzmaDec.h

Issue 1700453002: Update lzma_sdk sources to 15.14. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium modifications Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lzma_sdk/Lzma2Dec.c ('k') | third_party/lzma_sdk/LzmaDec.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* LzmaDec.h -- LZMA Decoder 1 /* LzmaDec.h -- LZMA Decoder
2 2009-02-07 : Igor Pavlov : Public domain */ 2 2013-01-18 : Igor Pavlov : Public domain */
3 3
4 #ifndef __LZMA_DEC_H 4 #ifndef __LZMA_DEC_H
5 #define __LZMA_DEC_H 5 #define __LZMA_DEC_H
6 6
7 #include "Types.h" 7 #include "7zTypes.h"
8 8
9 #ifdef __cplusplus 9 EXTERN_C_BEGIN
10 extern "C" {
11 #endif
12 10
13 /* #define _LZMA_PROB32 */ 11 /* #define _LZMA_PROB32 */
14 /* _LZMA_PROB32 can increase the speed on some CPUs, 12 /* _LZMA_PROB32 can increase the speed on some CPUs,
15 but memory usage for CLzmaDec::probs will be doubled in that case */ 13 but memory usage for CLzmaDec::probs will be doubled in that case */
16 14
17 #ifdef _LZMA_PROB32 15 #ifdef _LZMA_PROB32
18 #define CLzmaProb UInt32 16 #define CLzmaProb UInt32
19 #else 17 #else
20 #define CLzmaProb UInt16 18 #define CLzmaProb UInt16
21 #endif 19 #endif
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 SZ_ERROR_DATA - Data error 215 SZ_ERROR_DATA - Data error
218 SZ_ERROR_MEM - Memory allocation error 216 SZ_ERROR_MEM - Memory allocation error
219 SZ_ERROR_UNSUPPORTED - Unsupported properties 217 SZ_ERROR_UNSUPPORTED - Unsupported properties
220 SZ_ERROR_INPUT_EOF - It needs more bytes in input buffer (src). 218 SZ_ERROR_INPUT_EOF - It needs more bytes in input buffer (src).
221 */ 219 */
222 220
223 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, 221 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
224 const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, 222 const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode,
225 ELzmaStatus *status, ISzAlloc *alloc); 223 ELzmaStatus *status, ISzAlloc *alloc);
226 224
227 #ifdef __cplusplus 225 EXTERN_C_END
228 }
229 #endif
230 226
231 #endif 227 #endif
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/Lzma2Dec.c ('k') | third_party/lzma_sdk/LzmaDec.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698