Lines Matching refs:SCHAR
161 SCHAR nrgRef_e[MAX_FREQ_COEFFS];
162 SCHAR nrgEst_e[MAX_FREQ_COEFFS];
163 SCHAR nrgGain_e[MAX_FREQ_COEFFS];
164 SCHAR noiseLevel_e[MAX_FREQ_COEFFS];
165 SCHAR nrgSine_e[MAX_FREQ_COEFFS];
167 SCHAR exponent[2];
170 static void equalizeFiltBufferExp(FIXP_DBL *filtBuffer, SCHAR *filtBuffer_e,
171 FIXP_DBL *NrgGain, SCHAR *NrgGain_e,
177 SCHAR frameExp, FIXP_DBL *nrgEst,
178 SCHAR *nrgEst_e);
183 SCHAR input_e, FIXP_DBL *nrg_est, SCHAR *nrg_est_e);
185 static void calcSubbandGain(FIXP_DBL nrgRef, SCHAR nrgRef_e,
187 SCHAR tmpNoise_e, UCHAR sinePresentFlag,
191 FIXP_DBL *sumRef_m, SCHAR *sumRef_e,
192 FIXP_DBL *ptrAvgGain_m, SCHAR *ptrAvgGain_e);
252 SCHAR *sineMapped) /*!< Resulting vector of sine start positions for each in mapSineFlags()
278 MAX_FREQ_COEFFS * sizeof(SCHAR)); /* 32 means 'no sine' */ in mapSineFlags()
333 SCHAR *sineMapped, /*!< Resulting vector of sine start positions in mapSineFlagsPvc()
336 SCHAR *sinusoidalPosPrev, /*!< sinusoidal position of previous in mapSineFlagsPvc()
383 SCHAR *nrgGain_e = in aliasingReduction()
386 SCHAR *nrgEst_e = in aliasingReduction()
423 SCHAR nrgOrig_e = 0; in aliasingReduction()
426 SCHAR nrgAmp_e = 0; in aliasingReduction()
429 SCHAR nrgMod_e = 0; in aliasingReduction()
431 SCHAR groupGain_e; in aliasingReduction()
434 SCHAR compensation_e; in aliasingReduction()
444 SCHAR tmp_e = nrgEst_e[k]; in aliasingReduction()
461 SCHAR tmp_e; in aliasingReduction()
502 SCHAR subsample_power_low_sf[(((1024) / (32) * (4) / 2) + (3 * (4)))];
503 SCHAR subsample_power_high_sf[(((1024) / (32) * (4) / 2) + (3 * (4)))];
508 const SCHAR exp[2], const int RATE, in apply_inter_tes()
514 SCHAR *subsample_power_high_sf, *subsample_power_low_sf; in apply_inter_tes()
918 SCHAR sineMapped[MAX_FREQ_COEFFS]; in calculateSbrEnvelope()
919 SCHAR ov_adj_e = SCALE2EXP(sbrScaleFactor->ov_hb_scale); in calculateSbrEnvelope()
920 SCHAR adj_e = 0; in calculateSbrEnvelope()
921 SCHAR output_e; in calculateSbrEnvelope()
922 SCHAR final_e = 0; in calculateSbrEnvelope()
926 SCHAR maxGainLimit_e = (frameErrorFlag) ? MAX_GAIN_CONCEAL_EXP : MAX_GAIN_EXP; in calculateSbrEnvelope()
1063 SCHAR noise_e, input_e = SCALE2EXP(sbrScaleFactor->hb_scale); in calculateSbrEnvelope()
1187 SCHAR tmpNoise_e = in calculateSbrEnvelope()
1205 SCHAR refNrg_e = pNrgs->nrgRef_e[k - lowSubband]; in calculateSbrEnvelope()
1211 (SCHAR)((LONG)(*pNoiseLevels++) & MASK_E) - NOISE_EXP_OFFSET; in calculateSbrEnvelope()
1232 SCHAR refNrg_e = (SCHAR)((LONG)(*pIenv) & MASK_E) - NRG_EXP_OFFSET; in calculateSbrEnvelope()
1248 (SCHAR)((LONG)(*pNoiseLevels++) & MASK_E) - NOISE_EXP_OFFSET; in calculateSbrEnvelope()
1280 SCHAR sumRef_e, boostGain_e, maxGain_e, accu_e = 0; in calculateSbrEnvelope()
1301 (maxGainLimGainSum_e > 127) ? (SCHAR)127 : (SCHAR)maxGainLimGainSum_e; in calculateSbrEnvelope()
1307 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope()
1324 SCHAR noiseAmp_e; in calculateSbrEnvelope()
1345 SCHAR tmp_e = pNrgs->nrgGain_e[k] + pNrgs->nrgEst_e[k]; in calculateSbrEnvelope()
1432 noSubbands * sizeof(SCHAR)); in calculateSbrEnvelope()
1597 (SCHAR)((15 - sbrScaleFactor->hb_scale) + pNrgs->nrgGain_e[0] + 1 - in calculateSbrEnvelope()
1642 noSubbands * sizeof(SCHAR)); in calculateSbrEnvelope()
1821 SCHAR *filtBuffer_e, /*!< exponents of bufferd gains */ in equalizeFiltBufferExp()
1823 SCHAR *nrgGain_e, /*!< exponents of gains for current envelope */ in equalizeFiltBufferExp()
1995 SCHAR frameExp, /*!< Common exponent for all input samples */ in calcNrgPerSubband()
1997 SCHAR *nrgEst_e) /*!< Exponent of resulting Energy */ in calcNrgPerSubband()
2000 SCHAR preShift; in calcNrgPerSubband()
2001 SCHAR shift; in calcNrgPerSubband()
2052 preShift = fMin(preShift, (SCHAR)25); in calcNrgPerSubband()
2123 SCHAR input_e, /*!< Common exponent for all input samples */ in calcNrgPerSfb()
2125 SCHAR *nrgEst_e) /*!< Exponent of resulting Energy */ in calcNrgPerSfb()
2129 SCHAR preShift; in calcNrgPerSfb()
2130 SCHAR shift, sum_e; in calcNrgPerSfb()
2243 SCHAR in calcSubbandGain()
2246 SCHAR tmpNoise_e, /*!< Relative noise level (exponent) */ in calcSubbandGain()
2252 SCHAR nrgEst_e = in calcSubbandGain()
2255 SCHAR *ptrNrgGain_e = in calcSubbandGain()
2259 SCHAR *ptrNoiseLevel_e = in calcSubbandGain()
2262 SCHAR *ptrNrgSine_e = in calcSubbandGain()
2266 SCHAR a_e, b_e, c_e; in calcSubbandGain()
2330 *ptrNrgGain_e = (SCHAR)result_exp + (nrgRef_e - b_e); in calcSubbandGain()
2351 FIXP_DBL *ptrSumRef, SCHAR *ptrSumRef_e, in calcAvgGain()
2353 SCHAR *ptrAvgGain_e) /*!< Resulting overall gain (exponent) */ in calcAvgGain()
2357 SCHAR *nrgRef_e = in calcAvgGain()
2361 SCHAR *nrgEst_e = in calcAvgGain()
2366 SCHAR sumRef_e = -FRACT_BITS; in calcAvgGain()
2367 SCHAR sumEst_e = -FRACT_BITS; in calcAvgGain()