Home
last modified time | relevance | path

Searched refs:rddiv (Results 1 – 11 of 11) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c194 int rddiv; in optimize_b() local
225 rddiv = mb->rddiv; in optimize_b()
263 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
264 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
267 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
268 rd_cost1 = RDTRUNC(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()
333 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
334 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
[all …]
Dblock.h93 int rddiv; member
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()
Dencodeframe.c342 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
354 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
457 x->rddiv = cpi->RDDIV; in encode_mb_row()
Dethreading.c153 x->rddiv = cpi->RDDIV; in thread_encoding_proc()
/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_block.h71 int rddiv; member
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_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\
69 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);\
71 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0);\
72 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1);\
111 int64_t rdmult = mb->rdmult * plane_rd_mult[type], rddiv = mb->rddiv; in optimize_b() local
Dvp9_encodeframe.c219 x->rddiv = cpi->rd.RDDIV; in set_offsets()
1908 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()
[all …]