• Home
  • Raw
  • Download

Lines Matching refs:FIXP_SGL

188     FIXP_SGL currVal,   /*!< current energy value */  in mapLowResEnergyVal()
189 FIXP_SGL *prevData, /*!< pointer to previous data vector */ in mapLowResEnergyVal()
241 FIXP_SGL tempSfbNrgPrev[MAX_FREQ_COEFFS]; in decodeSbrData()
247 MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeSbrData()
275 MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeSbrData()
298 FIXP_SGL tempL_m, tempR_m, tempRplus1_m, newL_m, newR_m; in sbr_envelope_unmapping()
304 tempR_m = (FIXP_SGL)((LONG)h_data_right->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
309 tempL_m = (FIXP_SGL)((LONG)h_data_left->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
321 if (newR_m >= ((FIXP_SGL)MAXVAL_SGL - ROUNDING)) { in sbr_envelope_unmapping()
330 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newR_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
331 (FIXP_SGL)((SHORT)(FIXP_SGL)(newR_e + NRG_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
333 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newL_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
334 (FIXP_SGL)((SHORT)(FIXP_SGL)(newL_e + NRG_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
364 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newR_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
365 (FIXP_SGL)((SHORT)(FIXP_SGL)(newR_e + NOISE_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
367 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newL_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
368 (FIXP_SGL)((SHORT)(FIXP_SGL)(newL_e + NOISE_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
385 FIXP_SGL target; /* targeted level for sfb_nrg_prev during fade-down */ in leanSbrConcealment()
386 FIXP_SGL step; /* speed of fade */ in leanSbrConcealment()
417 target = (FIXP_SGL)SBR_ENERGY_PAN_OFFSET; in leanSbrConcealment()
418 step = (FIXP_SGL)DECAY_COUPLING; in leanSbrConcealment()
421 step = (FIXP_SGL)DECAY; in leanSbrConcealment()
459 FIXP_SGL tempSfbNrgPrev[MAX_FREQ_COEFFS]; in decodeEnvelope()
512 : (FIXP_SGL)SBR_ENERGY_PAN_OFFSET; in decodeEnvelope()
521 h_prev_data->sfb_nrg_prev[i] = (FIXP_SGL)SBR_ENERGY_PAN_OFFSET; in decodeEnvelope()
527 MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeEnvelope()
536 MAX_FREQ_COEFFS * sizeof(FIXP_SGL)); in decodeEnvelope()
556 FIXP_SGL *iEnvelope = h_sbr_data->iEnvelope; in checkEnvelopeData()
557 FIXP_SGL *sfb_nrg_prev = h_prev_data->sfb_nrg_prev; in checkEnvelopeData()
559 FIXP_SGL sbr_max_energy = (h_sbr_data->ampResolutionCurrentFrame == 1) in checkEnvelopeData()
607 ((FIXP_SGL)0) /* lowerLimit actually refers to the _highest_ noise energy */ in limitNoiseLevels()
609 ((FIXP_SGL)35) /* upperLimit actually refers to the _lowest_ noise energy */ in limitNoiseLevels()
637 FIXP_SGL deltaExp; in timeCompensateFirstEnvelope()
693 FIXP_SGL mantissa; in requantizeEnvelopeData()
701 static const FIXP_SGL pow2[ENV_EXP_FRACT] = { in requantizeEnvelopeData()
732 mantissa = (FIXP_SGL)((mantissa * pow2[bit]) << 1); in requantizeEnvelopeData()
759 ((FIXP_SGL)((SHORT)(FIXP_SGL)mantissa & MASK_M)) + in requantizeEnvelopeData()
760 (FIXP_SGL)((SHORT)(FIXP_SGL)exponent & MASK_E); in requantizeEnvelopeData()
774 FIXP_SGL *sfb_nrg_prev = h_prev_data->sfb_nrg_prev; in deltaToLinearPcmEnvelopeDecoding()
775 FIXP_SGL *ptr_nrg = h_sbr_data->iEnvelope; in deltaToLinearPcmEnvelopeDecoding()
824 FIXP_SGL noiseLevel = h_sbr_data->sbrNoiseFloorLevel[0]; in decodeNoiseFloorlevels()
840 FIXP_SGL noiseLevel = h_sbr_data->sbrNoiseFloorLevel[nNfb]; in decodeNoiseFloorlevels()
869 (FIXP_SGL)(((LONG)FL2FXCONST_SGL(0.5f)) + /* mantissa */ in decodeNoiseFloorlevels()