Searched refs:scale_1 (Results 1 – 2 of 2) sorted by relevance
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 653 INT scale_0, scale_1; in FDKsbrEnc_InitSbrTransientDetector() local 677 tmp = fDivNorm(FL2FXCONST_DBL(0.000075), fPow2(tmp), &scale_1); in FDKsbrEnc_InitSbrTransientDetector() 679 scale_1 = -(scale_1 + scale_0 + 2); in FDKsbrEnc_InitSbrTransientDetector() 688 if (scale_1>=0) { in FDKsbrEnc_InitSbrTransientDetector() 689 h_sbrTransientDetector->split_thr = fMult(tmp, bitrateFactor_fix) >> scale_1; in FDKsbrEnc_InitSbrTransientDetector() 692 h_sbrTransientDetector->split_thr = fMult(tmp, bitrateFactor_fix) << (-scale_1); in FDKsbrEnc_InitSbrTransientDetector()
|
/external/speex/libspeex/ |
D | filters.c | 127 spx_word16_t scale_1; in signal_div() local 129 scale_1 = EXTRACT16(PDIV32_16(SHL32(EXTEND32(SIG_SCALING),7),scale)); in signal_div() 132 y[i] = MULT16_16_P15(scale_1, x[i]); in signal_div() 135 spx_word16_t scale_1; in signal_div() local 137 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale); in signal_div() 140 y[i] = PSHR32(MULT16_16(scale_1, SHL16(x[i],2)),8); in signal_div() 143 spx_word16_t scale_1; in signal_div() local 147 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale); in signal_div() 150 y[i] = PSHR32(MULT16_16(scale_1, SHL16(x[i],2)),6); in signal_div() 167 float scale_1 = 1/scale; in signal_div() local [all …]
|