Home
last modified time | relevance | path

Searched refs:pTmpBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/libvideoeditor/vss/src/
DVideoEditorResampler.cpp151 int32_t *pTmpBuffer = NULL; in LVAudioresample_LowQuality() local
159 pTmpBuffer = (int32_t*)malloc(outFrameCount * 2 * sizeof(int32_t)); in LVAudioresample_LowQuality()
160 memset(pTmpBuffer, 0x00, outFrameCount * 2 * sizeof(int32_t)); in LVAudioresample_LowQuality()
162 context->mResampler->resample((int32_t *)pTmpBuffer, in LVAudioresample_LowQuality()
165 ditherAndClamp((int32_t*)out, pTmpBuffer, outFrameCount); in LVAudioresample_LowQuality()
166 free(pTmpBuffer); in LVAudioresample_LowQuality()
167 pTmpBuffer = NULL; in LVAudioresample_LowQuality()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorSRC.cpp135 int32_t *pTmpBuffer = (int32_t *)calloc(1, kBytes); in read() local
136 if (!pTmpBuffer) { in read()
142 mResampler->resample(pTmpBuffer, kOutputFrameCount, this); in read()
153 free(pTmpBuffer); in read()
164 pTmpBuffer, kOutputFrameCount); in read()
165 free(pTmpBuffer); in read()