Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dlagconceal.cpp147 int16 maxLag, minLag, lastLag, lagDif, meanLag = 0; in lagconceal() local
161 minLag = lag_hist[0]; in lagconceal()
166 if (lag_hist[i] < minLag) in lagconceal()
168 minLag = lag_hist[i]; in lagconceal()
186 lagDif = sub_int16(maxLag, minLag); in lagconceal()
236 if (*T0 < minLag) in lagconceal()
238 *T0 = minLag; in lagconceal()
256 if ((lagDif < 10) && (*T0 > (minLag - 5)) && (tmp < 5)) in lagconceal()
264 else if ((minGain < 6554) && (lastGain == minGain) && (*T0 > minLag && *T0 < maxLag)) in lagconceal()
268 else if ((lagDif < 70) && (*T0 > minLag) && (*T0 < maxLag)) in lagconceal()
[all …]