Home
last modified time | relevance | path

Searched refs:qindex (Results 1 – 9 of 9) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_quantize.c221 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); in vp9_init_plane_quantizers() local
222 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in vp9_init_plane_quantizers()
227 x->plane[0].quant = quants->y_quant[qindex]; in vp9_init_plane_quantizers()
228 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; in vp9_init_plane_quantizers()
229 x->plane[0].zbin = quants->y_zbin[qindex]; in vp9_init_plane_quantizers()
230 x->plane[0].round = quants->y_round[qindex]; in vp9_init_plane_quantizers()
231 x->plane[0].zbin_extra = (int16_t)((cm->y_dequant[qindex][1] * zbin) >> 7); in vp9_init_plane_quantizers()
232 xd->plane[0].dequant = cm->y_dequant[qindex]; in vp9_init_plane_quantizers()
236 x->plane[i].quant = quants->uv_quant[qindex]; in vp9_init_plane_quantizers()
237 x->plane[i].quant_shift = quants->uv_quant_shift[qindex]; in vp9_init_plane_quantizers()
[all …]
Dvp9_ratectrl.h91 double vp9_convert_qindex_to_q(int qindex);
154 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex,
Dvp9_rdopt.h33 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex);
37 void vp9_initialize_me_consts(VP9_COMP *cpi, int qindex);
Dvp9_ratectrl.c94 double vp9_convert_qindex_to_q(int qindex) { in vp9_convert_qindex_to_q() argument
96 return vp9_ac_quant(qindex, 0) / 4.0; in vp9_convert_qindex_to_q()
99 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, in vp9_rc_bits_per_mb() argument
101 const double q = vp9_convert_qindex_to_q(qindex); in vp9_rc_bits_per_mb()
506 int qindex = rc->last_boosted_qindex; in rc_pick_q_and_bounds_one_pass_cbr() local
507 double last_boosted_q = vp9_convert_qindex_to_q(qindex); in rc_pick_q_and_bounds_one_pass_cbr()
510 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
618 int qindex = rc->last_boosted_qindex; in rc_pick_q_and_bounds_one_pass_vbr() local
619 double last_boosted_q = vp9_convert_qindex_to_q(qindex); in rc_pick_q_and_bounds_one_pass_vbr()
622 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr()
[all …]
Dvp9_rdopt.c221 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { in vp9_compute_rd_mult() argument
222 const int q = vp9_dc_quant(qindex, 0); in vp9_compute_rd_mult()
234 static int compute_rd_thresh_factor(int qindex) { in compute_rd_thresh_factor() argument
236 const int q = (int)(pow(vp9_dc_quant(qindex, 0) / 4.0, RD_THRESH_POW) * 5.12); in compute_rd_thresh_factor()
240 void vp9_initialize_me_consts(VP9_COMP *cpi, int qindex) { in vp9_initialize_me_consts() argument
241 cpi->mb.sadperbit16 = sad_per_bit16lut[qindex]; in vp9_initialize_me_consts()
242 cpi->mb.sadperbit4 = sad_per_bit4lut[qindex]; in vp9_initialize_me_consts()
250 const int qindex = clamp(vp9_get_qindex(&cm->seg, segment_id, in set_block_thresholds() local
253 const int q = compute_rd_thresh_factor(qindex); in set_block_thresholds()
Dvp9_firstpass.c70 static int gfboost_qadjust(int qindex) { in gfboost_qadjust() argument
71 const double q = vp9_convert_qindex_to_q(qindex); in gfboost_qadjust()
Dvp9_onyx_if.c240 int vp9_compute_qdelta_by_rate(VP9_COMP *cpi, int qindex, in vp9_compute_qdelta_by_rate() argument
248 const int base_bits_per_mb = vp9_rc_bits_per_mb(frame_type, qindex, 1.0); in vp9_compute_qdelta_by_rate()
260 return target_index - qindex; in vp9_compute_qdelta_by_rate()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_quant_common.c124 int16_t vp9_dc_quant(int qindex, int delta) { in vp9_dc_quant() argument
125 return dc_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
128 int16_t vp9_ac_quant(int qindex, int delta) { in vp9_ac_quant() argument
129 return ac_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
Dvp9_quant_common.h27 int16_t vp9_dc_quant(int qindex, int delta);
28 int16_t vp9_ac_quant(int qindex, int delta);