/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() 868 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 894 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1326 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 | 744 rd = RDCOST(x->rdmult, x->rddiv, 0, dist); in block_rd_txfm() 753 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist); in block_rd_txfm() 754 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse); in block_rd_txfm() 876 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 879 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]); in choose_tx_size_from_rd() 880 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]); in choose_tx_size_from_rd() 883 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_tx_size_from_rd() 884 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_tx_size_from_rd() 888 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n])); in choose_tx_size_from_rd() 889 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 | 87 const int64_t rddiv = mb->rddiv; in vp9_optimize_b() local 124 best_block_rd_cost = RDCOST(rdmult, rddiv, rate0, accu_error); in vp9_optimize_b() 232 rd_cost0 = RDCOST(rdmult, rddiv, (rate0 + next_bits0), distortion0); in vp9_optimize_b() 233 rd_cost1 = RDCOST(rdmult, rddiv, (rate1 + next_bits1), distortion1); in vp9_optimize_b() 235 eob_cost0 = RDCOST(rdmult, rddiv, (accu_rate + rate0 + next_eob_bits0), in vp9_optimize_b() 240 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() 1160 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_intra_mode() 1364 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, rate, dist); in recheck_zeromv_after_denoising() 1470 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]); in search_filter_ref() 1641 RDCOST(x->rdmult, x->rddiv, intra_cost_penalty, 0); in vp9_pick_inter_mode() 2251 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) < in vp9_pick_inter_mode() 2252 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) { in vp9_pick_inter_mode() 2294 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() 2316 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() 2488 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in vp9_pick_inter_mode() [all …]
|
D | vp9_encodeframe.c | 285 x->rddiv = cpi->rd.RDDIV; in set_offsets() 2025 rd_cost->rdcost = RDCOST(x->rdmult, x->rddiv, rd_cost->rate, rd_cost->dist); in rd_pick_sb_modes() 2652 RDCOST(x->rdmult, x->rddiv, none_rdc.rate, none_rdc.dist); in rd_use_partition() 2750 RDCOST(x->rdmult, x->rddiv, last_part_rdc.rate, last_part_rdc.dist); in rd_use_partition() 2805 RDCOST(x->rdmult, x->rddiv, chosen_rdc.rate, chosen_rdc.dist); in rd_use_partition() 3847 this_rdc.rdcost += RDCOST(partition_mul, x->rddiv, in rd_pick_partition() 4028 sum_rdc.rdcost += RDCOST(partition_mul, x->rddiv, in rd_pick_partition() 4089 RDCOST(partition_mul, x->rddiv, part_mode_rate, 0); in rd_pick_partition() 4139 RDCOST(partition_mul, x->rddiv, part_mode_rate, 0); in rd_pick_partition() 4717 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in nonrd_pick_partition() [all …]
|