Lines Matching refs:best_rdc

2359   RD_COST this_rdc, sum_rdc, best_rdc;  in rd_pick_partition()  local
2398 vp9_rd_cost_reset(&best_rdc); in rd_pick_partition()
2399 best_rdc.rdcost = best_rd; in rd_pick_partition()
2495 &this_rdc, bsize, ctx, best_rdc.rdcost); 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()
2513 ((best_rdc.dist < (dist_breakout_thr >> 2)) || in rd_pick_partition()
2514 (best_rdc.dist < dist_breakout_thr && in rd_pick_partition()
2515 best_rdc.rate < rate_breakout_thr))) { in rd_pick_partition()
2585 pc_tree->leaf_split[0], best_rdc.rdcost); in rd_pick_partition()
2589 for (i = 0; i < 4 && sum_rdc.rdcost < best_rdc.rdcost; ++i) { in rd_pick_partition()
2603 best_rdc.rdcost - sum_rdc.rdcost, pc_tree->split[i]); in rd_pick_partition()
2616 if (sum_rdc.rdcost < best_rdc.rdcost && i == 4) { in rd_pick_partition()
2622 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2623 best_rdc = sum_rdc; in rd_pick_partition()
2628 ((best_rdc.dist < (dist_breakout_thr >> 2)) || in rd_pick_partition()
2629 (best_rdc.dist < dist_breakout_thr && in rd_pick_partition()
2630 best_rdc.rate < rate_breakout_thr))) { in rd_pick_partition()
2639 (best_rdc.dist < dist_breakout_thr))) in rd_pick_partition()
2656 &pc_tree->horizontal[0], best_rdc.rdcost); in rd_pick_partition()
2658 if (sum_rdc.rdcost < best_rdc.rdcost && mi_row + mi_step < cm->mi_rows && in rd_pick_partition()
2672 best_rdc.rdcost - sum_rdc.rdcost); in rd_pick_partition()
2682 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2686 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2687 best_rdc = sum_rdc; in rd_pick_partition()
2709 &pc_tree->vertical[0], best_rdc.rdcost); in rd_pick_partition()
2710 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + mi_step < cm->mi_cols && in rd_pick_partition()
2724 &pc_tree->vertical[1], best_rdc.rdcost - sum_rdc.rdcost); in rd_pick_partition()
2734 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2739 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
2740 best_rdc = sum_rdc; in rd_pick_partition()
2752 *rd_cost = best_rdc; in rd_pick_partition()
2754 if (best_rdc.rate < INT_MAX && best_rdc.dist < INT64_MAX && in rd_pick_partition()
2763 assert(best_rdc.rate < INT_MAX); in rd_pick_partition()
2764 assert(best_rdc.dist < INT64_MAX); in rd_pick_partition()
3063 RD_COST this_rdc, sum_rdc, best_rdc; in nonrd_pick_partition() local
3083 vp9_rd_cost_reset(&best_rdc); in nonrd_pick_partition()
3084 best_rdc.rdcost = best_rd; 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()
3154 for (i = 0; i < 4 && sum_rdc.rdcost < best_rdc.rdcost; ++i) { in nonrd_pick_partition()
3164 best_rdc.rdcost - sum_rdc.rdcost, pc_tree->split[i]); in nonrd_pick_partition()
3175 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
3176 best_rdc = sum_rdc; in nonrd_pick_partition()
3200 if (sum_rdc.rdcost < best_rdc.rdcost && mi_row + ms < cm->mi_rows) { in nonrd_pick_partition()
3224 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
3225 best_rdc = sum_rdc; in nonrd_pick_partition()
3245 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + ms < cm->mi_cols) { in nonrd_pick_partition()
3268 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
3269 best_rdc = sum_rdc; in nonrd_pick_partition()
3276 *rd_cost = best_rdc; in nonrd_pick_partition()
3278 if (best_rdc.rate == INT_MAX) { in nonrd_pick_partition()
3286 if (best_rdc.rate < INT_MAX && best_rdc.dist < INT64_MAX && do_recon) { in nonrd_pick_partition()
3294 assert(best_rdc.rate < INT_MAX); in nonrd_pick_partition()
3295 assert(best_rdc.dist < INT64_MAX); in nonrd_pick_partition()