Lines Matching full: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
278 MAX_FREQ_COEFFS * sizeof(SCHAR)); /* 32 means 'no sine' */
333 SCHAR *sineMapped, /*!< Resulting vector of sine start positions
336 SCHAR *sinusoidalPosPrev, /*!< sinusoidal position of previous
383 SCHAR *nrgGain_e =
386 SCHAR *nrgEst_e =
423 SCHAR nrgOrig_e = 0;
426 SCHAR nrgAmp_e = 0;
429 SCHAR nrgMod_e = 0;
431 SCHAR groupGain_e;
434 SCHAR compensation_e;
444 SCHAR tmp_e = nrgEst_e[k];
461 SCHAR tmp_e;
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,
514 SCHAR *subsample_power_high_sf, *subsample_power_low_sf;
871 SCHAR* nrgRef_e = nrgRef_m + MAX_FREQ_COEFFS;
873 SCHAR* nrgEst_e = nrgEst_m + MAX_FREQ_COEFFS;
916 SCHAR sineMapped[MAX_FREQ_COEFFS];
917 SCHAR ov_adj_e = SCALE2EXP(sbrScaleFactor->ov_hb_scale);
918 SCHAR adj_e = 0;
919 SCHAR output_e;
920 SCHAR final_e = 0;
924 SCHAR maxGainLimit_e = (frameErrorFlag) ? MAX_GAIN_CONCEAL_EXP : MAX_GAIN_EXP;
1061 SCHAR noise_e, input_e = SCALE2EXP(sbrScaleFactor->hb_scale);
1185 SCHAR tmpNoise_e =
1203 SCHAR refNrg_e = pNrgs->nrgRef_e[k - lowSubband];
1209 (SCHAR)((LONG)(*pNoiseLevels++) & MASK_E) - NOISE_EXP_OFFSET;
1230 SCHAR refNrg_e = (SCHAR)((LONG)(*pIenv) & MASK_E) - NRG_EXP_OFFSET;
1246 (SCHAR)((LONG)(*pNoiseLevels++) & MASK_E) - NOISE_EXP_OFFSET;
1278 SCHAR sumRef_e, boostGain_e, maxGain_e, accu_e = 0;
1292 yield values greater than 127 which doesn't fit into an SCHAR! In these
1299 (maxGainLimGainSum_e > 127) ? (SCHAR)127 : (SCHAR)maxGainLimGainSum_e;
1305 SCHAR charTemp = CountLeadingBits(maxGain);
1322 SCHAR noiseAmp_e;
1343 SCHAR tmp_e = pNrgs->nrgGain_e[k] + pNrgs->nrgEst_e[k];
1430 noSubbands * sizeof(SCHAR));
1593 (SCHAR)((15 - sbrScaleFactor->hb_scale) + pNrgs->nrgGain_e[0] + 1 -
1638 noSubbands * sizeof(SCHAR));
1817 SCHAR *filtBuffer_e, /*!< exponents of bufferd gains */
1819 SCHAR *nrgGain_e, /*!< exponents of gains for current envelope */
1991 SCHAR frameExp, /*!< Common exponent for all input samples */
1993 SCHAR *nrgEst_e) /*!< Exponent of resulting Energy */
1996 SCHAR preShift;
1997 SCHAR shift;
2048 preShift = fMin(preShift, (SCHAR)25);
2119 SCHAR input_e, /*!< Common exponent for all input samples */
2121 SCHAR *nrgEst_e) /*!< Exponent of resulting Energy */
2125 SCHAR preShift;
2126 SCHAR shift, sum_e;
2239 SCHAR
2242 SCHAR tmpNoise_e, /*!< Relative noise level (exponent) */
2248 SCHAR nrgEst_e =
2251 SCHAR *ptrNrgGain_e =
2255 SCHAR *ptrNoiseLevel_e =
2258 SCHAR *ptrNrgSine_e =
2262 SCHAR a_e, b_e, c_e;
2339 FIXP_DBL *ptrSumRef, SCHAR *ptrSumRef_e,
2341 SCHAR *ptrAvgGain_e) /*!< Resulting overall gain (exponent) */
2345 SCHAR *nrgRef_e =
2349 SCHAR *nrgEst_e =
2354 SCHAR sumRef_e = -FRACT_BITS;
2355 SCHAR sumEst_e = -FRACT_BITS;