/external/aac/libAACenc/src/ |
tonality.h | 100 void FDKaacEnc_CalculateFullTonality( FIXP_DBL *RESTRICT spectrum, 102 FIXP_DBL *RESTRICT sfbEnergyLD64,
|
transform.h | 114 FIXP_DBL *RESTRICT mdctData, 121 ,FIXP_DBL * RESTRICT overlapAddBuffer
|
qc_data.h | 122 FIXP_DBL relativeBits; 154 FIXP_DBL maxBitFac; 164 FIXP_DBL mdctSpectrum[(1024)]; 173 FIXP_DBL sfbFormFactorLdData[MAX_GROUPED_SFB]; 175 FIXP_DBL sfbThresholdLdData[MAX_GROUPED_SFB]; 176 FIXP_DBL sfbMinSnrLdData[MAX_GROUPED_SFB]; 177 FIXP_DBL sfbEnergyLdData[MAX_GROUPED_SFB]; 178 FIXP_DBL sfbEnergy[MAX_GROUPED_SFB]; 179 FIXP_DBL sfbWeightedEnergyLdData[MAX_GROUPED_SFB]; 181 FIXP_DBL sfbEnFacLd[MAX_GROUPED_SFB] [all...] |
block_switch.h | 122 FIXP_DBL maxWindowNrg; /* max energy in subwindows */ 124 FIXP_DBL windowNrg[2][BLOCK_SWITCH_WINDOWS]; /* time signal energy in Subwindows (last and current) */ 125 FIXP_DBL windowNrgF[2][BLOCK_SWITCH_WINDOWS]; /* filtered time signal energy in segments (last and current) */ 126 FIXP_DBL accWindowNrg; /* recursively accumulated windowNrgF */ 128 FIXP_DBL iirStates[BLOCK_SWITCHING_IIR_LEN]; /* filter delay-line */
|
line_pe.h | 122 const FIXP_DBL *sfbEnergyLdData, 123 const FIXP_DBL *sfbThresholdLdData, 124 const FIXP_DBL *sfbFormFactorLdData, 131 const FIXP_DBL *RESTRICT sfbEnergyLdData, 132 const FIXP_DBL *RESTRICT sfbThresholdLdData,
|
psy_configuration.cpp | 288 static FIXP_DBL FDKaacEnc_BarcLineValue(INT noOfLines, INT fftLine, LONG samplingFreq) 291 FIXP_DBL FOURBY3EM4 = (FIXP_DBL)0x45e7b273; /* 4.0/3 * 0.0001 in q43 */ 292 FIXP_DBL PZZZ76 = (FIXP_DBL)0x639d5e4a; /* 0.00076 in q41 */ 293 FIXP_DBL ONE3P3 = (FIXP_DBL)0x35333333; /* 13.3 in q26 */ 294 FIXP_DBL THREEP5 = (FIXP_DBL)0x1c000000; /* 3.5 in q27 */ 295 FIXP_DBL INV480 = (FIXP_DBL)0x44444444; // 1/480 in q3 [all...] |
band_nrg.cpp | 101 FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *RESTRICT mdctSpectrum, 107 FIXP_DBL maxSpc, tmp; 110 maxSpc = (FIXP_DBL)0; 115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; 126 FIXP_DBL 127 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *RESTRICT mdctSpectrum, 131 FIXP_DBL *RESTRICT bandEnergy, 132 FIXP_DBL *RESTRICT bandEnergyLdData, 136 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(-1.0f); 137 FIXP_DBL maxNrg = 0 [all...] |
metadata_compressor.cpp | 133 FIXP_DBL x1; 134 FIXP_DBL x2; 135 FIXP_DBL y1; 136 FIXP_DBL y2; 144 FIXP_DBL maxBoostThr[2]; /*!< Max boost threshold. */ 145 FIXP_DBL boostThr[2]; /*!< Boost threshold. */ 146 FIXP_DBL earlyCutThr[2]; /*!< Early cut threshold. */ 147 FIXP_DBL cutThr[2]; /*!< Cut threshold. */ 148 FIXP_DBL maxCutThr[2]; /*!< Max cut threshold. */ 150 FIXP_DBL boostFac[2]; /*!< Precalculated factor for boost compression. * [all...] |
intensity.cpp | 139 FIXP_DBL corr_thresh; /*!< Only set an IS seed it left/right channel correlation is above corr_thresh */ 141 FIXP_DBL total_error_thresh; /*!< When expanding the IS region to more SFBs only accept an error that is 144 FIXP_DBL local_error_thresh; /*!< When expanding the IS region to more SFBs only accept an error that is 147 FIXP_DBL direction_deviation_thresh; /*!< The maximum allowed change of the intensity direction (unit: IS scale) */ 149 FIXP_DBL is_region_min_loudness; /*!< IS regions need to have a minimal percentage of the overall loudness, e.g. 0.06 == 6% */ 153 FIXP_DBL left_right_ratio_threshold; /*!< No IS if the panning angle is not far from the middle, MS will do */ 174 calcSfbMaxScale(const FIXP_DBL *mdctSpectrum, 180 FIXP_DBL maxSpc; 184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]) [all...] |
noisedet.h | 100 void FDKaacEnc_noiseDetect( FIXP_DBL *mdctSpectrum,
|
quantize.cpp | 106 FIXP_DBL *mdctSpectrum, 111 FIXP_DBL k = FL2FXCONST_DBL(0.0f); 123 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); 170 FIXP_DBL *mdctSpectrum) 183 FIXP_DBL accu; 185 FIXP_DBL s,t; 187 accu = (FIXP_DBL) -quantSpectrum[line]; 217 FIXP_DBL accu; 219 FIXP_DBL s,t; 221 accu = (FIXP_DBL)(INT)quantSpectrum[line] [all...] |
ms_stereo.cpp | 106 FIXP_DBL *sfbEnergyLeft = psyData[0]->sfbEnergy.Long; /* modified where msMask==1 */ 107 FIXP_DBL *sfbEnergyRight = psyData[1]->sfbEnergy.Long; /* modified where msMask==1 */ 108 const FIXP_DBL *sfbEnergyMid = psyData[0]->sfbEnergyMS.Long; 109 const FIXP_DBL *sfbEnergySide = psyData[1]->sfbEnergyMS.Long; 110 FIXP_DBL *sfbThresholdLeft = psyData[0]->sfbThreshold.Long; /* modified where msMask==1 */ 111 FIXP_DBL *sfbThresholdRight = psyData[1]->sfbThreshold.Long; /* modified where msMask==1 */ 113 FIXP_DBL *sfbSpreadEnLeft = psyData[0]->sfbSpreadEnergy.Long; 114 FIXP_DBL *sfbSpreadEnRight = psyData[1]->sfbSpreadEnergy.Long; 116 FIXP_DBL *sfbEnergyLeftLdData = psyOutChannel[0]->sfbEnergyLdData; /* modified where msMask==1 */ 117 FIXP_DBL *sfbEnergyRightLdData = psyOutChannel[1]->sfbEnergyLdData; /* modified where msMask== (…) [all...] |
/external/aac/libFDK/include/ |
fft_rad2.h | 106 void dit_fft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) ; 117 void dit_ifft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) ;
|
scale.h | 122 FIXP_DBL scaleValue(const FIXP_DBL value, /*!< Value */ 144 FIXP_DBL scaleValueSaturate( 145 const FIXP_DBL value, 150 if (fNorm(value) < scalefactor && value != (FIXP_DBL)0) { 151 if (value > (FIXP_DBL)0) { 152 return (FIXP_DBL)MAXVAL_DBL; 154 return (FIXP_DBL)MINVAL_DBL; 161 return (FIXP_DBL)0; 180 FIXP_DBL *value, /*!< Value * [all...] |
/external/aac/libFDK/include/mips/ |
abs_mips.h | 99 inline FIXP_DBL fixabs_D(FIXP_DBL x) { return __builtin_mips_absq_s_w(x); }
|
/external/aac/libFDK/src/mips/ |
scale.cpp | 105 inline INT getScalefactor(const FIXP_DBL *vector, /*!< Pointer to input vector */ 109 FIXP_DBL maxVal = FL2FX_DBL(0.0f);
|
/external/aac/libSBRdec/src/ |
sbr_ram.h | 124 FIXP_DBL *workBuffer1; 125 FIXP_DBL *workBuffer2; 149 H_ALLOC_MEM(Ram_sbr_OverlapBuffer, FIXP_DBL) 155 H_ALLOC_MEM_OVERLAY(Ram_SbrDecWorkBuffer1, FIXP_DBL) 156 H_ALLOC_MEM_OVERLAY(Ram_SbrDecWorkBuffer2, FIXP_DBL)
|
transcendent.h | 127 FIXP_DBL accu; 131 FIXP_DBL shiftedMantissa; 132 FIXP_DBL otherMantissa; 149 if ( (accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) || (accu <= FL2FXCONST_DBL(-0.5f)) ) 158 inline void FDK_add_MantExp(FIXP_DBL a, /*!< Mantissa of 1st operand a */ 160 FIXP_DBL b, /*!< Mantissa of 2nd operand b */ 162 FIXP_DBL *ptrSum, /*!< Mantissa of result */ 165 FIXP_DBL accu; 169 FIXP_DBL shiftedMantissa; 170 FIXP_DBL otherMantissa [all...] |
/external/aac/libFDK/src/ |
FDK_trigFcts.cpp | 103 static const FIXP_DBL f_atan_expand_range[MAXSFTAB-(MINSFTAB-1)] = 132 FIXP_DBL fixp_atan2(FIXP_DBL y, FIXP_DBL x) 134 FIXP_DBL q; 135 FIXP_DBL at; // atan out 136 FIXP_DBL at2; // atan2 out 137 FIXP_DBL ret = FL2FXCONST_DBL(-1.0f); 239 FIXP_DBL fixp_atan(FIXP_DBL x [all...] |
fixpoint_math.cpp | 100 static const FIXP_DBL ldCoeff[MAX_LD_PRECISION] = { 142 FIXP_DBL CalcLdData(FIXP_DBL op) 152 void LdDataVector( FIXP_DBL *srcVector, 153 FIXP_DBL *destVector, 180 static const FIXP_DBL pow2Coeff[MAX_POW2_PRECISION] = { 216 FIXP_DBL mul_dbl_sgl_rnd (const FIXP_DBL op1, const FIXP_SGL op2) 218 FIXP_DBL prod; 228 return((FIXP_DBL)prod) [all...] |
mdct.cpp | 100 FIXP_DBL *overlap, 104 //FDKmemclear(overlap, overlapBufferSize*sizeof(FIXP_DBL)); 112 void imdct_gain(FIXP_DBL *pGain_m, int *pGain_e, int tl) 114 FIXP_DBL gain_m = *pGain_m; 118 log2_tl = DFRACT_BITS-1-fNormz((FIXP_DBL)tl); 126 if (gain_m == (FIXP_DBL)0) { 133 if (gain_m == (FIXP_DBL)0) { 154 FIXP_DBL *output, 166 FDKmemcpy(output, hMdct->overlap.time, buffered_samples*sizeof(FIXP_DBL)); 175 FIXP_DBL * pTimeData [all...] |
/external/aac/libSBRenc/src/ |
ps_encode.cpp | 108 inline void FDKsbrEnc_addFIXP_DBL(const FIXP_DBL *X, const FIXP_DBL *Y, FIXP_DBL *Z, INT n) 151 static const FIXP_DBL iidQuant_fx[15] = { 152 (FIXP_DBL)0xce000000, (FIXP_DBL)0xdc000000, (FIXP_DBL)0xe4000000, (FIXP_DBL)0xec000000, (FIXP_DBL)0xf2000000, (FIXP_DBL)0xf8000000, (FIXP_DBL)0xfc000000, (FIXP_DBL)0x00000000 [all...] |
nf_est.h | 99 FIXP_DBL prevNoiseLevels[NF_SMOOTHING_LENGTH][MAX_NUM_NOISE_VALUES]; /*!< The previous noise levels. */ 100 FIXP_DBL noiseFloorOffset[MAX_NUM_NOISE_VALUES]; /*!< Noise floor offset, scaled with NOISE_FLOOR_OFFSET_SCALING */ 101 const FIXP_DBL *smoothFilter; /*!< Smoothing filter to use. */ 102 FIXP_DBL ana_max_level; /*!< Max level allowed. */ 103 FIXP_DBL weightFac; /*!< Weightening factor for the difference between orig and sbr. */ 117 FIXP_DBL *noiseLevels, /*!< Pointer to vector to store the noise levels in.*/ 118 FIXP_DBL **quotaMatrixOrig, /*!< Matrix holding the quota values of the original. */
|
/external/aac/libAACdec/src/ |
aacdec_drc_types.h | 136 FIXP_DBL cut; /* The attenuation scale factor currently used. */ 137 FIXP_DBL usrCut; /* The latest attenuation scale factor set by user. */ 138 FIXP_DBL boost; /* The boost scale factor currently used. */ 139 FIXP_DBL usrBoost; /* The latest boost scale factor set by user. */
|
/external/aac/libFDK/include/arm/ |
scramble.h | 100 inline void scramble(FIXP_DBL x [], INT n) {
|