Home
last modified time | relevance | path

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

/external/aac/libSACenc/src/
Dsacenc_delay.cpp255 int tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays() local
259 tempDelay = nEncoderSynDelay + hDel->config.nLimiterDelay + in fdk_sacenc_delay_SubCalulateBufferDelays()
262 tempDelay = (nResidualCoderFrameDelay * hDel->config.nFrameLen) + in fdk_sacenc_delay_SubCalulateBufferDelays()
263 hDel->config.nSacStreamMuxDelay - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()
265 if (tempDelay > 0) { in fdk_sacenc_delay_SubCalulateBufferDelays()
267 hDel->nOutputAudioBuffer = tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()
269 tempDelay = -tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()
271 (tempDelay + hDel->config.nFrameLen - 1) / hDel->config.nFrameLen; in fdk_sacenc_delay_SubCalulateBufferDelays()
273 (hDel->nBitstreamFrameBuffer * hDel->config.nFrameLen) - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()
281 tempDelay = nEncoderWinDelay + nEncoderAnDelay + nEncoderSynDelay + in fdk_sacenc_delay_SubCalulateBufferDelays()
[all …]