/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | encodemb.c | 318 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b() 319 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b() 384 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b() 385 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b() 443 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b() 444 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
|
D | rdopt.h | 19 #define RDCOST(RM,DM,R,D) ( ((128+(R)*(RM)) >> 8) + (DM)*(D) ) macro
|
D | pickinter.c | 164 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block() 235 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes() 508 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 818 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 848 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1278 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in vp8_pick_intra_mode()
|
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() 800 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() 874 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion); in rd_inter4x4_uv() 916 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode() 1155 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0); in rd_check_segment() 1322 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 …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 679 rd1 = RDCOST(x->rdmult, x->rddiv, args->rate, args->dist); in block_rd_txfm() 680 rd2 = RDCOST(x->rdmult, x->rddiv, 0, args->sse); in block_rd_txfm() 831 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, d[n]); in choose_txfm_size_from_rd() 833 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]); in choose_txfm_size_from_rd() 834 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]); in choose_txfm_size_from_rd() 872 return (int64_t) (RDCOST(rdmult, rddiv, rate, dist) * scale); in scaled_rd_cost() 1117 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd) in rd_pick_intra4x4block() 1132 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd) in rd_pick_intra4x4block() 1141 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block() 1233 return RDCOST(mb->rdmult, mb->rddiv, cost, total_distortion); in rd_pick_intra_sub_8x8_y_mode() [all …]
|
D | vp9_rdopt.h | 22 #define RDCOST(RM, DM, R, D) \ macro
|
D | vp9_pickmode.c | 228 const int64_t inter_mode_thresh = RDCOST(x->rdmult, x->rddiv, in vp9_pick_inter_mode() 327 this_rd = RDCOST(x->rdmult, x->rddiv, rate, dist); in vp9_pick_inter_mode() 356 this_rd = RDCOST(x->rdmult, x->rddiv, rate, dist); in vp9_pick_inter_mode()
|
D | vp9_encodeframe.c | 1655 none_rd = RDCOST(x->rdmult, x->rddiv, none_rate, none_dist); in rd_use_partition() 1754 last_part_rd = RDCOST(x->rdmult, x->rddiv, last_part_rate, last_part_dist); in rd_use_partition() 1814 chosen_rd = RDCOST(x->rdmult, x->rddiv, chosen_rate, chosen_dist); in rd_use_partition() 2091 sum_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_dist); in rd_pick_partition() 2106 stop_thresh_rd = RDCOST(x->rdmult, x->rddiv, 0, stop_thresh); in rd_pick_partition() 2154 sum_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist); in rd_pick_partition() 2160 sum_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist); in rd_pick_partition() 2188 sum_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist); in rd_pick_partition() 2210 sum_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist); in rd_pick_partition() 2216 sum_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist); in rd_pick_partition() [all …]
|
D | vp9_encodemb.c | 87 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\ 88 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);\
|