encode_parallel.h 811 B

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