/external/aac/libAACdec/src/ |
D | ldfiltbank.cpp | 102 static void multE2_DinvF_fdk(INT_PCM *output, FIXP_DBL* x, const FIXP_WTB* fb, FIXP_DBL* z, const i… in multE2_DinvF_fdk() 122 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp, -WTS1-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 125 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk() 146 output[(i-N/4)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 147 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp1, -WTS1-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 150 output[(i-N/4)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk() 151 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp1, WTS1+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk() 164 output[(N*3/4 + i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 167 output[(N*3/4 + i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk() 172 int InvMdctTransformLowDelay_fdk (FIXP_DBL *mdctData, const int mdctData_e, INT_PCM *output, FIXP_D… in InvMdctTransformLowDelay_fdk()
|
D | aacdecoder.h | 229 INT_PCM pcmOutputBuffer[(8)*(2048)]; 313 INT_PCM *pTimeData,
|
D | block.h | 208 INT_PCM outSamples[], 219 INT_PCM outSamples[],
|
D | ldfiltbank.h | 102 INT_PCM *mdctOut,
|
/external/aac/libSBRdec/src/ |
D | sbr_dec.h | 122 INT_PCM coreDelayBuf[(96)]; 155 INT_PCM *timeIn, 167 INT_PCM *timeOut, /*!< pointer to output time signal */ 177 INT_PCM *timeIn, /*!< pointer to input time signal */ 178 INT_PCM *timeOut, /*!< pointer to output time signal */ 180 INT_PCM *timeOutRight, /*!< pointer to output time signal */
|
D | sbr_dec.cpp | 330 INT_PCM *timeIn, /*!< pointer to input time signal */ in sbr_dec() 331 INT_PCM *timeOut, /*!< pointer to output time signal */ in sbr_dec() 333 INT_PCM *timeOutRight, /*!< pointer to output time signal */ in sbr_dec() 375 INT_PCM *pDlyBuf = hSbrDec->coreDelayBuf; /* DLYBUF */ in sbr_dec() 378 C_AALLOC_SCRATCH_START(pcmTemp, INT_PCM, (96)); in sbr_dec() 392 FDKmemcpy(pDlyBuf, pcmTemp, delay*sizeof(INT_PCM)); in sbr_dec() 394 C_AALLOC_SCRATCH_END(pcmTemp, INT_PCM, (96)); in sbr_dec() 885 FDKmemclear(hs->coreDelayBuf, (96)*sizeof(INT_PCM)); in createSbrDec()
|
/external/aac/libFDK/include/ |
D | qmf.h | 184 const INT_PCM *timeIn, /*!< Time signal */ 195 INT_PCM *timeOut, /*!< Time signal */ 213 const INT_PCM *timeIn, /*!< Pointer to input */ 232 INT_PCM *timeOut,
|
D | mdct.h | 104 #define IMDCT_SCALE(x) (INT_PCM)SATURATE_LEFT_SHIFT(x, -MDCT_OUTPUT_SCALE, SAMPLE_BITS) 106 #define IMDCT_SCALE(x) (INT_PCM)SATURATE_RIGHT_SHIFT(x, MDCT_OUTPUT_SCALE, SAMPLE_BITS) 159 INT_PCM *input,
|
/external/aac/libPCMutils/include/ |
D | limiter.h | 133 INT_PCM threshold, 174 INT_PCM* samples, 226 TDLIMITER_ERROR setLimiterThreshold(TDLimiterPtr limiter, INT_PCM threshold);
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 354 static inline INT_PCM AdvanceFilter(LP_FILTER *downFilter, /*!< pointer to iir filter instance */ in AdvanceFilter() 355 … INT_PCM *pInput, /*!< input of filter */ in AdvanceFilter() 359 INT_PCM output; in AdvanceFilter() 466 …output = (INT_PCM) SATURATE_RIGHT_SHIFT(y+(FIXP_DBL)(1<<(DFRACT_BITS-SAMPLE_BITS-BIQUAD_SCALE-1)),… 487 INT_PCM *inSamples, /*!< pointer to input samples */ in FDKaacEnc_Downsample() 490 INT_PCM *outSamples, /*!< pointer to output samples */ in FDKaacEnc_Downsample()
|
D | resampler.h | 142 INT_PCM *inSamples, /*!< pointer to input samples */ 145 INT_PCM *outSamples, /*!< pointer to output samples */
|
D | ps_main.h | 242 INT_PCM *samples[2], 247 INT_PCM *downsampledOutSignal,
|
/external/aac/libFDK/src/ |
D | qmf.cpp | 180 INT_PCM *RESTRICT timeOut, /*!< Time domain data */ in qmfSynPrototypeFirSlot() 202 INT_PCM tmp; in qmfSynPrototypeFirSlot() 210 tmp = (INT_PCM)(SATURATE_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot() 212 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot() 248 INT_PCM *RESTRICT timeOut, /*!< Time domain data */ in qmfSynPrototypeFirSlot_NonSymmetric() 271 INT_PCM tmp; in qmfSynPrototypeFirSlot_NonSymmetric() 275 tmp = (INT_PCM)(SATURATE_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot_NonSymmetric() 277 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot_NonSymmetric() 539 const INT_PCM *RESTRICT timeIn, /*!< Pointer to input */ in qmfAnalysisFilteringSlot() 632 const INT_PCM *timeIn, /*!< Time signal */ in qmfAnalysisFiltering() [all …]
|
D | scale.cpp | 373 INT getScalefactorPCM(const INT_PCM *vector, /*!< Pointer to input vector */ in getScalefactorPCM() 379 INT_PCM temp, maxVal = 0; in getScalefactorPCM() 382 temp = (INT_PCM)(*vector); vector+=stride; in getScalefactorPCM() 383 maxVal |= (temp^(temp>>((sizeof(INT_PCM)*8)-1))); in getScalefactorPCM()
|
/external/aac/libAACenc/src/ |
D | metadata_main.cpp | 159 INT_PCM audioDelayBuffer[MAX_DRC_CHANNELS*MAX_DRC_FRAMELEN]; 220 INT_PCM * const pAudioSamples, 234 const INT_PCM * const pSamples, 485 const INT_PCM * const pSamples, in ProcessCompressor() 543 INT_PCM * const pAudioSamples, in FDK_MetadataEnc_Process() 626 INT_PCM * const pAudioSamples, in CompensateAudioDelay() 636 INT_PCM tmp = pAudioSamples[i]; in CompensateAudioDelay()
|
D | aacenc_lib.cpp | 214 …INT_PCM *inputBuffer; /* Internal input buffer. Input source for AAC encode… 1041 …FDKmemclear(hAacEncoder->inputBuffer, sizeof(INT_PCM)*hAacEncoder->nMaxAacChannels*INPUTBUFFER_SIZ… in aacEncInit() 1271 …hAacEncoder->inputBuffer = (INT_PCM*)FDKcalloc(hAacEncoder->nMaxAacChannels*INPUTBUFFER_SIZE, size… in aacEncOpen() 1469 … INT_PCM *pIn = hAacEncoder->inputBuffer+hAacEncoder->inputBufferOffset+hAacEncoder->nSamplesRead; in aacEncEncode() 1472 if (inBufDesc->bufElSizes[idx]==(INT)sizeof(INT_PCM)) { in aacEncEncode() 1473 … FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ in aacEncEncode() 1475 else if (inBufDesc->bufElSizes[idx]>(INT)sizeof(INT_PCM)) { in aacEncEncode() 1477 …pIn[i] = (INT_PCM)(((LONG*)inBufDesc->bufs[idx])[i]>>16); /* Convert 32 to 16 bit. … in aacEncEncode() 1482 …pIn[i] = ((INT_PCM)(((SHORT*)inBufDesc->bufs[idx])[i]))<<16; /* Convert 16 to 32 bit. … in aacEncEncode() 1507 …er->inputBuffer+hAacEncoder->inputBufferOffset+hAacEncoder->nSamplesRead, sizeof(INT_PCM)*nZeros ); in aacEncEncode()
|
D | transform.h | 113 INT FDKaacEnc_Transform_Real (const INT_PCM *timeData,
|
D | block_switch.cpp | 106 const INT_PCM *pTimeSignal 208 …NTROL *blockSwitchingControl, const INT granuleLength, const int isLFE, const INT_PCM *pTimeSignal) in FDKaacEnc_BlockSwitching() 329 …BLOCK_SWITCHING_CONTROL *RESTRICT blockSwitchingControl, INT windowLen, const INT_PCM *pTimeSignal) in FDKaacEnc_CalcWindowEnergy()
|
D | metadata_main.h | 186 INT_PCM * const pAudioSamples,
|
D | transform.cpp | 102 INT FDKaacEnc_Transform_Real (const INT_PCM * pTimeData, in FDKaacEnc_Transform_Real() 113 const INT_PCM * RESTRICT timeData; in FDKaacEnc_Transform_Real()
|
D | block_switch.h | 138 …TROL *blockSwitchingControl, const INT granuleLength, const int isLFE, const INT_PCM *pTimeSignal);
|
/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 340 INT_PCM *inputBuffer, 361 INT_PCM *timeBuffer 381 INT_PCM *samples,
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 1877 INT_PCM *pPcmBuf, in pcmDmx_ApplyFrame() 2000 INT_PCM *pInPcm[PCM_DMX_MAX_IN_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2001 INT_PCM *pOutPcm[PCM_DMX_MAX_OUT_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2133 *pOutPcm[outCh] = (INT_PCM)SATURATE_LEFT_SHIFT(tOut[outCh], dmxScale, SAMPLE_BITS); in pcmDmx_ApplyFrame() 2135 …*pOutPcm[outCh] = (INT_PCM)SATURATE_RIGHT_SHIFT(tOut[outCh], DFRACT_BITS-SAMPLE_BITS-dmxScale, SAM… in pcmDmx_ApplyFrame() 2158 INT_PCM *pInPcm[PCM_DMX_MAX_CHANNELS]; in pcmDmx_ApplyFrame() 2159 INT_PCM *pOutLF, *pOutRF; in pcmDmx_ApplyFrame() 2204 INT_PCM *pIn[PCM_DMX_MAX_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2205 INT_PCM *pOut[PCM_DMX_MAX_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2323 INT_PCM tIn[PCM_DMX_MAX_CHANNELS]; in pcmDmx_ApplyFrame() [all …]
|
D | limiter.cpp | 117 INT_PCM threshold, in createLimiter() 217 INT_PCM* samples, in applyLimiter() 491 TDLIMITER_ERROR setLimiterThreshold(TDLimiterPtr limiter, INT_PCM threshold) in setLimiterThreshold()
|
/external/aac/libSYS/src/ |
D | wav_file.cpp | 97 static INT_PCM ulaw2pcm (UCHAR ulawbyte); 331 static INT_PCM ulaw2pcm (UCHAR ulawbyte) in ulaw2pcm() 345 return (INT_PCM)sample ; in ulaw2pcm()
|