Commit 3f1f1ddc authored by Frederic Barbier's avatar Frederic Barbier Committed by Fred BARBIER

Reduce scope of some FP_MB_STATS specific tables

Move these tables out of common_data.h.
As the only caller is under CONFIG_FP_MB_STATS flag, make it available
only for this experiment.

Change-Id: Ia41f4107e9088c839256879fa55250eacdf317b3
parent be42dc72
......@@ -293,56 +293,6 @@ static const uint8_t num_8x8_blocks_high_lookup[BLOCK_SIZES_ALL] = {
2,
IF_EXT_PARTITION(16, 4)
};
static const uint8_t num_16x16_blocks_wide_lookup[BLOCK_SIZES_ALL] = {
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
2,
2,
4,
4,
IF_EXT_PARTITION(4, 8, 8) 1,
1,
1,
2,
2,
4,
IF_EXT_PARTITION(2, 8)
};
static const uint8_t num_16x16_blocks_high_lookup[BLOCK_SIZES_ALL] = {
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
1,
2,
4,
2,
4,
IF_EXT_PARTITION(8, 4, 8) 1,
1,
2,
1,
4,
2,
IF_EXT_PARTITION(8, 2)
};
// AOMMIN(3, AOMMIN(b_width_log2(bsize), b_height_log2(bsize)))
static const uint8_t size_group_lookup[BLOCK_SIZES_ALL] = {
......
......@@ -146,6 +146,59 @@ static const uint16_t AV1_HIGH_VAR_OFFS_12[MAX_SB_SIZE] = {
};
#endif // CONFIG_HIGHBITDEPTH
#if CONFIG_FP_MB_STATS
static const uint8_t num_16x16_blocks_wide_lookup[BLOCK_SIZES_ALL] = {
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
2,
2,
4,
4,
IF_EXT_PARTITION(4, 8, 8) 1,
1,
1,
2,
2,
4,
IF_EXT_PARTITION(2, 8)
};
static const uint8_t num_16x16_blocks_high_lookup[BLOCK_SIZES_ALL] = {
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
1,
2,
4,
2,
4,
IF_EXT_PARTITION(8, 4, 8) 1,
1,
2,
1,
4,
2,
IF_EXT_PARTITION(8, 2)
};
#endif // CONFIG_FP_MB_STATS
unsigned int av1_get_sby_perpixel_variance(const AV1_COMP *cpi,
const struct buf_2d *ref,
BLOCK_SIZE bs) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment