Lines Matching full:rate2
2691 int *rate2, int64_t *distortion,
2747 *rate2 += rate_mv;
2754 *rate2 += rate_mv;
2786 *rate2 += cost_mv_ref(cpi, this_mode, mbmi->mode_context[refs[0]]);
2918 *rate2 += vp9_get_switchable_rate(x);
2983 *rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 1);
2991 this_rd = RDCOST(x->rdmult, x->rddiv, *rate2, *distortion);
3009 *rate2 = INT_MAX;
3015 *rate2 += *rate_y;
3018 rate2, *distortion);
3024 *rate2 = INT_MAX;
3031 *rate2 += *rate_uv;
3296 int rate2 = 0, rate_y = 0, rate_uv = 0;
3435 rate2
3437 rate2 += intra_cost_penalty;
3442 &rate2, &distortion2, &skippable,
3455 rate2 += compmode_cost;
3461 rate2 += ref_costs_comp[ref_frame];
3463 rate2 += ref_costs_single[ref_frame];
3477 rate2 -= (rate_y + rate_uv);
3488 rate2 += prob_skip_cost;
3495 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 0);
3498 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 1);
3501 rate2 -= (rate_y + rate_uv);
3508 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 0);
3512 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
3555 *returnrate = rate2;
3589 single_rate = rate2 - compmode_cost;
3590 hybrid_rate = rate2;
3592 single_rate = rate2;
3593 hybrid_rate = rate2 + compmode_cost;
3847 int rate2 = 0, rate_y = 0, rate_uv = 0;
3998 rate2 += rate;
3999 rate2 += intra_cost_penalty;
4009 rate2 += rate_uv_intra[TX_4X4];
4014 tx_cache[ONLY_4X4] = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
4152 rate2 += rate;
4156 rate2 += vp9_get_switchable_rate(x);
4165 MIN(RDCOST(x->rdmult, x->rddiv, rate2, distortion2),
4177 rate2 += rate_uv;
4182 tx_cache[ONLY_4X4] = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
4189 rate2 += compmode_cost;
4194 rate2 += ref_costs_comp[ref_frame];
4196 rate2 += ref_costs_single[ref_frame];
4212 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 0);
4215 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 1);
4218 rate2 -= (rate_y + rate_uv);
4225 rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 0);
4229 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
4261 *returnrate = rate2;
4300 single_rate = rate2 - compmode_cost;
4301 hybrid_rate = rate2;
4303 single_rate = rate2;
4304 hybrid_rate = rate2 + compmode_cost;