]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/BrotliCompress/enc/encode_parallel.h
BaseTools: Copy Brotli algorithm 3rd party source code for tool
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / enc / encode_parallel.h
CommitLineData
11b7501a
SB
1/* Copyright 2013 Google Inc. All Rights Reserved.\r
2\r
3 Distributed under MIT license.\r
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\r
5*/\r
6\r
7/* API for parallel Brotli compression\r
8 Note that this is only a proof of concept currently and not part of the\r
9 final API yet. */\r
10\r
11#ifndef BROTLI_ENC_ENCODE_PARALLEL_H_\r
12#define BROTLI_ENC_ENCODE_PARALLEL_H_\r
13\r
14#include "../common/types.h"\r
15#include "./compressor.h"\r
16\r
17namespace brotli {\r
18\r
19int BrotliCompressBufferParallel(BrotliParams params,\r
20 size_t input_size,\r
21 const uint8_t* input_buffer,\r
22 size_t* encoded_size,\r
23 uint8_t* encoded_buffer);\r
24\r
25} /* namespace brotli */\r
26\r
27#endif /* BROTLI_ENC_ENCODE_PARALLEL_H_ */\r