Home
last modified time | relevance | path

Searched refs:FIXP_SGL (Results 1 – 25 of 92) sorted by relevance

1234

/external/aac/libFDK/include/
Dcplx_mul.h125 const FIXP_DBL a_Im, const FIXP_SGL b_Re, in cplxMultDiv2()
126 const FIXP_SGL b_Im) { in cplxMultDiv2()
135 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_SGL a_Re, in cplxMultDiv2()
136 const FIXP_SGL a_Im, const FIXP_SGL b_Re, in cplxMultDiv2()
137 const FIXP_SGL b_Im) { in cplxMultDiv2()
142 inline void cplxMultDiv2(FIXP_SGL *c_Re, FIXP_SGL *c_Im, const FIXP_SGL a_Re, in cplxMultDiv2()
143 const FIXP_SGL a_Im, const FIXP_SGL b_Re, in cplxMultDiv2()
144 const FIXP_SGL b_Im) { in cplxMultDiv2()
162 inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, const FIXP_SGL a_Re, in cplxMultDiv2()
163 const FIXP_SGL a_Im, const FIXP_SPK w) { in cplxMultDiv2()
[all …]
Dcommon_fix.h125 #define FIXP_PCM FIXP_SGL
128 #define FX_PCM2FX_DBL(x) FX_SGL2FX_DBL((FIXP_SGL)(x))
164 ? (FIXP_SGL)(SHORT)(((LONG)1 << (FRACT_BITS - 1)) - 1) \
165 : (FIXP_SGL)(SHORT)((((val) >> (DFRACT_BITS - FRACT_BITS - 1)) + 1) >> \
170 typedef SHORT FIXP_SGL; typedef
180 (FIXP_SGL)( \
215 #define FX_ACC2FX_SGL(val) ((FIXP_SGL)((val) >> (ACCU_BITS - FRACT_BITS)))
220 #define FX_DBL2FX_SGL(val) ((FIXP_SGL)((val) >> (DFRACT_BITS - FRACT_BITS)))
276 FDK_INLINE FIXP_SGL fAbs(FIXP_SGL x) { return fixabs_S(x); } in fAbs()
293 FDK_INLINE INT fNormz(FIXP_SGL x) { return fixnormz_S(x); } in fNormz()
[all …]
Dfixmadd.h130 inline FIXP_DBL fixmadddiv2_SD(FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmadddiv2_SD()
140 inline FIXP_DBL fixmadddiv2_DS(FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmadddiv2_DS()
150 inline FIXP_DBL fixmadddiv2_SS(FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) { in fixmadddiv2_SS()
162 inline FIXP_DBL fixmsubdiv2_SD(FIXP_DBL x, const FIXP_SGL a, const FIXP_DBL b) { in fixmsubdiv2_SD()
172 inline FIXP_DBL fixmsubdiv2_DS(FIXP_DBL x, const FIXP_DBL a, const FIXP_SGL b) { in fixmsubdiv2_DS()
182 inline FIXP_DBL fixmsubdiv2_SS(FIXP_DBL x, const FIXP_SGL a, const FIXP_SGL b) { in fixmsubdiv2_SS()
196 inline FIXP_DBL fixmadddiv2BitExact_SD(FIXP_DBL x, const FIXP_SGL a, in fixmadddiv2BitExact_SD()
208 const FIXP_SGL b) { in fixmadddiv2BitExact_DS()
226 inline FIXP_DBL fixmsubdiv2BitExact_SD(FIXP_DBL x, const FIXP_SGL a, in fixmsubdiv2BitExact_SD()
238 const FIXP_SGL b) { in fixmsubdiv2BitExact_DS()
[all …]
Dscale.h120 void scaleValues(FIXP_SGL *vector, INT len, INT scalefactor);
126 void scaleValues(FIXP_SGL *dst, const FIXP_SGL *src, INT len, INT scalefactor);
134 void scaleValuesSaturate(FIXP_SGL *dst, const FIXP_DBL *src, INT len,
136 void scaleValuesSaturate(FIXP_SGL *vector, INT len, INT scalefactor);
137 void scaleValuesSaturate(FIXP_SGL *dst, const FIXP_SGL *src, INT len,
142 INT getScalefactor(const FIXP_SGL *vector, INT len);
161 inline FIXP_SGL scaleValue(const FIXP_SGL value, /*!< Value */ in scaleValue()
Dclz.h169 inline INT fixnorm_S(FIXP_SGL val) { in fixnorm_S()
170 if (val == (FIXP_SGL)0) { in fixnorm_S()
176 inline INT fixnorm_S(FIXP_SGL val) { in fixnorm_S()
178 if (val != (FIXP_SGL)0) { in fixnorm_S()
179 if (val < (FIXP_SGL)0) { in fixnorm_S()
Dabs.h131 inline FIXP_SGL fixabs_S(FIXP_SGL x) { in fixabs_S()
132 return ((x) > (FIXP_SGL)(0)) ? (x) : -(x); in fixabs_S()
Dfixpoint_math.h131 static const FIXP_SGL ldCoeff[MAX_LD_PRECISION] = {
194 FDK_INLINE INT fIsLessThan(FIXP_SGL a_m, INT a_e, FIXP_SGL b_m, INT b_e) { in fIsLessThan()
205 if (a_m == (FIXP_SGL)0) a_e = b_e; in fIsLessThan()
206 if (b_m == (FIXP_SGL)0) b_e = a_e; in fIsLessThan()
232 FIXP_SGL frac = (FIXP_SGL)((LONG)x & 0x3FF); in CalcInvLdData()
243 lookup3 + (UINT)(LONG)fMultDiv2((FIXP_DBL)(0x0016302F), (FIXP_SGL)frac); in CalcInvLdData()
443 FIXP_DBL mul_dbl_sgl_rnd(const FIXP_DBL op1, const FIXP_SGL op2);
896 inline FIXP_SGL fAddSaturate(const FIXP_SGL a, const FIXP_SGL b) { in fAddSaturate()
901 return (FIXP_SGL)(SHORT)sum; in fAddSaturate()
/external/aac/libSBRdec/src/
Denv_dec.cpp188 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()
[all …]
Dsbr_rom.h148 extern const FIXP_SGL FDK_sbrDecoder_sbr_limGains_m[4];
150 extern const FIXP_SGL FDK_sbrDecoder_sbr_limGainsPvc_m[4];
152 extern const FIXP_SGL FDK_sbrDecoder_sbr_limiterBandsPerOctaveDiv4[4];
154 extern const FIXP_SGL FDK_sbrDecoder_sbr_smoothFilter[4];
155 extern const FIXP_SGL FDK_sbrDecoder_sbr_randomPhase[SBR_NF_NO_RANDOM_VAL][2];
214 extern const FIXP_SGL FDK_sbrDecoder_invTable[INV_TABLE_SIZE];
Dtranscendent.h124 static inline FIXP_SGL FDK_getNumOctavesDiv8(INT a, /*!< lower band */ in FDK_getNumOctavesDiv8()
138 inline void FDK_add_MantExp(FIXP_SGL a_m, /*!< Mantissa of 1st operand a */ in FDK_add_MantExp()
140 FIXP_SGL b_m, /*!< Mantissa of 2nd operand b */ in FDK_add_MantExp()
142 FIXP_SGL *ptrSum_m, /*!< Mantissa of result */ in FDK_add_MantExp()
227 FIXP_SGL a_m, /*!< Mantissa of dividend a */ in FDK_divide_MantExp()
229 FIXP_SGL b_m, /*!< Mantissa of divisor b */ in FDK_divide_MantExp()
231 FIXP_SGL *ptrResult_m, /*!< Mantissa of quotient a/b */ in FDK_divide_MantExp()
237 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
293 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
Denv_extr.h149 ((FIXP_SGL)( \
316 FIXP_SGL sfb_nrg_prev[MAX_FREQ_COEFFS]; /*!< Previous envelope (required for
318 FIXP_SGL
352 FIXP_SGL iEnvelope[MAX_NUM_ENVELOPE_VALUES]; /*!< Envelope data */
353 FIXP_SGL sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES]; /*!< Noise envelope data */
/external/aac/libDRCdec/src/
DdrcGainDec_preprocess.cpp124 FIXP_SGL limiterPeakTarget;
126 FIXP_SGL compress;
127 FIXP_SGL boost;
159 static int _getSign(FIXP_SGL in) { in _getSign()
303 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid()
309 if (exp < (FIXP_SGL)MAXVAL_SGL) { in _compressorIO_sigmoid()
326 const CUSTOM_DRC_CHAR_SIGMOID* pCChar, const FIXP_SGL gainDb, in _compressorIO_sigmoid_inverse()
329 FIXP_SGL ioRatio = pCChar->ioRatio; in _compressorIO_sigmoid_inverse()
330 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid_inverse()
337 if (exp < (FIXP_SGL)MAXVAL_SGL) { in _compressorIO_sigmoid_inverse()
[all …]
DdrcDec_types.h116 FIXP_SGL gainDb; /* e = 7 */
182 FIXP_SGL duckingScaling; /* e = 2 */
191 FIXP_SGL attenuationScaling; /* e = 2 */
192 FIXP_SGL amplificationScaling; /* e = 2 */
194 FIXP_SGL gainOffset; /* e = 4 */
231 FIXP_SGL gain; /* e = 6 */
232 FIXP_SGL ioRatio; /* e = 2 */
233 FIXP_SGL exp; /* e = 5 */
239 FIXP_SGL nodeLevel[4 + 1]; /* e = 7 */
240 FIXP_SGL nodeGain[4 + 1]; /* e = 7 */
[all …]
DdrcDec_reader.cpp212 static FIXP_SGL _decodeGainInitial( in _decodeGainInitial()
215 FIXP_SGL gainInitial = (FIXP_SGL)0; in _decodeGainInitial()
222 (FIXP_SGL)(magn << (FRACT_BITS - 1 - 3 - 7)); /* magn * 0.125; */ in _decodeGainInitial()
228 gainInitial = (FIXP_SGL)0; in _decodeGainInitial()
231 gainInitial = -(FIXP_SGL)( in _decodeGainInitial()
238 gainInitial = (FIXP_SGL)0; in _decodeGainInitial()
241 gainInitial = -(FIXP_SGL)( in _decodeGainInitial()
283 (FIXP_SGL)(deltaGain << (FRACT_BITS - 1 - 7 - in _decodeGains()
417 pNodes[0].gainDb = (FIXP_SGL)0; in _readDrcGainSequence()
545 pDMod->duckingScaling = (FIXP_SGL)( in _decodeDuckingModification()
[all …]
/external/aac/libAACdec/src/
Dusacdec_ace_ltp.cpp167 L_sumt = fMultDiv2(x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4()
168 L_sumb = fMultDiv2(x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4()
173 L_sumt = fMultAddDiv2(L_sumt, x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4()
174 L_sumb = fMultAddDiv2(L_sumb, x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4()
179 L_sumt = fMultAddDiv2(L_sumt, x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4()
180 L_sumb = fMultAddDiv2(L_sumb, x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4()
185 L_sumt = fMultAddDiv2(L_sumt, x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4()
186 L_sumb = fMultAddDiv2(L_sumb, x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4()
191 L_sumt = fMultAddDiv2(L_sumt, x0, (FIXP_SGL)((SHORT)(filt >> 16))); in Pred_lt4()
192 L_sumb = fMultAddDiv2(L_sumb, x1, (FIXP_SGL)((SHORT)filt)); in Pred_lt4()
[all …]
Dconceal_types.h141 FIXP_SGL fadeOutFactor[CONCEAL_MAX_NUM_FADE_FACTORS];
142 FIXP_SGL fadeInFactor[CONCEAL_MAX_NUM_FADE_FACTORS];
198 FIXP_SGL TDNoiseCoef[3];
199 FIXP_SGL TDNoiseAtt;
Dusacdec_rom.h135 extern const FIXP_SGL t_qua_gain7b[128 * 2];
136 extern const FIXP_SGL lsp_interpol_factor[2][NB_SUBFR];
141 extern const FIXP_SGL fdk_dec_filt_lp[1 + L_FILT];
Dusacdec_acelp.h117 FIXP_SGL A[M_LP_FILTER_ORDER];
121 FIXP_SGL past_gpit;
211 FIXP_SGL stab_fac, CAcelpChannelData *acelpData,
272 const FIXP_SGL stab_fac, INT numLostSubframes,
/external/aac/libAACenc/src/
Dnoisedet.cpp119 static FIXP_SGL FDKaacEnc_fuzzyIsSmaller(FIXP_DBL testVal, FIXP_DBL refVal, in FDKaacEnc_fuzzyIsSmaller()
126 return ((FIXP_SGL)MAXVAL_SGL); in FDKaacEnc_fuzzyIsSmaller()
153 FIXP_SGL *RESTRICT noiseFuzzyMeasure, in FDKaacEnc_noiseDetect()
154 NOISEPARAMS *np, FIXP_SGL *RESTRICT sfbtonality) in FDKaacEnc_noiseDetect()
158 FIXP_SGL fuzzy, fuzzyTotal; in FDKaacEnc_noiseDetect()
164 fuzzyTotal = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_noiseDetect()
Dtonality.cpp117 FIXP_SGL *RESTRICT sfbTonality,
124 FIXP_SGL *RESTRICT sfbTonality, INT sfbCnt, in FDKaacEnc_CalculateFullTonality()
178 FIXP_SGL *RESTRICT sfbTonality, in FDKaacEnc_CalcSfbTonality()
215 sfbTonality[i] = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_CalcSfbTonality()
217 sfbTonality[i] = (FIXP_SGL)MAXVAL_SGL; in FDKaacEnc_CalcSfbTonality()
/external/aac/libFDK/include/mips/
Dabs_mips.h115 inline FIXP_SGL fixabs_S(FIXP_SGL x) { in fixabs_S()
116 return ((x) > (FIXP_SGL)(0)) ? (x) : -(x); in fixabs_S()
/external/aac/libSBRdec/src/arm/
Dlpp_tran_arm.cpp114 int dynamicScale, int descale, FIXP_SGL a0r, in lppTransposer_func1()
115 FIXP_SGL a0i, FIXP_SGL a1r, FIXP_SGL a1i, in lppTransposer_func1()
/external/aac/libFDK/src/
Dscale.cpp130 void scaleValues(FIXP_SGL *vector, /*!< Vector */ in scaleValues()
288 void scaleValuesSaturate(FIXP_SGL *dst, /*!< Output */ in scaleValuesSaturate()
316 void scaleValuesSaturate(FIXP_SGL *vector, /*!< Vector */ in scaleValuesSaturate()
348 void scaleValuesSaturate(FIXP_SGL *dst, /*!< Output */ in scaleValuesSaturate()
349 const FIXP_SGL *src, /*!< Input */ in scaleValuesSaturate()
357 FDKmemmove(dst, src, len * sizeof(FIXP_SGL)); in scaleValuesSaturate()
491 void scaleValues(FIXP_SGL *dst, /*!< dst Vector */ in scaleValues()
492 const FIXP_SGL *src, /*!< src Vector */ in scaleValues()
707 INT getScalefactor(const FIXP_SGL *vector, /*!< Pointer to input vector */ in getScalefactor()
711 SHORT temp, maxVal = (FIXP_SGL)0; in getScalefactor()
[all …]
/external/aac/libSACdec/src/
Dsac_process.h113 void SpatialDecApplyPhase(spatialDec *self, FIXP_SGL alpha,
229 SACDEC_ERROR SpatialDecApplyM2(spatialDec *self, INT ps, const FIXP_SGL alpha,
252 spatialDec *self, INT ps, const FIXP_SGL alpha, FIXP_DBL **wReal,
271 const FIXP_SGL alpha, FIXP_DBL **wReal,
/external/aac/libSBRenc/src/
Dresampler.cpp125 const FIXP_SGL *coeffa; /*! SOS matrix One row/section. Scaled using BQC().
141 static const FIXP_SGL sos48[] = {
186 static const FIXP_SGL sos45[] = {
219 static const FIXP_SGL sos41[] = {
244 static const FIXP_SGL sos35[] = {
264 static const FIXP_SGL sos25[] = {
355 const FIXP_SGL *coeff = downFilter->coeffa; in AdvanceFilter()

1234