/external/libvpx/libvpx/vp8/encoder/ |
D | encodemb.c | 160 int rddiv; in optimize_b() local 192 rddiv = mb->rddiv; 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() 286 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b() [all …]
|
D | block.h | 87 int rddiv; member
|
D | rdopt.c | 566 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 …]
|
D | pickinter.c | 199 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block() 257 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes() 486 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 871 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 897 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1329 this_rd = RDCOST(x->rdmult, x->rddiv, rate_, distortion); in vp8_pick_intra_mode()
|
D | encodeframe.c | 305 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in vp8_activity_masking() 317 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in vp8_activity_masking() 411 x->rddiv = cpi->RDDIV; in encode_mb_row()
|
D | ethreading.c | 146 x->rddiv = cpi->RDDIV; in thread_encoding_proc()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 844 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm() 853 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm() 854 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm() 1001 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 1004 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 1005 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd() 1008 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd() 1009 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd() 1013 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd() 1014 rd[n][1] = VPXMIN(rd[n][1], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd() [all …]
|
D | vp9_encodemb.c | 91 const int64_t rddiv = mb->rddiv; in vp9_optimize_b() local 128 best_block_rd_cost = RDCOST(rdmult, rddiv, rate0, accu_error); in vp9_optimize_b() 236 rd_cost0 = RDCOST(rdmult, rddiv, (rate0 + next_bits0), distortion0); in vp9_optimize_b() 237 rd_cost1 = RDCOST(rdmult, rddiv, (rate1 + next_bits1), distortion1); in vp9_optimize_b() 239 eob_cost0 = RDCOST(rdmult, rddiv, (accu_rate + rate0 + next_eob_bits0), in vp9_optimize_b() 244 RDCOST(rdmult, rddiv, (accu_rate + rate1 + next_eob_bits1), in vp9_optimize_b()
|
D | vp9_block.h | 93 int rddiv; member
|
D | vp9_pickmode.c | 228 !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > best_rd_sofar); in combined_motion_search() 1195 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_intra_mode() 1401 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, rate, dist); in recheck_zeromv_after_denoising() 1520 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in search_filter_ref() 1702 RDCOST(x->rdmult, x->rddiv, intra_cost_penalty, 0); in vp9_pick_inter_mode() 2348 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode() 2349 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode() 2392 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() 2415 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() 2617 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() [all …]
|
D | vp9_encodeframe.c | 340 x->rddiv = cpi->rd.RDDIV; in set_offsets() 2067 best_rd = vp9_calculate_rd_cost(x->rdmult, x->rddiv, rate_in_best_rd, in rd_pick_sb_modes() 2102 rd_cost->rdcost = RDCOST(x->rdmult, x->rddiv, rd_cost->rate, rd_cost->dist); in rd_pick_sb_modes() 2737 RDCOST(x->rdmult, x->rddiv, none_rdc.rate, none_rdc.dist); in rd_use_partition() 2836 RDCOST(x->rdmult, x->rddiv, last_part_rdc.rate, last_part_rdc.dist); in rd_use_partition() 2891 RDCOST(x->rdmult, x->rddiv, chosen_rdc.rate, chosen_rdc.dist); in rd_use_partition() 3882 vp9_rd_cost_update(partition_mul, x->rddiv, &best_rdc); in rd_pick_partition() 4026 vp9_rd_cost_update(partition_mul, x->rddiv, &this_rdc); in rd_pick_partition() 4209 vp9_rd_cost_update(partition_mul, x->rddiv, &sum_rdc); in rd_pick_partition() 4216 vp9_rd_cost_update(partition_mul, x->rddiv, &sum_rdc); in rd_pick_partition() [all …]
|