Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c159 int rdmult; in optimize_b() local
187 rdmult = mb->rdmult * err_mult; in optimize_b()
189 rdmult = (rdmult * 9) >> 4; in optimize_b()
225 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
226 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
228 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
229 rd_cost1 = RDTRUNC(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()
285 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
[all …]
Dencodeframe.c304 x->rdmult += *(x->mb_activity_ptr) * (x->rdmult >> 2); in vp8_activity_masking()
305 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in vp8_activity_masking()
316 x->rdmult = (unsigned int)(((int64_t)x->rdmult * b + (a >> 1)) / a); in vp8_activity_masking()
317 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in vp8_activity_masking()
412 x->rdmult = cpi->RDMULT; in encode_mb_row()
Dblock.h88 int rdmult; member
Drdopt.c566 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
643 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes()
668 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra16x16mby_mode()
722 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter16x16_uv()
741 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter4x4_uv()
779 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode()
988 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0); in rd_check_segment()
1140 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_check_segment()
1624 return RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in evaluate_inter_mode_rd()
1704 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs()
[all …]
Dpickinter.c200 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
258 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes()
487 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode()
869 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
895 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode()
1325 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in vp8_pick_intra_mode()
Dethreading.c147 x->rdmult = cpi->RDMULT; in thread_encoding_proc()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c152 int64_t rdmult = 0; in vp9_compute_rd_mult_based_on_qindex() local
154 case VPX_BITS_8: rdmult = 88 * q * q / 24; break; in vp9_compute_rd_mult_based_on_qindex()
155 case VPX_BITS_10: rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 4); break; in vp9_compute_rd_mult_based_on_qindex()
156 case VPX_BITS_12: rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 8); break; in vp9_compute_rd_mult_based_on_qindex()
162 int64_t rdmult = 88 * q * q / 24; in vp9_compute_rd_mult_based_on_qindex() local
164 return rdmult; in vp9_compute_rd_mult_based_on_qindex()
168 int64_t rdmult = vp9_compute_rd_mult_based_on_qindex(cpi, qindex); in vp9_compute_rd_mult() local
175 rdmult = (rdmult * rd_frame_type_factor[frame_type]) >> 7; in vp9_compute_rd_mult()
176 rdmult += ((rdmult * rd_boost_factor[boost_index]) >> 7); in vp9_compute_rd_mult()
178 if (rdmult < 1) rdmult = 1; in vp9_compute_rd_mult()
[all …]
Dvp9_rdopt.c748 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm()
757 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm()
758 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm()
885 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
888 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd()
889 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd()
892 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd()
893 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd()
897 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
898 rd[n][1] = VPXMIN(rd[n][1], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd()
[all …]
Dvp9_rd.h180 static INLINE void set_error_per_bit(MACROBLOCK *x, int rdmult) { in set_error_per_bit() argument
181 x->errorperbit = rdmult >> RD_EPB_SHIFT; in set_error_per_bit()
Dvp9_temporal_filter.c723 int rdmult; in vp9_temporal_filter() local
803 rdmult = (int)vp9_compute_rd_mult_based_on_qindex(cpi, ARNR_FILT_QINDEX); in vp9_temporal_filter()
804 if (rdmult < 1) rdmult = 1; in vp9_temporal_filter()
805 set_error_per_bit(&cpi->td.mb, rdmult); in vp9_temporal_filter()
Dvp9_aq_cyclicrefresh.h50 int rdmult; member
Dvp9_encodemb.c79 const int64_t rdmult = in vp9_optimize_b() local
80 ((int64_t)mb->rdmult * plane_rd_mult[ref][plane_type]) >> 1; in vp9_optimize_b()
117 best_block_rd_cost = RDCOST(rdmult, rddiv, rate0, accu_error); in vp9_optimize_b()
225 rd_cost0 = RDCOST(rdmult, rddiv, (rate0 + next_bits0), distortion0); in vp9_optimize_b()
226 rd_cost1 = RDCOST(rdmult, rddiv, (rate1 + next_bits1), distortion1); in vp9_optimize_b()
228 eob_cost0 = RDCOST(rdmult, rddiv, (accu_rate + rate0 + next_eob_bits0), in vp9_optimize_b()
233 RDCOST(rdmult, rddiv, (accu_rate + rate1 + next_eob_bits1), in vp9_optimize_b()
Dvp9_block.h94 int rdmult; member
Dvp9_pickmode.c217 !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > best_rd_sofar); in combined_motion_search()
1137 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_intra_mode()
1342 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, rate, dist); in recheck_zeromv_after_denoising()
1446 RDCOST(x->rdmult, x->rddiv, intra_cost_penalty, 0); in vp9_pick_inter_mode()
2003 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in vp9_pick_inter_mode()
2083 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode()
2084 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode()
2126 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
2148 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
2308 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode()
[all …]
Dvp9_quantize.c279 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in vp9_init_plane_quantizers() local
311 set_error_per_bit(x, rdmult); in vp9_init_plane_quantizers()
Dvp9_encodeframe.c257 x->rdmult = cpi->rd.RDMULT; in set_offsets()
1899 orig_rdmult = x->rdmult; in rd_pick_sb_modes()
1930 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id); in rd_pick_sb_modes()
1944 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id); in rd_pick_sb_modes()
1946 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id); in rd_pick_sb_modes()
1953 x->rdmult = vp9_cyclic_refresh_get_rdmult(cpi->cyclic_refresh); in rd_pick_sb_modes()
1982 x->rdmult = orig_rdmult; in rd_pick_sb_modes()
2605 RDCOST(x->rdmult, x->rddiv, none_rdc.rate, none_rdc.dist); in rd_use_partition()
2699 RDCOST(x->rdmult, x->rddiv, last_part_rdc.rate, last_part_rdc.dist); in rd_use_partition()
2754 RDCOST(x->rdmult, x->rddiv, chosen_rdc.rate, chosen_rdc.dist); in rd_use_partition()
[all …]
Dvp9_aq_cyclicrefresh.c558 cr->rdmult = vp9_compute_rd_mult(cpi, qindex2); in vp9_cyclic_refresh_setup()
579 return cr->rdmult; in vp9_cyclic_refresh_get_rdmult()
/external/libvpx/libvpx/
DCHANGELOG499 make rdmult adaptive for intra in quantizer RDO