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

Side by Side Diff: xz/src/liblzma/lzma/lzma_encoder.h

Issue 2869016: Add an unpatched version of xz, XZ Utils, to /trunk/deps/third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « xz/src/liblzma/lzma/lzma_decoder.c ('k') | xz/src/liblzma/lzma/lzma_encoder.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file lzma_encoder.h
4 /// \brief LZMA encoder API
5 ///
6 // Authors: Igor Pavlov
7 // Lasse Collin
8 //
9 // This file has been put into the public domain.
10 // You can do whatever you want with this file.
11 //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #ifndef LZMA_LZMA_ENCODER_H
15 #define LZMA_LZMA_ENCODER_H
16
17 #include "common.h"
18
19
20 extern lzma_ret lzma_lzma_encoder_init(lzma_next_coder *next,
21 lzma_allocator *allocator, const lzma_filter_info *filters);
22
23
24 extern uint64_t lzma_lzma_encoder_memusage(const void *options);
25
26 extern lzma_ret lzma_lzma_props_encode(const void *options, uint8_t *out);
27
28
29 /// Encodes lc/lp/pb into one byte. Returns false on success and true on error.
30 extern bool lzma_lzma_lclppb_encode(
31 const lzma_options_lzma *options, uint8_t *byte);
32
33
34 #ifdef LZMA_LZ_ENCODER_H
35
36 /// Initializes raw LZMA encoder; this is used by LZMA2.
37 extern lzma_ret lzma_lzma_encoder_create(
38 lzma_coder **coder_ptr, lzma_allocator *allocator,
39 const lzma_options_lzma *options, lzma_lz_options *lz_options);
40
41
42 /// Resets an already initialized LZMA encoder; this is used by LZMA2.
43 extern lzma_ret lzma_lzma_encoder_reset(
44 lzma_coder *coder, const lzma_options_lzma *options);
45
46
47 extern lzma_ret lzma_lzma_encode(lzma_coder *restrict coder,
48 lzma_mf *restrict mf, uint8_t *restrict out,
49 size_t *restrict out_pos, size_t out_size,
50 uint32_t read_limit);
51
52 #endif
53
54 #endif
OLDNEW
« no previous file with comments | « xz/src/liblzma/lzma/lzma_decoder.c ('k') | xz/src/liblzma/lzma/lzma_encoder.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698