1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp9/common/vp9_common_data.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 +#ifndef VP9_COMMON_VP9_COMMON_DATA_H_ 1.15 +#define VP9_COMMON_VP9_COMMON_DATA_H_ 1.16 + 1.17 +#include "vp9/common/vp9_enums.h" 1.18 + 1.19 +extern const int b_width_log2_lookup[BLOCK_SIZES]; 1.20 +extern const int b_height_log2_lookup[BLOCK_SIZES]; 1.21 +extern const int mi_width_log2_lookup[BLOCK_SIZES]; 1.22 +extern const int mi_height_log2_lookup[BLOCK_SIZES]; 1.23 +extern const int num_8x8_blocks_wide_lookup[BLOCK_SIZES]; 1.24 +extern const int num_8x8_blocks_high_lookup[BLOCK_SIZES]; 1.25 +extern const int num_4x4_blocks_high_lookup[BLOCK_SIZES]; 1.26 +extern const int num_4x4_blocks_wide_lookup[BLOCK_SIZES]; 1.27 +extern const int size_group_lookup[BLOCK_SIZES]; 1.28 +extern const int num_pels_log2_lookup[BLOCK_SIZES]; 1.29 +extern const PARTITION_TYPE partition_lookup[][BLOCK_SIZES]; 1.30 +extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES]; 1.31 +extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES]; 1.32 +extern const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZES]; 1.33 +extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES]; 1.34 +extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2]; 1.35 + 1.36 +#endif // VP9_COMMON_VP9_COMMON_DATA_H