/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 | 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 | 152 INT_PCM *timeIn, 164 INT_PCM *timeOut, /*!< pointer to output time signal */ 174 INT_PCM *timeIn, /*!< pointer to input time signal */ 175 INT_PCM *timeOut, /*!< pointer to output time signal */ 177 INT_PCM *timeOutRight, /*!< pointer to output time signal */
|
/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/libSBRenc/include/ |
D | sbr_encoder.h | 329 INT_PCM *inputBuffer, 350 INT_PCM *timeBuffer 370 INT_PCM *samples,
|
/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 | 208 …INT_PCM *inputBuffer; /* Internal input buffer. Input source for AAC encode… 1045 …FDKmemclear(hAacEncoder->inputBuffer, sizeof(INT_PCM)*hAacEncoder->nMaxAacChannels*INPUTBUFFER_SIZ… in aacEncInit() 1275 …hAacEncoder->inputBuffer = (INT_PCM*)FDKcalloc(hAacEncoder->nMaxAacChannels*INPUTBUFFER_SIZE, size… in aacEncOpen() 1473 … INT_PCM *pIn = hAacEncoder->inputBuffer+hAacEncoder->inputBufferOffset+hAacEncoder->nSamplesRead; in aacEncEncode() 1476 if (inBufDesc->bufElSizes[idx]==(INT)sizeof(INT_PCM)) { in aacEncEncode() 1477 … FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ in aacEncEncode() 1479 else if (inBufDesc->bufElSizes[idx]>(INT)sizeof(INT_PCM)) { in aacEncEncode() 1481 …pIn[i] = (INT_PCM)(((LONG*)inBufDesc->bufs[idx])[i]>>16); /* Convert 32 to 16 bit. … in aacEncEncode() 1486 …pIn[i] = ((INT_PCM)(((SHORT*)inBufDesc->bufs[idx])[i]))<<16; /* Convert 16 to 32 bit. … in aacEncEncode() 1511 …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 | metadata_main.h | 186 INT_PCM * const pAudioSamples,
|
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 | block_switch.h | 138 …TROL *blockSwitchingControl, const INT granuleLength, const int isLFE, const INT_PCM *pTimeSignal);
|
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 | metadata_compressor.h | 198 const INT_PCM * const inSamples,
|
D | psy_data.h | 125 INT_PCM* psyInputBuffer;
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 1872 INT_PCM *pPcmBuf, in pcmDmx_ApplyFrame() 1995 INT_PCM *pInPcm[PCM_DMX_MAX_IN_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 1996 INT_PCM *pOutPcm[PCM_DMX_MAX_OUT_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2125 *pOutPcm[outCh] = (INT_PCM)SATURATE_LEFT_SHIFT(tOut[outCh], dmxScale, SAMPLE_BITS); in pcmDmx_ApplyFrame() 2127 …*pOutPcm[outCh] = (INT_PCM)SATURATE_RIGHT_SHIFT(tOut[outCh], DFRACT_BITS-SAMPLE_BITS-dmxScale, SAM… in pcmDmx_ApplyFrame() 2150 INT_PCM *pInPcm[PCM_DMX_MAX_CHANNELS]; in pcmDmx_ApplyFrame() 2151 INT_PCM *pOutLF, *pOutRF; in pcmDmx_ApplyFrame() 2196 INT_PCM *pIn[PCM_DMX_MAX_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2197 INT_PCM *pOut[PCM_DMX_MAX_CHANNELS] = { NULL }; in pcmDmx_ApplyFrame() 2315 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()
|