Lines Matching refs:rate
225 // Extend rate multiplier along side quantizer zbin increases
542 int *Rate,
583 // rate
584 *Rate = vp8_rdcost_mby(mb);
612 int rate = 0;
630 rate = bmode_costs[mode];
641 rate += ratey;
644 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
648 *bestrate = rate;
668 int vp8_rd_pick_intra4x4mby_modes(VP8_COMP *cpi, MACROBLOCK *mb, int *Rate,
724 *Rate = cost;
732 int *Rate,
738 int rate, ratey;
752 rate = ratey + x->mbmode_cost[x->e_mbd.frame_type]
755 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
761 *Rate = rate;
794 static int vp8_rd_inter_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel)
800 *rate = rd_cost_mbuv(x);
803 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
806 int vp8_rd_pick_intra_mbuv_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion)
816 int rate;
829 rate = rate_to + x->intra_uv_mode_cost[x->e_mbd.frame_type][x->e_mbd.mode_info_context->mbmi.uv_mode];
833 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
839 r = rate;
845 *rate = r;
1043 int rate = 0;
1079 rate = vp8_cost_token(vp8_mbsplit_tree, vp8_mbsplit_probs, vp8_mbsplit_encodings + segmentation);
1080 rate += vp8_cost_mv_ref(SPLITMV, bsi->mdcounts);
1081 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0);
1082 br += rate;
1221 rate = labels2mode(x, labels, i, this_mode, &mode_mv[this_mode],
1234 rate += labelyrate;
1236 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
1240 sbr = rate;
1742 int rate;
1980 // Note the rate value returned here includes the cost of coding the BPRED mode : x->mbmode_cost[x->e_mbd.frame_type][BPRED];
1981 tmp_rd = vp8_rd_pick_intra4x4mby_modes(cpi, x, &rate, &rate_y, &distortion, best_yrd);
1982 rate2 += rate;
2010 &rate, &rate_y, &distortion, this_rd_thresh) ;
2012 rate2 += rate;
2325 // Test for the condition where skip block will be activated because there are no non zero coefficients and make any necessary adjustment for rate