From afe43d40896b82083c6273a97ac9919d9e061eda Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Fri, 19 Jul 2013 11:20:49 -0700 Subject: Removing redundant VP9_COMMON* from function signatures. Functions: vp9_get_pred_context_switchable_interp, vp9_get_pred_context_intra_inter, vp9_get_pred_context_single_ref_p1, vp9_get_pred_context_single_ref_p2. Change-Id: I3d6fb8aee23c9062270768e1e6da416dd9bb8f96 --- vp9/encoder/vp9_encodeframe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vp9/encoder/vp9_encodeframe.c') diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 70c64eeda..f2cb478be 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -422,7 +422,7 @@ static void update_state(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx, if (cpi->common.mcomp_filter_type == SWITCHABLE && is_inter_mode(mbmi->mode)) { ++cpi->common.fc.switchable_interp_count[ - vp9_get_pred_context_switchable_interp(&cpi->common, xd)] + vp9_get_pred_context_switchable_interp(xd)] [vp9_switchable_interp_map[mbmi->interp_filter]]; } @@ -581,7 +581,7 @@ static void update_stats(VP9_COMP *cpi, int mi_row, int mi_col) { SEG_LVL_REF_FRAME); if (!seg_ref_active) - cpi->intra_inter_count[vp9_get_pred_context_intra_inter(cm, xd)][mbmi + cpi->intra_inter_count[vp9_get_pred_context_intra_inter(xd)][mbmi ->ref_frame[0] > INTRA_FRAME]++; // If the segment reference feature is enabled we have only a single @@ -596,10 +596,10 @@ static void update_stats(VP9_COMP *cpi, int mi_row, int mi_col) { cpi->comp_ref_count[vp9_get_pred_context_comp_ref_p(cm, xd)][mbmi ->ref_frame[0] == GOLDEN_FRAME]++; } else { - cpi->single_ref_count[vp9_get_pred_context_single_ref_p1(cm, xd)] + cpi->single_ref_count[vp9_get_pred_context_single_ref_p1(xd)] [0][mbmi->ref_frame[0] != LAST_FRAME]++; if (mbmi->ref_frame[0] != LAST_FRAME) - cpi->single_ref_count[vp9_get_pred_context_single_ref_p2(cm, xd)][1] + cpi->single_ref_count[vp9_get_pred_context_single_ref_p2(xd)][1] [mbmi->ref_frame[0] != GOLDEN_FRAME]++; } } -- cgit v1.2.3