Lines Matching refs:log_scale
42 const qm_val_t *iqm_ptr, int log_scale) { in quantize_fp_helper_c() argument
44 const int rounding[2] = { ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in quantize_fp_helper_c()
45 ROUND_POWER_OF_TWO(round_ptr[1], log_scale) }; in quantize_fp_helper_c()
63 if ((abs_coeff << (1 + log_scale)) >= thresh) { in quantize_fp_helper_c()
66 tmp32 = (int)((abs_coeff * quant_ptr[rc != 0]) >> (16 - log_scale)); in quantize_fp_helper_c()
70 (tmp32 * dequant_ptr[rc != 0]) >> log_scale; in quantize_fp_helper_c()
91 (dequant_ptr[rc != 0] << (AOM_QM_BITS - (1 + log_scale)))) { in quantize_fp_helper_c()
95 (16 - log_scale + AOM_QM_BITS)); in quantize_fp_helper_c()
97 const tran_low_t abs_dqcoeff = (tmp32 * dequant) >> log_scale; in quantize_fp_helper_c()
114 const qm_val_t *iqm_ptr, int log_scale) { in highbd_quantize_fp_helper_c() argument
117 const int shift = 16 - log_scale; in highbd_quantize_fp_helper_c()
139 (dequant_ptr[rc != 0] << (AOM_QM_BITS - (1 + log_scale)))) { in highbd_quantize_fp_helper_c()
141 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in highbd_quantize_fp_helper_c()
145 const tran_low_t abs_dqcoeff = (abs_qcoeff * dequant) >> log_scale; in highbd_quantize_fp_helper_c()
155 ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in highbd_quantize_fp_helper_c()
156 ROUND_POWER_OF_TWO(round_ptr[1], log_scale), in highbd_quantize_fp_helper_c()
165 if ((abs_coeff << (1 + log_scale)) >= dequant_ptr[rc01]) { in highbd_quantize_fp_helper_c()
171 const tran_low_t abs_dqcoeff = (abs_qcoeff * dequant) >> log_scale; in highbd_quantize_fp_helper_c()
258 sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_quantize_fp_facade()
260 switch (qparam->log_scale) { in av1_quantize_fp_facade()
297 sc->scan, sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_quantize_b_facade()
299 switch (qparam->log_scale) { in av1_quantize_b_facade()
326 sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_quantize_b_facade()
328 switch (qparam->log_scale) { in av1_quantize_b_facade()
358 const qm_val_t *iqm_ptr, const int log_scale) { in quantize_dc() argument
374 tmp = clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in quantize_dc()
376 tmp32 = (int32_t)((tmp * wt * quant) >> (16 - log_scale + AOM_QM_BITS)); in quantize_dc()
379 const tran_low_t abs_dqcoeff = (tmp32 * dequant) >> log_scale; in quantize_dc()
393 assert(qparam->log_scale >= 0 && qparam->log_scale < (3)); in av1_quantize_dc_facade()
398 eob_ptr, qm_ptr, iqm_ptr, qparam->log_scale); in av1_quantize_dc_facade()
414 sc->scan, sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_highbd_quantize_fp_facade()
419 sc->iscan, qparam->log_scale); in av1_highbd_quantize_fp_facade()
436 sc->scan, sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_highbd_quantize_b_facade()
438 switch (qparam->log_scale) { in av1_highbd_quantize_b_facade()
465 sc->scan, sc->iscan, qm_ptr, iqm_ptr, qparam->log_scale); in av1_highbd_quantize_b_facade()
467 switch (qparam->log_scale) { in av1_highbd_quantize_b_facade()
496 const qm_val_t *qm_ptr, const qm_val_t *iqm_ptr, const int log_scale) { in highbd_quantize_dc() argument
508 const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[0], log_scale); in highbd_quantize_dc()
511 (int)((tmpw * quant) >> (16 - log_scale + AOM_QM_BITS)); in highbd_quantize_dc()
516 const tran_low_t abs_dqcoeff = (abs_qcoeff * dequant) >> log_scale; in highbd_quantize_dc()
538 qparam->log_scale); in av1_highbd_quantize_dc_facade()
548 int log_scale) { in av1_highbd_quantize_fp_c() argument
552 log_scale); in av1_highbd_quantize_fp_c()