Lines Matching refs:maxVal

542       FIXP_DBL maxVal = (FIXP_DBL)0;  in apply_inter_tes()  local
552 maxVal |= (FIXP_DBL)((LONG)(bufferImag[j]) ^ in apply_inter_tes()
555 maxVal |= (FIXP_DBL)((LONG)(bufferReal[j]) ^ in apply_inter_tes()
562 if (maxVal != FL2FXCONST_DBL(0.f)) { in apply_inter_tes()
564 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
585 maxVal = (FIXP_DBL)0; in apply_inter_tes()
591 maxVal |= (FIXP_DBL)((LONG)(bufferImag[j]) ^ in apply_inter_tes()
594 maxVal |= (FIXP_DBL)((LONG)(bufferReal[j]) ^ in apply_inter_tes()
601 if (maxVal != FL2FXCONST_DBL(0.f)) { in apply_inter_tes()
602 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
1655 FIXP_DBL maxVal; in calculateSbrEnvelope() local
1659 maxVal = in calculateSbrEnvelope()
1663 ov_reserve = fNorm(maxVal); in calculateSbrEnvelope()
1666 maxVal = in calculateSbrEnvelope()
1670 reserve = fNorm(maxVal); in calculateSbrEnvelope()
1893 static inline FIXP_DBL FDK_get_maxval_real(FIXP_DBL maxVal, FIXP_DBL *reTmp, in FDK_get_maxval_real() argument
1895 maxVal = (FIXP_DBL)0; in FDK_get_maxval_real()
1898 maxVal |= (FIXP_DBL)((LONG)(tmp) ^ ((LONG)tmp >> (DFRACT_BITS - 1))); in FDK_get_maxval_real()
1901 return maxVal; in FDK_get_maxval_real()
1921 FIXP_DBL maxVal = FL2FX_DBL(0.0f); in maxSubbandSample() local
1935 maxVal |= in maxSubbandSample()
1937 maxVal |= in maxSubbandSample()
1943 maxVal |= FDK_get_maxval_real(maxVal, &re[l][lowSubband], width); in maxSubbandSample()
1948 if (maxVal > (FIXP_DBL)0) { in maxSubbandSample()
1952 (FIXP_DBL)(1 << (DFRACT_BITS - 1 - CntLeadingZeros(maxVal))); in maxSubbandSample()
1953 if (maxVal == lowerPow2) maxVal += (FIXP_DBL)1; in maxSubbandSample()
1956 return (maxVal); in maxSubbandSample()
2014 FIXP_DBL maxVal; in calcNrgPerSubband() local
2018 maxVal = FL2FX_DBL(0.0f); in calcNrgPerSubband()
2021 maxVal |= (FIXP_DBL)((LONG)(bufferImag[l]) ^ in calcNrgPerSubband()
2024 maxVal |= (FIXP_DBL)((LONG)(bufferReal[l]) ^ in calcNrgPerSubband()
2029 maxVal = FL2FX_DBL(0.0f); in calcNrgPerSubband()
2032 maxVal |= (FIXP_DBL)((LONG)(bufferReal[l]) ^ in calcNrgPerSubband()
2037 if (maxVal != FL2FXCONST_DBL(0.f)) { in calcNrgPerSubband()
2045 preShift = CntLeadingZeros(maxVal) - 1; in calcNrgPerSubband()
2147 FIXP_DBL maxVal = maxSubbandSample(analysBufferReal, analysBufferImag, li, in calcNrgPerSfb() local
2150 if (maxVal != FL2FXCONST_DBL(0.f)) { in calcNrgPerSfb()
2151 preShift = CntLeadingZeros(maxVal) - 1; in calcNrgPerSfb()