michael@0: /* michael@0: * Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: #ifndef VP9_COMMON_VP9_COMMON_DATA_H_ michael@0: #define VP9_COMMON_VP9_COMMON_DATA_H_ michael@0: michael@0: #include "vp9/common/vp9_enums.h" michael@0: michael@0: extern const int b_width_log2_lookup[BLOCK_SIZES]; michael@0: extern const int b_height_log2_lookup[BLOCK_SIZES]; michael@0: extern const int mi_width_log2_lookup[BLOCK_SIZES]; michael@0: extern const int mi_height_log2_lookup[BLOCK_SIZES]; michael@0: extern const int num_8x8_blocks_wide_lookup[BLOCK_SIZES]; michael@0: extern const int num_8x8_blocks_high_lookup[BLOCK_SIZES]; michael@0: extern const int num_4x4_blocks_high_lookup[BLOCK_SIZES]; michael@0: extern const int num_4x4_blocks_wide_lookup[BLOCK_SIZES]; michael@0: extern const int size_group_lookup[BLOCK_SIZES]; michael@0: extern const int num_pels_log2_lookup[BLOCK_SIZES]; michael@0: extern const PARTITION_TYPE partition_lookup[][BLOCK_SIZES]; michael@0: extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES]; michael@0: extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES]; michael@0: extern const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZES]; michael@0: extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES]; michael@0: extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2]; michael@0: michael@0: #endif // VP9_COMMON_VP9_COMMON_DATA_H