Searched refs:myBestDistance2 (Results 1 – 2 of 2) sorted by relevance
105 float myBestDistance2 = numeric_limits<float>::max(); in findBestMatch()126 myBestDistance2 = myBestDistance1; in findBestMatch()132 else if (val < myBestDistance2) in findBestMatch()134 myBestDistance2 = val; in findBestMatch()154 if (val < myBestDistance2) in findBestMatch()156 myBestDistance2 = val; in findBestMatch()163 bestDistance2 = myBestDistance2; in findBestMatch()224 float myBestDistance2 = numeric_limits<float>::max(); in findBestMatch()249 myBestDistance2 = myBestDistance1; in findBestMatch()257 else if (val < myBestDistance2) in findBestMatch()[all …]
421 float myBestDistance2 = MAX_FLOAT;477 myBestDistance2 = myBestDistance1;482 else if (result < myBestDistance2)484 myBestDistance2 = result;530 s_distance[lidx] = myBestDistance2;550 myBestDistance2 = bestDistance2;558 bestDistance[queryIdx] = (float2)(myBestDistance1, myBestDistance2);