OLD | NEW |
| (Empty) |
1 /* Copyright 2013 Google Inc. All Rights Reserved. | |
2 | |
3 Distributed under MIT license. | |
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT | |
5 */ | |
6 | |
7 // API for parallel Brotli compression | |
8 // Note that this is only a proof of concept currently and not part of the | |
9 // final API yet. | |
10 | |
11 #ifndef BROTLI_ENC_ENCODE_PARALLEL_H_ | |
12 #define BROTLI_ENC_ENCODE_PARALLEL_H_ | |
13 | |
14 | |
15 #include "./encode.h" | |
16 #include "./types.h" | |
17 | |
18 namespace brotli { | |
19 | |
20 int BrotliCompressBufferParallel(BrotliParams params, | |
21 size_t input_size, | |
22 const uint8_t* input_buffer, | |
23 size_t* encoded_size, | |
24 uint8_t* encoded_buffer); | |
25 | |
26 } // namespace brotli | |
27 | |
28 #endif // BROTLI_ENC_ENCODE_PARALLEL_H_ | |
OLD | NEW |