Lines Matching refs:delayDiff
1983 int delayDiff = 0; in sbrEncoder_Init() local
2004 delayDiff = (*delay * *downSampleFactor) + DELAY_ELD2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2009 delayDiff = (*delay * *downSampleFactor) + DELAY_AAC2PS(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2013 delayDiff = DELAY_AAC2SBR(coreFrameLength,*downSampleFactor); in sbrEncoder_Init()
2014 delayDiff += (*delay * *downSampleFactor); in sbrEncoder_Init()
2024 if (!timeDomainDownsample && delayDiff > 0) { in sbrEncoder_Init()
2030 while ( delayDiff > 0 ) in sbrEncoder_Init()
2036 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2042 *delay += fixp_abs(delayDiff); in sbrEncoder_Init()
2045 if (delayDiff < 0) { in sbrEncoder_Init()
2047 delayDiff = -delayDiff; in sbrEncoder_Init()
2050 downsampledOffset = (delayDiff*(*numChannels))>>(*downSampleFactor-1); in sbrEncoder_Init()
2054 if ( delayDiff > (int)coreFrameLength * (int)*downSampleFactor ) in sbrEncoder_Init()
2057 delayDiff -= coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2061 sbrOffset = delayDiff*(*numChannels); in sbrEncoder_Init()