Remove dead member: wedge_interintra_prob Change-Id: I42ffbcfed9ef308a2e547d04ccc76670eb405e44
diff --git a/av1/common/entropymode.c b/av1/common/entropymode.c index 7def07e..8263d77 100644 --- a/av1/common/entropymode.c +++ b/av1/common/entropymode.c
@@ -772,18 +772,6 @@ { AOM_CDF4(4864, 8461, 17481) }, { AOM_CDF4(6528, 8681, 19031) } }; -static const aom_prob default_wedge_interintra_prob[BLOCK_SIZES_ALL] = { - 128, 128, 128, 128, 128, 128, 194, 213, - 217, 222, 224, 226, 220, 128, 128, 128, -#if CONFIG_EXT_PARTITION - 255, 255, 255, -#endif // CONFIG_EXT_PARTITION - 208, 208, 208, 208, 255, 255, -#if CONFIG_EXT_PARTITION - 255, 255 -#endif // CONFIG_EXT_PARTITION -}; - static const aom_cdf_prob default_wedge_interintra_cdf[BLOCK_SIZES_ALL][CDF_SIZE(2)] = { { AOM_CDF2(128 * 128) }, { AOM_CDF2(128 * 128) }, { AOM_CDF2(128 * 128) }, @@ -2980,7 +2968,6 @@ av1_copy(fc->obmc_cdf, default_obmc_cdf); av1_copy(fc->inter_compound_mode_cdf, default_inter_compound_mode_cdf); av1_copy(fc->compound_type_cdf, default_compound_type_cdf); - av1_copy(fc->wedge_interintra_prob, default_wedge_interintra_prob); av1_copy(fc->interintra_cdf, default_interintra_cdf); av1_copy(fc->wedge_interintra_cdf, default_wedge_interintra_cdf); av1_copy(fc->interintra_mode_cdf, default_interintra_mode_cdf); @@ -3073,14 +3060,6 @@ aom_tree_merge_probs(av1_motion_mode_tree, pre_fc->motion_mode_prob[i], counts->motion_mode[i], fc->motion_mode_prob[i]); - if (cm->allow_interintra_compound) { - for (i = 0; i < BLOCK_SIZES_ALL; ++i) { - if (is_interintra_allowed_bsize(i) && is_interintra_wedge_used(i)) - fc->wedge_interintra_prob[i] = av1_mode_mv_merge_probs( - pre_fc->wedge_interintra_prob[i], counts->wedge_interintra[i]); - } - } - #if CONFIG_JNT_COMP for (i = 0; i < COMP_INDEX_CONTEXTS; ++i) fc->compound_index_probs[i] = av1_mode_mv_merge_probs(
diff --git a/av1/common/entropymode.h b/av1/common/entropymode.h index dd663fc..2de1938 100644 --- a/av1/common/entropymode.h +++ b/av1/common/entropymode.h
@@ -192,7 +192,6 @@ aom_cdf_prob inter_compound_mode_cdf[INTER_MODE_CONTEXTS] [CDF_SIZE(INTER_COMPOUND_MODES)]; aom_cdf_prob compound_type_cdf[BLOCK_SIZES_ALL][CDF_SIZE(COMPOUND_TYPES)]; - aom_prob wedge_interintra_prob[BLOCK_SIZES_ALL]; aom_cdf_prob interintra_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(2)]; aom_cdf_prob wedge_interintra_cdf[BLOCK_SIZES_ALL][CDF_SIZE(2)]; aom_cdf_prob interintra_mode_cdf[BLOCK_SIZE_GROUPS]
diff --git a/tools/aom_entropy_optimizer.c b/tools/aom_entropy_optimizer.c index b99eb79..b8f486c 100644 --- a/tools/aom_entropy_optimizer.c +++ b/tools/aom_entropy_optimizer.c
@@ -446,9 +446,6 @@ cts_each_dim[0] = BLOCK_SIZES_ALL; cts_each_dim[1] = 2; - optimize_entropy_table( - &fc.wedge_interintra[0][0], probsfile, 2, cts_each_dim, NULL, 1, - "static const aom_prob default_wedge_interintra_prob[BLOCK_SIZES_ALL]"); optimize_cdf_table( &fc.wedge_interintra[0][0], probsfile, 2, cts_each_dim, "static const aom_cdf_prob\n"