Home
last modified time | relevance | path

Searched refs:INT_PCM (Results 1 – 25 of 46) sorted by relevance

12

/external/aac/libAACdec/src/
Dldfiltbank.cpp102 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()
Daacdecoder.h229 INT_PCM pcmOutputBuffer[(8)*(2048)];
313 INT_PCM *pTimeData,
Dblock.h208 INT_PCM outSamples[],
219 INT_PCM outSamples[],
Dldfiltbank.h102 INT_PCM *mdctOut,
/external/aac/libSBRdec/src/
Dsbr_dec.h122 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 */
Dsbr_dec.cpp330 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/
Dqmf.h184 const INT_PCM *timeIn, /*!< Time signal */
195 INT_PCM *timeOut, /*!< Time signal */
213 const INT_PCM *timeIn, /*!< Pointer to input */
232 INT_PCM *timeOut,
Dmdct.h104 #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/
Dlimiter.h133 INT_PCM threshold,
174 INT_PCM* samples,
226 TDLIMITER_ERROR setLimiterThreshold(TDLimiterPtr limiter, INT_PCM threshold);
/external/aac/libSBRenc/src/
Dresampler.cpp354 static inline INT_PCM AdvanceFilter(LP_FILTER *downFilter, /*!< pointer to iir filter instance */ in AdvanceFilter()
355INT_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()
Dresampler.h142 INT_PCM *inSamples, /*!< pointer to input samples */
145 INT_PCM *outSamples, /*!< pointer to output samples */
Dps_main.h242 INT_PCM *samples[2],
247 INT_PCM *downsampledOutSignal,
/external/aac/libFDK/src/
Dqmf.cpp180 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 …]
Dscale.cpp373 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/
Dmetadata_main.cpp159 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()
Daacenc_lib.cpp214INT_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()
1469INT_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()
Dtransform.h113 INT FDKaacEnc_Transform_Real (const INT_PCM *timeData,
Dblock_switch.cpp106 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()
Dmetadata_main.h186 INT_PCM * const pAudioSamples,
Dtransform.cpp102 INT FDKaacEnc_Transform_Real (const INT_PCM * pTimeData, in FDKaacEnc_Transform_Real()
113 const INT_PCM * RESTRICT timeData; in FDKaacEnc_Transform_Real()
Dblock_switch.h138 …TROL *blockSwitchingControl, const INT granuleLength, const int isLFE, const INT_PCM *pTimeSignal);
/external/aac/libSBRenc/include/
Dsbr_encoder.h340 INT_PCM *inputBuffer,
361 INT_PCM *timeBuffer
381 INT_PCM *samples,
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp1877 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 …]
Dlimiter.cpp117 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/
Dwav_file.cpp97 static INT_PCM ulaw2pcm (UCHAR ulawbyte);
331 static INT_PCM ulaw2pcm (UCHAR ulawbyte) in ulaw2pcm()
345 return (INT_PCM)sample ; in ulaw2pcm()

12