Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_5.cpp388 Word32 dist1; in Vq_subvec_s() local
425 dist1 = ((Word32)temp1 * temp1); in Vq_subvec_s()
433 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
436 if ((dist1 >= dist_min) && (dist2 >= dist_min)) in Vq_subvec_s()
447 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
455 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
458 if (dist1 < dist_min) in Vq_subvec_s()
460 dist_min = dist1; in Vq_subvec_s()
/frameworks/av/media/libstagefright/
DAVIExtractor.cpp1270 size_t dist1 = closestSampleIndex - prevSyncSampleIndex; in getSampleIndexAtTime() local
1274 (dist1 < dist2) ? prevSyncSampleIndex : nextSyncSampleIndex; in getSampleIndexAtTime()
/frameworks/native/services/inputflinger/
DInputReader.cpp5565 float dist1 = dist[id1]; in preparePointerGestures() local
5567 if (dist1 >= mConfig.pointerGestureMultitouchMinDistance in preparePointerGestures()
5580 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures()
5587 dist1, mConfig.pointerGestureMultitouchMinDistance, in preparePointerGestures()
5598 dist1, mConfig.pointerGestureMultitouchMinDistance, in preparePointerGestures()