command.c 1021 B

12345678910111213141516171819202122232425262728
  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. #include "./command.h"
  6. #include <brotli/types.h>
  7. #if defined(__cplusplus) || defined(c_plusplus)
  8. extern "C" {
  9. #endif
  10. const uint32_t kBrotliInsBase[BROTLI_NUM_INS_COPY_CODES] = {
  11. 0, 1, 2, 3, 4, 5, 6, 8, 10, 14, 18, 26,
  12. 34, 50, 66, 98, 130, 194, 322, 578, 1090, 2114, 6210, 22594};
  13. const uint32_t kBrotliInsExtra[BROTLI_NUM_INS_COPY_CODES] = {
  14. 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 8, 9, 10, 12, 14, 24};
  15. const uint32_t kBrotliCopyBase[BROTLI_NUM_INS_COPY_CODES] = {
  16. 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 18,
  17. 22, 30, 38, 54, 70, 102, 134, 198, 326, 582, 1094, 2118};
  18. const uint32_t kBrotliCopyExtra[BROTLI_NUM_INS_COPY_CODES] = {
  19. 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 8, 9, 10, 24};
  20. #if defined(__cplusplus) || defined(c_plusplus)
  21. } /* extern "C" */
  22. #endif