2013-07-10 16:19:09 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VP9_COMMON_VP9_COMMON_DATA_H_
|
|
|
|
#define VP9_COMMON_VP9_COMMON_DATA_H_
|
|
|
|
|
|
|
|
#include "vp9/common/vp9_enums.h"
|
2015-04-21 00:56:10 +02:00
|
|
|
#include "vpx/vpx_integer.h"
|
2013-07-10 16:19:09 +02:00
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-04-21 00:56:10 +02:00
|
|
|
extern const uint8_t b_width_log2_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t b_height_log2_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t mi_width_log2_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t num_8x8_blocks_wide_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t num_8x8_blocks_high_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t num_4x4_blocks_high_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t num_4x4_blocks_wide_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t size_group_lookup[BLOCK_SIZES];
|
|
|
|
extern const uint8_t num_pels_log2_lookup[BLOCK_SIZES];
|
2013-08-10 02:47:32 +02:00
|
|
|
extern const PARTITION_TYPE partition_lookup[][BLOCK_SIZES];
|
2013-08-26 20:33:16 +02:00
|
|
|
extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES];
|
2013-08-10 02:47:32 +02:00
|
|
|
extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES];
|
2014-07-10 19:55:44 +02:00
|
|
|
extern const BLOCK_SIZE txsize_to_bsize[TX_SIZES];
|
2013-10-17 20:09:14 +02:00
|
|
|
extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES];
|
2013-08-26 20:33:16 +02:00
|
|
|
extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];
|
2016-08-30 21:52:29 +02:00
|
|
|
extern const TX_SIZE uv_txsize_lookup[BLOCK_SIZES][TX_SIZES][2][2];
|
2016-06-15 20:39:41 +02:00
|
|
|
#if CONFIG_BETTER_HW_COMPATIBILITY && CONFIG_VP9_HIGHBITDEPTH
|
|
|
|
extern const uint8_t need_top_left[INTRA_MODES];
|
|
|
|
#endif // CONFIG_BETTER_HW_COMPATIBILITY && CONFIG_VP9_HIGHBITDEPTH
|
2013-07-10 16:19:09 +02:00
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2013-12-16 03:00:43 +01:00
|
|
|
#endif // VP9_COMMON_VP9_COMMON_DATA_H_
|