]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/BrotliCompress/enc/encode_parallel.h
BaseTools: resolve initialization order errors in VfrFormPkg.h
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / enc / encode_parallel.h
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 #include "../common/types.h"
15 #include "./compressor.h"
16
17 namespace brotli {
18
19 int BrotliCompressBufferParallel(BrotliParams params,
20 size_t input_size,
21 const uint8_t* input_buffer,
22 size_t* encoded_size,
23 uint8_t* encoded_buffer);
24
25 } /* namespace brotli */
26
27 #endif /* BROTLI_ENC_ENCODE_PARALLEL_H_ */