/external/aac/libFDK/include/ |
D | cplx_mul.h | 125 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 …]
|
D | common_fix.h | 125 #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 …]
|
D | fixmadd.h | 130 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 …]
|
D | scale.h | 120 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, FIXP_DBL *src, INT len, 137 void scaleValuesSaturate(FIXP_SGL *vector, INT len, INT scalefactor); 138 void scaleValuesSaturate(FIXP_SGL *dst, FIXP_SGL *src, INT len, 144 INT getScalefactor(const FIXP_SGL *vector, INT len); 163 inline FIXP_SGL scaleValue(const FIXP_SGL value, /*!< Value */ in scaleValue()
|
D | clz.h | 169 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()
|
D | abs.h | 131 inline FIXP_SGL fixabs_S(FIXP_SGL x) { in fixabs_S() 132 return ((x) > (FIXP_SGL)(0)) ? (x) : -(x); in fixabs_S()
|
D | fixpoint_math.h | 131 static const FIXP_SGL ldCoeff[MAX_LD_PRECISION] = { 181 FDK_INLINE INT fIsLessThan(FIXP_SGL a_m, INT a_e, FIXP_SGL b_m, INT b_e) { in fIsLessThan() 206 FIXP_SGL frac = (FIXP_SGL)((LONG)x & 0x3FF); in CalcInvLdData() 217 lookup3 + (UINT)(LONG)fMultDiv2((FIXP_DBL)(0x0016302F), (FIXP_SGL)frac); in CalcInvLdData() 417 FIXP_DBL mul_dbl_sgl_rnd(const FIXP_DBL op1, const FIXP_SGL op2); 865 inline FIXP_SGL fAddSaturate(const FIXP_SGL a, const FIXP_SGL b) { in fAddSaturate() 870 return (FIXP_SGL)(SHORT)sum; in fAddSaturate()
|
/external/aac/libSBRdec/src/ |
D | env_dec.cpp | 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() [all …]
|
D | transcendent.h | 124 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()
|
D | sbr_rom.h | 148 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];
|
D | env_extr.h | 149 ((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/ |
D | drcGainDec_preprocess.cpp | 124 FIXP_SGL limiterPeakTarget; 126 FIXP_SGL compress; 127 FIXP_SGL boost; 159 static int _getSign(FIXP_SGL in) { in _getSign() 300 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid() 306 if (exp < (FIXP_SGL)MAXVAL_SGL) { in _compressorIO_sigmoid() 323 const CUSTOM_DRC_CHAR_SIGMOID* pCChar, const FIXP_SGL gainDb, in _compressorIO_sigmoid_inverse() 326 FIXP_SGL ioRatio = pCChar->ioRatio; in _compressorIO_sigmoid_inverse() 327 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid_inverse() 334 if (exp < (FIXP_SGL)MAXVAL_SGL) { in _compressorIO_sigmoid_inverse() [all …]
|
D | drcDec_types.h | 116 FIXP_SGL gainDb; /* e = 7 */ 179 FIXP_SGL duckingScaling; /* e = 2 */ 188 FIXP_SGL attenuationScaling; /* e = 2 */ 189 FIXP_SGL amplificationScaling; /* e = 2 */ 191 FIXP_SGL gainOffset; /* e = 4 */ 228 FIXP_SGL gain; /* e = 6 */ 229 FIXP_SGL ioRatio; /* e = 2 */ 230 FIXP_SGL exp; /* e = 5 */ 236 FIXP_SGL nodeLevel[4 + 1]; /* e = 7 */ 237 FIXP_SGL nodeGain[4 + 1]; /* e = 7 */ [all …]
|
D | drcDec_reader.cpp | 215 static FIXP_SGL _decodeGainInitial( in _decodeGainInitial() 218 FIXP_SGL gainInitial = (FIXP_SGL)0; in _decodeGainInitial() 225 (FIXP_SGL)(magn << (FRACT_BITS - 1 - 3 - 7)); /* magn * 0.125; */ in _decodeGainInitial() 231 gainInitial = (FIXP_SGL)0; in _decodeGainInitial() 234 gainInitial = -(FIXP_SGL)( in _decodeGainInitial() 241 gainInitial = (FIXP_SGL)0; in _decodeGainInitial() 244 gainInitial = -(FIXP_SGL)( in _decodeGainInitial() 286 (FIXP_SGL)(deltaGain << (FRACT_BITS - 1 - 7 - in _decodeGains() 420 pNodes[0].gainDb = (FIXP_SGL)0; in _readDrcGainSequence() 542 pDMod->duckingScaling = (FIXP_SGL)( in _decodeDuckingModification() [all …]
|
/external/aac/libAACdec/src/ |
D | usacdec_ace_ltp.cpp | 167 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 …]
|
D | conceal_types.h | 141 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;
|
D | usacdec_rom.h | 135 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];
|
D | usacdec_acelp.h | 117 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/ |
D | noisedet.cpp | 119 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()
|
D | tonality.cpp | 117 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/src/ |
D | scale.cpp | 130 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 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/libSBRdec/src/arm/ |
D | lpp_tran_arm.cpp | 114 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/include/mips/ |
D | abs_mips.h | 115 inline FIXP_SGL fixabs_S(FIXP_SGL x) { in fixabs_S() 116 return ((x) > (FIXP_SGL)(0)) ? (x) : -(x); in fixabs_S()
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 125 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()
|
/external/aac/libSACdec/src/ |
D | sac_process.h | 113 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,
|