Home
last modified time | relevance | path

Searched refs:rddiv (Results 1 – 11 of 11) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemb.c242 int rddiv; in optimize_b() local
280 rddiv = mb->rddiv; in optimize_b()
318 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
319 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
322 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
323 rd_cost1 = RDTRUNC(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()
388 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
389 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
[all …]
Dblock.h93 int rddiv; member
Dpickinter.c164 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()
Drdopt.c683 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 …]
Dencodeframe.c341 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
353 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
456 x->rddiv = cpi->RDDIV; in encode_mb_row()
Dethreading.c155 x->rddiv = cpi->RDDIV; in thread_encoding_proc()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_block.h52 int rddiv; member
106 int rddiv; member
Dvp9_rdopt.c679 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()
870 static int64_t scaled_rd_cost(int rdmult, int rddiv, in scaled_rd_cost() argument
872 return (int64_t) (RDCOST(rdmult, rddiv, rate, dist) * scale); in scaled_rd_cost()
912 rd[n][0] = rd[n][1] = scaled_rd_cost(x->rdmult, x->rddiv, s1, d[n], in choose_txfm_size_from_modelrd()
915 rd[n][0] = scaled_rd_cost(x->rdmult, x->rddiv, r[n][0] + s0, d[n], in choose_txfm_size_from_modelrd()
917 rd[n][1] = scaled_rd_cost(x->rdmult, x->rddiv, r[n][1] + s0, d[n], in choose_txfm_size_from_modelrd()
[all …]
Dvp9_encodemb.c87 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\
88 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);\
90 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0);\
91 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1);\
123 int64_t rdmult, rddiv, rd_cost0, rd_cost1; in optimize_b() local
144 rddiv = mb->rddiv; in optimize_b()
Dvp9_pickmode.c228 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()
Dvp9_encodeframe.c249 x->rddiv = cpi->RDDIV; in set_offsets()
818 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in activity_masking()
828 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in activity_masking()
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()
[all …]