Home
last modified time | relevance | path

Searched refs:RDCOST (Results 1 – 9 of 9) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c225 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
226 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
282 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
283 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
336 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
337 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
Drdopt.c564 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
641 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes()
666 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra16x16mby_mode()
720 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter16x16_uv()
739 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter4x4_uv()
777 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode()
993 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0); in rd_check_segment()
1145 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_check_segment()
1629 return RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in evaluate_inter_mode_rd()
1709 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs()
[all …]
Dpickinter.c272 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
330 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes()
559 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode()
958 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
984 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
1414 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in vp8_pick_intra_mode()
Drdopt.h20 #define RDCOST(RM, DM, R, D) (((128 + (R) * (RM)) >> 8) + (DM) * (D)) macro
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c747 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm()
756 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm()
757 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm()
884 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
887 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
888 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd()
891 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd()
892 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd()
896 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
897 rd[n][1] = VPXMIN(rd[n][1], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
[all …]
Dvp9_rd.h29 #define RDCOST(RM, DM, R, D) \ macro
Dvp9_pickmode.c211 !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > best_rd_sofar); in combined_motion_search()
1124 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_intra_mode()
1340 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, rate, dist); in recheck_zeromv_after_denoising()
1442 RDCOST(x->rdmult, x->rddiv, intra_cost_penalty, 0); in vp9_pick_inter_mode()
1876 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in vp9_pick_inter_mode()
1950 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode()
1951 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode()
1987 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
2009 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
2164 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
[all …]
Dvp9_encodeframe.c2388 RDCOST(x->rdmult, x->rddiv, none_rdc.rate, none_rdc.dist); in rd_use_partition()
2482 RDCOST(x->rdmult, x->rddiv, last_part_rdc.rate, last_part_rdc.dist); in rd_use_partition()
2537 RDCOST(x->rdmult, x->rddiv, chosen_rdc.rate, chosen_rdc.dist); in rd_use_partition()
3044 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in rd_pick_partition()
3181 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in rd_pick_partition()
3241 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in rd_pick_partition()
3289 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in rd_pick_partition()
3688 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in nonrd_pick_partition()
3717 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in nonrd_pick_partition()
3781 RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in nonrd_pick_partition()
[all …]
Dvp9_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); \
69 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); \