Home
last modified time | relevance | path

Searched refs:rdmult (Results 1 – 16 of 16) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c193 int rdmult; in optimize_b() local
221 rdmult = mb->rdmult * err_mult; in optimize_b()
223 rdmult = (rdmult * 9)>>4; 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()
[all …]
Dencodeframe.c341 x->rdmult += *(x->mb_activity_ptr) * (x->rdmult >> 2); in vp8_activity_masking()
342 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
353 x->rdmult = (unsigned int)(((int64_t)x->rdmult*b + (a>>1))/a); in vp8_activity_masking()
354 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
458 x->rdmult = cpi->RDMULT; in encode_mb_row()
Dblock.h94 int rdmult; 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()
Dethreading.c154 x->rdmult = cpi->RDMULT; in thread_encoding_proc()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c155 int64_t rdmult = 0; in vp9_compute_rd_mult() local
158 rdmult = 88 * q * q / 24; in vp9_compute_rd_mult()
161 rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 4); in vp9_compute_rd_mult()
164 rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 8); in vp9_compute_rd_mult()
171 int64_t rdmult = 88 * q * q / 24; in vp9_compute_rd_mult() local
178 rdmult = (rdmult * rd_frame_type_factor[frame_type]) >> 7; in vp9_compute_rd_mult()
179 rdmult += ((rdmult * rd_boost_factor[boost_index]) >> 7); in vp9_compute_rd_mult()
181 if (rdmult < 1) in vp9_compute_rd_mult()
182 rdmult = 1; in vp9_compute_rd_mult()
183 return (int)rdmult; in vp9_compute_rd_mult()
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_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
128 rdmult = (rdmult * 9) >> 4; in optimize_b()
Dvp9_aq_cyclicrefresh.h49 int rdmult; member
Dvp9_block.h72 int rdmult; 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_encodeframe.c220 x->rdmult = cpi->rd.RDMULT; in set_offsets()
1216 orig_rdmult = x->rdmult; in rd_pick_sb_modes()
1230 x->rdmult = set_segment_rdmult(cpi, x, mbmi->segment_id); in rd_pick_sb_modes()
1232 x->rdmult = set_segment_rdmult(cpi, x, mbmi->segment_id); in rd_pick_sb_modes()
1239 x->rdmult = vp9_cyclic_refresh_get_rdmult(cpi->cyclic_refresh); in rd_pick_sb_modes()
1270 x->rdmult = orig_rdmult; in rd_pick_sb_modes()
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()
[all …]
Dvp9_quantize.c313 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in vp9_init_plane_quantizers() local
345 x->errorperbit = rdmult >> 6; in vp9_init_plane_quantizers()
Dvp9_aq_cyclicrefresh.c575 cr->rdmult = vp9_compute_rd_mult(cpi, qindex2); in vp9_cyclic_refresh_setup()
597 return cr->rdmult; in vp9_cyclic_refresh_get_rdmult()
/external/libvpx/libvpx/
DCHANGELOG428 make rdmult adaptive for intra in quantizer RDO