chromium/third_party/brotli/enc/entropy_encode_static.h

/* Copyright 2015 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

/* Static entropy codes used for faster meta-block encoding. */

#ifndef BROTLI_ENC_ENTROPY_ENCODE_STATIC_H_
#define BROTLI_ENC_ENTROPY_ENCODE_STATIC_H_

#include "../common/constants.h"
#include "../common/platform.h"
#include <brotli/types.h>
#include "write_bits.h"

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

static const uint8_t kCodeLengthDepth[18] =;

static const uint8_t kStaticCommandCodeDepth[BROTLI_NUM_COMMAND_SYMBOLS] =;

static const uint8_t kStaticDistanceCodeDepth[64] =;

/* GENERATED CODE START */
static const uint32_t kCodeLengthBits[18] =;

static BROTLI_INLINE void StoreStaticCodeLengthCode(
    size_t* storage_ix, uint8_t* storage) {}

static const uint64_t kZeroRepsBits[BROTLI_NUM_COMMAND_SYMBOLS] =;

static const uint32_t kZeroRepsDepth[BROTLI_NUM_COMMAND_SYMBOLS] =;

static const uint64_t kNonZeroRepsBits[BROTLI_NUM_COMMAND_SYMBOLS] =;

static const uint32_t kNonZeroRepsDepth[BROTLI_NUM_COMMAND_SYMBOLS] =;

static const uint16_t kStaticCommandCodeBits[BROTLI_NUM_COMMAND_SYMBOLS] =;

static BROTLI_INLINE void StoreStaticCommandHuffmanTree(
    size_t* storage_ix, uint8_t* storage) {}

static const uint16_t kStaticDistanceCodeBits[64] =;

static BROTLI_INLINE void StoreStaticDistanceHuffmanTree(
    size_t* storage_ix, uint8_t* storage) {}
/* GENERATED CODE END */

#if defined(__cplusplus) || defined(c_plusplus)
}  /* extern "C" */
#endif

#endif  /* BROTLI_ENC_ENTROPY_ENCODE_STATIC_H_ */