/external/aac/libAACenc/src/ |
D | metadata_compressor.cpp | 424 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >> in findPeakLevels() 427 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >> in findPeakLevels() 433 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >> in findPeakLevels() 436 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 441 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >> in findPeakLevels() 444 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 449 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >> in findPeakLevels() 452 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >> in findPeakLevels() 465 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >> in findPeakLevels() 468 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >> in findPeakLevels() [all …]
|
D | transform.cpp | 235 z0 = (fMult((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 238 (fMult((FIXP_PCM)timeData[L + N * 3 / 4 + i], pWindowELD[N / 2 + i]) in FDKaacEnc_Transform_Real_Eld() 241 outval = (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 244 outval += (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 + i], in FDKaacEnc_Transform_Real_Eld() 265 z0 = fMult((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 269 outval = (fMultDiv2((FIXP_PCM)timeData[L + N * 3 / 4 - 1 - i], in FDKaacEnc_Transform_Real_Eld() 277 (fMult((FIXP_PCM)timeData[L - N / 4 + i], pWindowELD[N / 2 + i]) in FDKaacEnc_Transform_Real_Eld()
|
/external/aac/libAACdec/src/ |
D | FDK_delay.cpp | 129 void FDK_Delay_Apply(FDK_SignalDelay* data, FIXP_PCM* time_buffer, in FDK_Delay_Apply() 134 C_ALLOC_SCRATCH_START(tmp, FIXP_PCM, MAX_FRAME_LENGTH) in FDK_Delay_Apply() 140 data->delay * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 142 (frame_length - data->delay) * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 144 data->delay * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 146 data->delay * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 148 FDKmemcpy(tmp, &time_buffer[0], frame_length * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 150 frame_length * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 153 (data->delay - frame_length) * sizeof(FIXP_PCM)); in FDK_Delay_Apply() 156 tmp, frame_length * sizeof(FIXP_PCM)); in FDK_Delay_Apply() [all …]
|
D | ldfiltbank.cpp | 115 static void multE2_DinvF_fdk(FIXP_PCM *output, FIXP_DBL *x, const FIXP_WTB *fb, in multE2_DinvF_fdk() 146 output[(N * 3 / 4 - 1 - i)] = (FIXP_PCM)SATURATE_RIGHT_SHIFT( in multE2_DinvF_fdk() 151 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk() 178 output[(i - N / 4)] = (FIXP_PCM)SATURATE_RIGHT_SHIFT( in multE2_DinvF_fdk() 180 output[(N * 3 / 4 - 1 - i)] = (FIXP_PCM)SATURATE_RIGHT_SHIFT( in multE2_DinvF_fdk() 185 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk() 187 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp1, WTS1 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk() 201 output[(N * 3 / 4 + i)] = (FIXP_PCM)SATURATE_RIGHT_SHIFT( in multE2_DinvF_fdk() 206 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk() 212 FIXP_PCM *output, FIXP_DBL *fs_buffer, in InvMdctTransformLowDelay_fdk()
|
D | usacdec_lpd.h | 147 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM *pTimeData, 159 void filtLP(const FIXP_DBL *syn, FIXP_PCM *syn_out, FIXP_DBL *noise, 179 const INT l_next, FIXP_PCM *synth_out,
|
D | conceal.cpp | 229 FIXP_DBL fadeStop, FIXP_PCM *pcmdata); 245 const int len, FIXP_PCM *const pcmdata); 1852 FIXP_PCM *pcmdata, FIXP_PCM *pcmdata_1) { in CConcealment_TDFading() 1977 FIXP_DBL fadeStop, FIXP_PCM *pcmdata) { in CConcealment_TDFadePcmAtt() 1995 pcmdata[i] = (FIXP_PCM)((fMult(pcmdata[i], (dGain_apply))) >> bitshift); in CConcealment_TDFadePcmAtt() 2058 const int len, FIXP_PCM *const pcmdata) { in CConcealment_TDNoise_Apply() 2059 FIXP_PCM *states = pConcealmentInfo->TDNoiseStates; in CConcealment_TDNoise_Apply() 2060 FIXP_PCM noiseVal; in CConcealment_TDNoise_Apply() 2078 states[0] = ((FIXP_PCM)CConcealment_TDNoise_Random(&seed)); in CConcealment_TDNoise_Apply() 2084 if (noiseVal > (FIXP_PCM)0 && in CConcealment_TDNoise_Apply() [all …]
|
D | conceal.h | 150 FIXP_PCM *pcmdata, FIXP_PCM *pcmdata_1);
|
D | ldfiltbank.h | 109 FIXP_PCM *mdctOut, FIXP_DBL *fs_buffer,
|
D | block.h | 221 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[], 230 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[],
|
D | FDK_delay.h | 140 void FDK_Delay_Apply(FDK_SignalDelay* data, FIXP_PCM* time_buffer,
|
D | conceal_types.h | 197 FIXP_PCM TDNoiseStates[3];
|
D | aacdecoder.h | 430 HANDLE_AACDECODER self, const UINT flags, FIXP_PCM *pTimeData,
|
D | usacdec_lpd.cpp | 125 void filtLP(const FIXP_DBL *syn, FIXP_PCM *syn_out, FIXP_DBL *noise, in filtLP() 135 syn_out[i] = (FIXP_PCM)(IMDCT_SCALE(syn[i] - tmp)); in filtLP() 146 FIXP_PCM *synth_out, /* (o) : filtered synthesis (with delay of 1 subfr) */ in bass_pf_1sf_delay() 380 scaleValuesSaturate((FIXP_PCM *)&synth_out[l_frame], in bass_pf_1sf_delay() 1549 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM *pTimeData, in CLpd_RenderTimeSignal()
|
D | block.cpp | 1018 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[], in CBlock_FrequencyToTime() 1254 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[], in CBlock_FrequencyToTimeLowDelay()
|
D | aacdecoder.cpp | 632 *pIn = (INT_PCM)(FIXP_PCM)FX_DBL2FX_PCM( in CAacDecoder_ApplyCrossFade() 2378 HANDLE_AACDECODER self, const UINT flags, FIXP_PCM *pTimeData, in CAacDecoder_DecodeFrame() 3321 sizeof(FIXP_PCM) * self->streamInfo.aacSamplesPerFrame); in CAacDecoder_DecodeFrame() 3388 FIXP_PCM *pTD = pTimeData; in CAacDecoder_DecodeFrame()
|
D | aacdecoder_lib.cpp | 1150 FIXP_PCM *pTimeDataFixpPcm; /* Signal buffer for decoding process before PCM in aacDecoder_DecodeFrame()
|
/external/aac/libFDK/src/ |
D | scale.cpp | 438 void scaleValues(FIXP_PCM *dst, /*!< dst Vector */ in scaleValues() 452 *(dst++) = (FIXP_PCM)(*(src++) << scalefactor); in scaleValues() 455 *(dst++) = (FIXP_PCM)(*(src++) << scalefactor); in scaleValues() 456 *(dst++) = (FIXP_PCM)(*(src++) << scalefactor); in scaleValues() 457 *(dst++) = (FIXP_PCM)(*(src++) << scalefactor); in scaleValues() 458 *(dst++) = (FIXP_PCM)(*(src++) << scalefactor); in scaleValues() 463 *(dst++) = (FIXP_PCM)(*(src++) >> negScalefactor); in scaleValues() 466 *(dst++) = (FIXP_PCM)(*(src++) >> negScalefactor); in scaleValues() 467 *(dst++) = (FIXP_PCM)(*(src++) >> negScalefactor); in scaleValues() 468 *(dst++) = (FIXP_PCM)(*(src++) >> negScalefactor); in scaleValues() [all …]
|
D | mdct.cpp | 210 tmp0 = fMultDiv2((FIXP_PCM)timeData[i + nl], wls[i].v.im); /* a*window */ in mdct_block() 212 fMultSubDiv2(tmp0, (FIXP_PCM)timeData[tl - nl - i - 1], in mdct_block() 248 tmp1 = fMultDiv2((FIXP_PCM)timeData[tl + nr + i], in mdct_block() 251 -fMultAddDiv2(tmp1, (FIXP_PCM)timeData[(tl * 2) - nr - i - 1], in mdct_block()
|
/external/aac/libSACenc/src/ |
D | sacenc_dmx_tdom_enh.cpp | 387 FIXP_PCM inputL = in fdk_sacenc_apply_enhancedTimeDomainDmx() 388 scaleValue((FIXP_PCM)inputTime[L][smp], in_margin - 1); in fdk_sacenc_apply_enhancedTimeDomainDmx() 389 FIXP_PCM inputR = in fdk_sacenc_apply_enhancedTimeDomainDmx() 390 scaleValue((FIXP_PCM)inputTime[R][smp], in_margin - 1); in fdk_sacenc_apply_enhancedTimeDomainDmx() 484 tmp = fMultDiv2(gainLeft_m, (FIXP_PCM)inputTime[L][smp + InputDelay]) + in fdk_sacenc_apply_enhancedTimeDomainDmx() 485 fMultDiv2(gainRight_m, (FIXP_PCM)inputTime[R][smp + InputDelay]); in fdk_sacenc_apply_enhancedTimeDomainDmx()
|
/external/aac/libSACdec/src/ |
D | sac_dec_interface.h | 253 #define PCM_MPSF FIXP_PCM
|
/external/aac/libFDK/include/ |
D | qmf.h | 117 #define FIXP_QAS FIXP_PCM
|
D | common_fix.h | 119 #define FIXP_PCM FIXP_DBL macro 125 #define FIXP_PCM FIXP_SGL macro
|
D | scale.h | 124 void scaleValues(FIXP_PCM *dst, const FIXP_DBL *src, INT len, INT scalefactor);
|