Lines Matching refs:best_rdc
3659 RD_COST this_rdc, sum_rdc, best_rdc; in rd_pick_partition() local
3706 vp9_rd_cost_reset(&best_rdc); in rd_pick_partition()
3707 best_rdc.rdcost = best_rd; in rd_pick_partition()
3835 best_rdc.rdcost); in rd_pick_partition()
3852 if (this_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
3855 best_rdc = this_rdc; in rd_pick_partition()
3883 if ((best_rdc.dist < (dist_breakout_thr >> 2)) || in rd_pick_partition()
3884 (best_rdc.dist < dist_breakout_thr && in rd_pick_partition()
3885 best_rdc.rate < rate_breakout_thr)) { in rd_pick_partition()
3973 pc_tree->leaf_split[0], best_rdc.rdcost); in rd_pick_partition()
3987 for (i = 0; (i < 4) && ((sum_rdc.rdcost < best_rdc.rdcost) || must_split); in rd_pick_partition()
4007 best_rdc.rdcost - sum_rdc.rdcost, pc_tree->split[i]); in rd_pick_partition()
4027 if (((sum_rdc.rdcost < best_rdc.rdcost) || must_split) && i == 4) { in rd_pick_partition()
4032 if ((sum_rdc.rdcost < best_rdc.rdcost) || in rd_pick_partition()
4033 (must_split && (sum_rdc.dist < best_rdc.dist))) { in rd_pick_partition()
4034 best_rdc = sum_rdc; in rd_pick_partition()
4040 ((best_rdc.dist < (dist_breakout_thr >> 2)) || in rd_pick_partition()
4041 (best_rdc.dist < dist_breakout_thr && in rd_pick_partition()
4042 best_rdc.rate < rate_breakout_thr))) { in rd_pick_partition()
4051 best_rdc.dist < dist_breakout_thr)) in rd_pick_partition()
4079 &partition_vert_allowed, best_rdc.rdcost, mi_row, in rd_pick_partition()
4097 best_rdc.rdcost - part_mode_rdcost); in rd_pick_partition()
4103 if (sum_rdc.rdcost < best_rdc.rdcost && mi_row + mi_step < cm->mi_rows && in rd_pick_partition()
4113 best_rdc.rdcost - sum_rdc.rdcost); in rd_pick_partition()
4123 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
4124 best_rdc = sum_rdc; in rd_pick_partition()
4146 &pc_tree->vertical[0], best_rdc.rdcost - part_mode_rdcost); in rd_pick_partition()
4152 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + mi_step < cm->mi_cols && in rd_pick_partition()
4162 best_rdc.rdcost - sum_rdc.rdcost); in rd_pick_partition()
4172 if (sum_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
4173 best_rdc = sum_rdc; in rd_pick_partition()
4184 *rd_cost = best_rdc; in rd_pick_partition()
4186 if (best_rdc.rate < INT_MAX && best_rdc.dist < INT64_MAX && in rd_pick_partition()
4195 assert(best_rdc.rate < INT_MAX); in rd_pick_partition()
4196 assert(best_rdc.dist < INT64_MAX); in rd_pick_partition()
4638 RD_COST this_rdc, sum_rdc, best_rdc; in nonrd_pick_partition() local
4666 vp9_rd_cost_reset(&best_rdc); in nonrd_pick_partition()
4667 best_rdc.rdcost = best_rd; in nonrd_pick_partition()
4718 if (this_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
4719 best_rdc = this_rdc; in nonrd_pick_partition()
4750 for (i = 0; i < 4 && sum_rdc.rdcost < best_rdc.rdcost; ++i) { in nonrd_pick_partition()
4759 best_rdc.rdcost - sum_rdc.rdcost, pc_tree->split[i]); in nonrd_pick_partition()
4770 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
4771 best_rdc = sum_rdc; in nonrd_pick_partition()
4793 if (sum_rdc.rdcost < best_rdc.rdcost && mi_row + ms < cm->mi_rows) { in nonrd_pick_partition()
4816 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
4817 best_rdc = sum_rdc; in nonrd_pick_partition()
4836 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + ms < cm->mi_cols) { in nonrd_pick_partition()
4858 if (sum_rdc.rdcost < best_rdc.rdcost) { in nonrd_pick_partition()
4859 best_rdc = sum_rdc; in nonrd_pick_partition()
4866 *rd_cost = best_rdc; in nonrd_pick_partition()
4868 if (best_rdc.rate == INT_MAX) { in nonrd_pick_partition()
4876 if (best_rdc.rate < INT_MAX && best_rdc.dist < INT64_MAX && do_recon) { in nonrd_pick_partition()
4884 assert(best_rdc.rate < INT_MAX); in nonrd_pick_partition()
4885 assert(best_rdc.dist < INT64_MAX); in nonrd_pick_partition()