/external/libvpx/libvpx/vp8/encoder/ |
D | encodemb.c | 193 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 …]
|
D | encodeframe.c | 341 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()
|
D | block.h | 94 int rdmult; member
|
D | rdopt.c | 683 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block() 766 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes() 799 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra16x16mby_mode() 855 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter16x16_uv() 875 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter4x4_uv() 917 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode() 1156 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0); in rd_check_segment() 1323 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_check_segment() 1812 return RDCOST(x->rdmult, x->rddiv, rd->rate2, in evaluate_inter_mode_rd() 1908 this_rd = RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in calculate_final_rd_costs() [all …]
|
D | pickinter.c | 262 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block() 332 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes() 606 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 1017 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1047 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1529 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in vp8_pick_intra_mode()
|
D | ethreading.c | 154 x->rdmult = cpi->RDMULT; in thread_encoding_proc()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rd.c | 154 int64_t rdmult = 0; in vp9_compute_rd_mult() local 157 rdmult = 88 * q * q / 24; in vp9_compute_rd_mult() 160 rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 4); in vp9_compute_rd_mult() 163 rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 8); in vp9_compute_rd_mult() 170 int64_t rdmult = 88 * q * q / 24; in vp9_compute_rd_mult() local 177 rdmult = (rdmult * rd_frame_type_factor[frame_type]) >> 7; in vp9_compute_rd_mult() 178 rdmult += ((rdmult * rd_boost_factor[boost_index]) >> 7); in vp9_compute_rd_mult() 180 if (rdmult < 1) in vp9_compute_rd_mult() 181 rdmult = 1; in vp9_compute_rd_mult() 182 return (int)rdmult; in vp9_compute_rd_mult()
|
D | vp9_rdopt.c | 523 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm() 530 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm() 531 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm() 665 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 667 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 668 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd() 671 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd() 672 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd() 811 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd) in rd_pick_intra4x4block() 831 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd) in rd_pick_intra4x4block() [all …]
|
D | vp9_encodemb.c | 68 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()
|
D | vp9_block.h | 72 int rdmult; member
|
D | vp9_aq_cyclicrefresh.c | 41 int rdmult; member 548 cr->rdmult = vp9_compute_rd_mult(cpi, qindex2); in vp9_cyclic_refresh_setup() 565 return cr->rdmult; in vp9_cyclic_refresh_get_rdmult()
|
D | vp9_pickmode.c | 184 rv = !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > in combined_motion_search() 1007 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in vp9_pick_intra_mode() 1095 const int64_t inter_mode_thresh = RDCOST(x->rdmult, x->rddiv, in vp9_pick_inter_mode() 1361 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in vp9_pick_inter_mode() 1422 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode() 1423 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode() 1460 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() 1470 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, in vp9_pick_inter_mode() 1578 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in vp9_pick_inter_mode() 1815 if (RDCOST(x->rdmult, x->rddiv, b_rate, 0) > b_best_rd) in vp9_pick_inter_mode_sub8x8() [all …]
|
D | vp9_quantize.c | 313 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()
|
D | vp9_encodeframe.c | 219 x->rdmult = cpi->rd.RDMULT; in set_offsets() 1215 orig_rdmult = x->rdmult; in rd_pick_sb_modes() 1229 x->rdmult = set_segment_rdmult(cpi, x, mbmi->segment_id); in rd_pick_sb_modes() 1231 x->rdmult = set_segment_rdmult(cpi, x, mbmi->segment_id); in rd_pick_sb_modes() 1238 x->rdmult = vp9_cyclic_refresh_get_rdmult(cpi->cyclic_refresh); in rd_pick_sb_modes() 1269 x->rdmult = orig_rdmult; in rd_pick_sb_modes() 1905 none_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, none_rdc.rate, in rd_use_partition() 2005 last_part_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_use_partition() 2061 chosen_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_use_partition() 2486 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, in rd_pick_partition() [all …]
|
/external/libvpx/libvpx/ |
D | CHANGELOG | 416 make rdmult adaptive for intra in quantizer RDO
|