Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c546 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm()
553 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm()
554 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm()
688 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
691 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
692 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd()
695 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd()
696 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd()
700 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
701 rd[n][1] = VPXMIN(rd[n][1], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
[all …]
Dvp9_pickmode.c185 rv = !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > in combined_motion_search()
1014 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in vp9_pick_intra_mode()
1102 const int64_t inter_mode_thresh = RDCOST(x->rdmult, x->rddiv, in vp9_pick_inter_mode()
1370 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in vp9_pick_inter_mode()
1431 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode()
1432 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode()
1470 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
1480 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, in vp9_pick_inter_mode()
1599 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in vp9_pick_inter_mode()
1836 if (RDCOST(x->rdmult, x->rddiv, b_rate, 0) > b_best_rd) in vp9_pick_inter_mode_sub8x8()
[all …]
Dvp9_rd.h27 #define RDCOST(RM, DM, R, D) \ macro
Dvp9_encodeframe.c1908 none_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, none_rdc.rate, in rd_use_partition()
2008 last_part_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_use_partition()
2064 chosen_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_use_partition()
2500 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_pick_partition()
2619 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_pick_partition()
2685 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in rd_pick_partition()
2737 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_pick_partition()
3120 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in nonrd_pick_partition()
3152 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, sum_rdc.rate, sum_rdc.dist); in nonrd_pick_partition()
3219 sum_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in nonrd_pick_partition()
[all …]
Dvp9_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\
69 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);\
/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c263 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
264 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
329 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
330 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
388 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
389 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
Drdopt.c684 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
767 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes()
800 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra16x16mby_mode()
856 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter16x16_uv()
876 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter4x4_uv()
918 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode()
1157 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0); in rd_check_segment()
1324 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_check_segment()
1813 return RDCOST(x->rdmult, x->rddiv, rd->rate2, in evaluate_inter_mode_rd()
1909 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs()
[all …]
Dpickinter.c264 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
334 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes()
608 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode()
1028 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
1058 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
1541 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in vp8_pick_intra_mode()
Drdopt.h21 #define RDCOST(RM,DM,R,D) ( ((128+(R)*(RM)) >> 8) + (DM)*(D) ) macro