Searched refs:bestChoice (Results 1 – 2 of 2) sorted by relevance
397 Size bestChoice = new Size(0, 0); in getBestPreviewSize() local400 if (size.height * size.width > bestChoice.getWidth() * bestChoice.getHeight() in getBestPreviewSize()403 bestChoice = new Size(size.width, size.height); in getBestPreviewSize()407 return bestChoice; in getBestPreviewSize()440 Size bestChoice = null; in getBestPictureSize() local446 bestChoice = size; in getBestPictureSize()449 return bestChoice; in getBestPictureSize()
2501 int bestChoice = -1; in findBestDeviceForEachOperation() local2512 bestChoice = cpuDeviceIndex; in findBestDeviceForEachOperation()2525 if (bestChoice < 0 || perfVal < bestPerfVal || in findBestDeviceForEachOperation()2527 bestChoice = deviceIndex; in findBestDeviceForEachOperation()2543 if (bestChoice < 0) { in findBestDeviceForEachOperation()2546 } else if (devices[bestChoice] == DeviceManager::getCpuDevice() && in findBestDeviceForEachOperation()2555 (*bestDeviceForOperation)[operationIndex] = bestChoice; in findBestDeviceForEachOperation()2557 << ":" << operationIndex << ") = " << bestChoice << " (" in findBestDeviceForEachOperation()2558 << devices[bestChoice]->getName() << ")"; in findBestDeviceForEachOperation()