Home | History | Annotate | Download | only in encoder

Lines Matching defs:rate

49 /* Factor to weigh the rate for switchable interp filters */
71 int rate;
327 // Normalized rate
328 // This table models the rate for a Laplacian source
403 unsigned int qstep, int *rate,
405 // This function models the rate and distortion for a Laplacian
412 *rate = 0;
421 *rate = (n * r_q10 + 2) >> 2;
451 int64_t rate;
457 rate = (square_error * (280 - quantizer)) >> 8;
459 rate = 0;
461 rate_sum += rate;
464 int rate;
467 pd->dequant[1] >> 3, &rate, &dist);
468 rate_sum += rate;
507 int rate;
515 &rate, &dist);
516 rate_sum += rate;
518 *out_skip &= (rate < 1024);
655 args->rate = cost_coeffs(args->x, plane, block, args->t_above + x_idx,
679 rd1 = RDCOST(x->rdmult, x->rddiv, args->rate, args->dist);
688 args->this_rate += args->rate;
739 int *rate, int64_t *distortion,
761 *rate = INT_MAX;
767 *rate = args.this_rate;
774 int *rate, int64_t *distortion,
786 txfm_rd_in_plane(x, rate, distortion, skip,
793 int (*r)[2], int *rate,
847 *rate = r[mbmi->tx_size][cm->tx_mode == TX_MODE_SELECT];
871 int rate, int64_t dist, double scale) {
872 return (int64_t) (RDCOST(rdmult, rddiv, rate, dist) * scale);
876 int (*r)[2], int *rate,
931 txfm_rd_in_plane(x, rate, distortion, skip,
946 static void inter_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate,
964 choose_largest_txfm_size(cpi, x, rate, distortion, skip, sse,
975 choose_txfm_size_from_modelrd(cpi, x, r, rate, d, distortion, s,
983 choose_txfm_size_from_rd(cpi, x, r, rate, d, distortion, s,
990 static void intra_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate,
1002 choose_largest_txfm_size(cpi, x, rate, distortion, skip, sse,
1013 choose_txfm_size_from_rd(cpi, x, r, rate, d, distortion, s,
1079 int rate = bmode_costs[mode];
1140 rate += ratey;
1141 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
1144 *bestrate = rate;
1170 int *rate, int *rate_y,
1228 *rate = cost;
1237 int *rate, int *rate_tokenonly,
1286 *rate = this_rate;
1310 int *rate, int64_t *distortion, int *skippable,
1329 *rate = 0;
1340 *rate += pnrate;
1348 *rate = INT_MAX;
1357 int *rate, int *rate_tokenonly,
1384 *rate = this_rate;
1417 int *rate, int *rate_tokenonly,
1426 *rate = *rate_tokenonly + x->intra_uv_mode_cost[cm->frame_type][DC_PRED];
1427 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
1753 // TODO(jingning,rbultje): rewrite the rate-distortion optimization
3469 // necessary adjustment for rate. Ignore if skip is coded at
3622 // access to the rate-distortion cost. it only knows that the cost
3624 // maximum plus an arbitrary constant as the rate-distortion cost.
3993 int rate;
3995 if (rd_pick_intra_sub_8x8_y_mode(cpi, x, &rate, &rate_y,
3998 rate2 += rate;
4018 int rate;
4067 &rate, &rate_y, &distortion,
4095 tmp_best_rate = rate;
4134 &rate, &rate_y, &distortion,
4143 rate = tmp_best_rate;
4152 rate2 += rate;
4202 // necessary adjustment for rate. Ignore if skip is coded at
4332 // access to the rate-distortion cost. it only knows that the cost
4334 // maximum plus an arbitrary constant as the rate-distortion cost.