Lines Matching refs:this_rdc

2359   RD_COST this_rdc, sum_rdc, best_rdc;  in rd_pick_partition()  local
2396 vp9_rd_cost_init(&this_rdc); in rd_pick_partition()
2495 &this_rdc, bsize, ctx, best_rdc.rdcost); in rd_pick_partition()
2496 if (this_rdc.rate != INT_MAX) { in rd_pick_partition()
2499 this_rdc.rate += cpi->partition_cost[pl][PARTITION_NONE]; in rd_pick_partition()
2500 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_pick_partition()
2501 this_rdc.rate, this_rdc.dist); in rd_pick_partition()
2504 if (this_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2505 best_rdc = this_rdc; in rd_pick_partition()
2602 subsize, &this_rdc, in rd_pick_partition()
2605 if (this_rdc.rate == INT_MAX) { in rd_pick_partition()
2609 sum_rdc.rate += this_rdc.rate; in rd_pick_partition()
2610 sum_rdc.dist += this_rdc.dist; in rd_pick_partition()
2611 sum_rdc.rdcost += this_rdc.rdcost; in rd_pick_partition()
2671 &this_rdc, subsize, &pc_tree->horizontal[1], in rd_pick_partition()
2673 if (this_rdc.rate == INT_MAX) { in rd_pick_partition()
2676 sum_rdc.rate += this_rdc.rate; in rd_pick_partition()
2677 sum_rdc.dist += this_rdc.dist; in rd_pick_partition()
2678 sum_rdc.rdcost += this_rdc.rdcost; in rd_pick_partition()
2723 &this_rdc, subsize, in rd_pick_partition()
2725 if (this_rdc.rate == INT_MAX) { in rd_pick_partition()
2728 sum_rdc.rate += this_rdc.rate; in rd_pick_partition()
2729 sum_rdc.dist += this_rdc.dist; in rd_pick_partition()
2730 sum_rdc.rdcost += this_rdc.rdcost; in rd_pick_partition()
3063 RD_COST this_rdc, sum_rdc, best_rdc; in nonrd_pick_partition() local
3111 &this_rdc, bsize, ctx); in nonrd_pick_partition()
3117 if (this_rdc.rate != INT_MAX) { in nonrd_pick_partition()
3119 this_rdc.rate += cpi->partition_cost[pl][PARTITION_NONE]; in nonrd_pick_partition()
3120 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in nonrd_pick_partition()
3121 this_rdc.rate, this_rdc.dist); in nonrd_pick_partition()
3122 if (this_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
3131 best_rdc = this_rdc; in nonrd_pick_partition()
3136 this_rdc.rate < rate_breakout_thr && in nonrd_pick_partition()
3137 this_rdc.dist < dist_breakout_thr) { in nonrd_pick_partition()
3163 subsize, &this_rdc, 0, in nonrd_pick_partition()
3166 if (this_rdc.rate == INT_MAX) { in nonrd_pick_partition()
3169 sum_rdc.rate += this_rdc.rate; in nonrd_pick_partition()
3170 sum_rdc.dist += this_rdc.dist; in nonrd_pick_partition()
3171 sum_rdc.rdcost += this_rdc.rdcost; in nonrd_pick_partition()
3204 &this_rdc, subsize, in nonrd_pick_partition()
3212 if (this_rdc.rate == INT_MAX) { in nonrd_pick_partition()
3216 this_rdc.rate += cpi->partition_cost[pl][PARTITION_HORZ]; in nonrd_pick_partition()
3217 sum_rdc.rate += this_rdc.rate; in nonrd_pick_partition()
3218 sum_rdc.dist += this_rdc.dist; in nonrd_pick_partition()
3249 &this_rdc, subsize, in nonrd_pick_partition()
3256 if (this_rdc.rate == INT_MAX) { in nonrd_pick_partition()
3261 sum_rdc.rate += this_rdc.rate; in nonrd_pick_partition()
3262 sum_rdc.dist += this_rdc.dist; in nonrd_pick_partition()
3317 RD_COST this_rdc; in nonrd_select_partition() local
3319 vp9_rd_cost_reset(&this_rdc); in nonrd_select_partition()
3364 &this_rdc, subsize, &pc_tree->vertical[1]); in nonrd_select_partition()
3369 if (this_rdc.rate != INT_MAX && this_rdc.dist != INT64_MAX && in nonrd_select_partition()
3371 rd_cost->rate += this_rdc.rate; in nonrd_select_partition()
3372 rd_cost->dist += this_rdc.dist; in nonrd_select_partition()
3387 &this_rdc, subsize, &pc_tree->horizontal[1]); in nonrd_select_partition()
3392 if (this_rdc.rate != INT_MAX && this_rdc.dist != INT64_MAX && in nonrd_select_partition()
3394 rd_cost->rate += this_rdc.rate; in nonrd_select_partition()
3395 rd_cost->dist += this_rdc.dist; in nonrd_select_partition()
3406 &this_rdc, pc_tree->split[1]); in nonrd_select_partition()
3407 if (this_rdc.rate != INT_MAX && this_rdc.dist != INT64_MAX && in nonrd_select_partition()
3409 rd_cost->rate += this_rdc.rate; in nonrd_select_partition()
3410 rd_cost->dist += this_rdc.dist; in nonrd_select_partition()
3414 &this_rdc, pc_tree->split[2]); in nonrd_select_partition()
3415 if (this_rdc.rate != INT_MAX && this_rdc.dist != INT64_MAX && in nonrd_select_partition()
3417 rd_cost->rate += this_rdc.rate; in nonrd_select_partition()
3418 rd_cost->dist += this_rdc.dist; in nonrd_select_partition()
3422 output_enabled, &this_rdc, pc_tree->split[3]); in nonrd_select_partition()
3423 if (this_rdc.rate != INT_MAX && this_rdc.dist != INT64_MAX && in nonrd_select_partition()
3425 rd_cost->rate += this_rdc.rate; in nonrd_select_partition()
3426 rd_cost->dist += this_rdc.dist; in nonrd_select_partition()