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

Side by Side Diff: third_party/lzma_sdk/LzmaLib.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/LzmaEnc.c ('k') | third_party/lzma_sdk/LzmaLib.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 /* LzmaLib.h -- LZMA library interface 1 /* LzmaLib.h -- LZMA library interface
2 2009-04-07 : Igor Pavlov : Public domain */ 2 2013-01-18 : Igor Pavlov : Public domain */
3 3
4 #ifndef __LZMA_LIB_H 4 #ifndef __LZMA_LIB_H
5 #define __LZMA_LIB_H 5 #define __LZMA_LIB_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 MY_STDAPI int MY_STD_CALL 11 #define MY_STDAPI int MY_STD_CALL
14 12
15 #define LZMA_PROPS_SIZE 5 13 #define LZMA_PROPS_SIZE 5
16 14
17 /* 15 /*
18 RAM requirements for LZMA: 16 RAM requirements for LZMA:
19 for compression: (dictSize * 11.5 + 6 MB) + state_size 17 for compression: (dictSize * 11.5 + 6 MB) + state_size
20 for decompression: dictSize + state_size 18 for decompression: dictSize + state_size
21 state_size = (4 + (1.5 << (lc + lp))) KB 19 state_size = (4 + (1.5 << (lc + lp))) KB
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 SZ_OK - OK 119 SZ_OK - OK
122 SZ_ERROR_DATA - Data error 120 SZ_ERROR_DATA - Data error
123 SZ_ERROR_MEM - Memory allocation arror 121 SZ_ERROR_MEM - Memory allocation arror
124 SZ_ERROR_UNSUPPORTED - Unsupported properties 122 SZ_ERROR_UNSUPPORTED - Unsupported properties
125 SZ_ERROR_INPUT_EOF - it needs more bytes in input buffer (src) 123 SZ_ERROR_INPUT_EOF - it needs more bytes in input buffer (src)
126 */ 124 */
127 125
128 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned ch ar *src, SizeT *srcLen, 126 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned ch ar *src, SizeT *srcLen,
129 const unsigned char *props, size_t propsSize); 127 const unsigned char *props, size_t propsSize);
130 128
131 #ifdef __cplusplus 129 EXTERN_C_END
132 }
133 #endif
134 130
135 #endif 131 #endif
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/LzmaEnc.c ('k') | third_party/lzma_sdk/LzmaLib.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698