Home
last modified time | relevance | path

Searched refs:rdmult (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemb.c241 int rdmult; in optimize_b() local
276 rdmult = mb->rdmult * err_mult; in optimize_b()
278 rdmult = (rdmult * 9)>>4; 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()
[all …]
Dblock.h94 int rdmult; member
Dencodeframe.c340 x->rdmult += *(x->mb_activity_ptr) * (x->rdmult >> 2); in vp8_activity_masking()
341 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
352 x->rdmult = (unsigned int)(((int64_t)x->rdmult*b + (a>>1))/a); in vp8_activity_masking()
353 x->errorperbit = x->rdmult * 100 /(110 * x->rddiv); in vp8_activity_masking()
457 x->rdmult = cpi->RDMULT; in encode_mb_row()
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 …]
Dethreading.c156 x->rdmult = cpi->RDMULT; in thread_encoding_proc()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
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
141 rdmult = mb->rdmult * err_mult; in optimize_b()
143 rdmult = (rdmult * 9) >> 4; in optimize_b()
Dvp9_aq_cyclicrefresh.c39 int rdmult; member
254 cr->rdmult = vp9_compute_rd_mult(cpi, qindex2); in vp9_cyclic_refresh_setup()
323 return cr->rdmult; in vp9_cyclic_refresh_get_rdmult()
Dvp9_rdopt.c224 int rdmult = 88 * q * q / 25; in vp9_compute_rd_mult() local
227 rdmult += (rdmult * rd_iifactor[31]) >> 4; in vp9_compute_rd_mult()
229 rdmult += (rdmult * rd_iifactor[cpi->twopass.next_iiratio]) >> 4; in vp9_compute_rd_mult()
231 return rdmult; in vp9_compute_rd_mult()
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()
870 static int64_t scaled_rd_cost(int rdmult, int rddiv, in scaled_rd_cost() argument
[all …]
Dvp9_encodeframe.c250 x->rdmult = cpi->RDMULT; in set_offsets()
817 x->rdmult += *(x->mb_activity_ptr) * (x->rdmult >> 2); in activity_masking()
818 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in activity_masking()
827 x->rdmult = (unsigned int) (((int64_t) x->rdmult * b + (a >> 1)) / a); in activity_masking()
828 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv); in activity_masking()
1053 orig_rdmult = x->rdmult; in rd_pick_sb_modes()
1059 x->rdmult = (int)round(x->rdmult * rdmult_ratio); in rd_pick_sb_modes()
1066 x->rdmult += ((x->rdmult * (complexity - 128)) / 256); in rd_pick_sb_modes()
1072 x->rdmult = vp9_cyclic_refresh_get_rdmult(cpi->cyclic_refresh); in rd_pick_sb_modes()
1090 x->rdmult = orig_rdmult; in rd_pick_sb_modes()
[all …]
Dvp9_block.h53 int rdmult; member
107 int rdmult; member
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_quantize.c222 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in vp9_init_plane_quantizers() local
256 x->errorperbit = rdmult >> 6; in vp9_init_plane_quantizers()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
DCHANGELOG388 make rdmult adaptive for intra in quantizer RDO