Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/audio/aac/dec/src/
Dlong_term_synthesis.cpp599 Int shift_factor; in long_term_synthesis() local
744 shift_factor = *(pQ_format) - adjusted_pred_q; in long_term_synthesis()
746 if ((shift_factor >= 0) && (shift_factor < 31)) in long_term_synthesis()
748 shift_factor = shift_factor + 1; in long_term_synthesis()
755 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
758 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
761 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
764 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
773 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
776 temp = *pCurrent_frame >> shift_factor; in long_term_synthesis()
[all …]
Dsbr_generate_high_freq.cpp517 if (quotient.shift_factor > 0) in high_freq_coeff_LC()
519 fac >>= quotient.shift_factor; /* Q28 */ in high_freq_coeff_LC()
521 else if (quotient.shift_factor < 0) in high_freq_coeff_LC()
523 if (quotient.shift_factor > -4) /* |fac| < 8 */ in high_freq_coeff_LC()
525 fac <<= (-quotient.shift_factor); /* Q28 */ in high_freq_coeff_LC()
536 if (quotient.shift_factor > 0) in high_freq_coeff_LC()
538 k1[loBand] = - quotient.quotient >> quotient.shift_factor; in high_freq_coeff_LC()
540 else if (quotient.shift_factor == 0) in high_freq_coeff_LC()
590 quotient.shift_factor += 2; /* Q28 */ in high_freq_coeff_LC()
592 if (quotient.shift_factor > 0) in high_freq_coeff_LC()
[all …]
Dpv_sqrt.cpp131 result->shift_factor = (Int16)sqrt_cache[3]; in pv_sqrt()
182 result->shift_factor = (nn >> 1) - 28; in pv_sqrt()
186 result->shift_factor = (nn >> 1) - 29; in pv_sqrt()
196 result->shift_factor = -((-nn) >> 1) - 29; in pv_sqrt()
205 result->shift_factor = 0; in pv_sqrt()
211 sqrt_cache[3] = result->shift_factor; in pv_sqrt()
Dpv_pow2.cpp124 Int32 shift_factor; in pv_pow2() local
133 shift_factor = z >> 27; in pv_pow2()
138 shift_factor = 0; in pv_pow2()
166 return (y >> (4 - shift_factor)); in pv_pow2()
Dcalc_sbr_envelope.cpp515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]); in calc_sbr_envelope()
532 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30; in calc_sbr_envelope()
536 nrg_gain_exp[c] = root_sq.shift_factor; in calc_sbr_envelope()
568 tmp_q2 = nrg_ref_exp[c] - tmp_q2 - quotient.shift_factor; in calc_sbr_envelope()
572 nrg_tone_exp[c] = root_sq.shift_factor; in calc_sbr_envelope()
597 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30; in calc_sbr_envelope()
601 nrg_gain_exp[c] = root_sq.shift_factor; in calc_sbr_envelope()
632 tmp_q2 = nrg_ref_exp[c] - quotient.shift_factor - 30 - nL_exp[aux1]; in calc_sbr_envelope()
638 … tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30 - nL_exp[aux1]; in calc_sbr_envelope()
660 tmp_q2 = nrg_ref_exp[c] - quotient.shift_factor - 30; in calc_sbr_envelope()
[all …]
Dpv_div.cpp116 result->shift_factor = 0; /* default */ in pv_div()
158 result->shift_factor = i - j; in pv_div()
Dsbr_aliasing_reduction.cpp267 tmp_q2 += - tmp_q1 - quotient.shift_factor - 2; in sbr_aliasing_reduction()
337 bst_exp = ref_total_exp - bst_exp - quotient.shift_factor - 30; in sbr_aliasing_reduction()
345 nrg_gain_exp[k] = root_sq.shift_factor; in sbr_aliasing_reduction()
Dpv_div.h63 Int32 shift_factor; member
Dpv_sqrt.h63 Int32 shift_factor; member
Dps_pwr_transient_detection.cpp330 *(aPower++) = (result.quotient >> (result.shift_factor)) << 1; /* in Q31 */ in ps_pwr_transient_detection()
/external/tesseract/textord/
Dtopitch.cpp420 float shift_factor; //page skew correction in try_doc_fixed() local
435 shift_factor = gradient / (gradient * gradient + 1); in try_doc_fixed()
458 shift_factor * (master_y - row_y)); in try_doc_fixed()
461 shift_factor * (master_y - row_y)); in try_doc_fixed()
481 shift_factor * (master_y - row_y)); in try_doc_fixed()
521 row_shift = shift_factor * (master_y - row_y); in try_doc_fixed()