Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_capture/
Ddevice_info_impl.cc170 const int32_t currentbestDiffWith = bestWidth - requested.width; in GetBestMatchedCapability() local
180 … if ((diffWidth >= 0 && diffWidth <= abs(currentbestDiffWith)) // Width better or equal in GetBestMatchedCapability()
181 || (currentbestDiffWith < 0 && diffWidth >= currentbestDiffWith)) in GetBestMatchedCapability()
183 if (diffWidth == currentbestDiffWith && diffHeight in GetBestMatchedCapability()
305 const int32_t currentbestDiffWith = bestWidth - width; in GetExpectedCaptureDelay() local
314 … if ((diffWidth >= 0 && diffWidth <= abs(currentbestDiffWith)) // Width better or equal in GetExpectedCaptureDelay()
315 || (currentbestDiffWith < 0 && diffWidth >= currentbestDiffWith)) in GetExpectedCaptureDelay()
317 if (diffWidth == currentbestDiffWith && diffHeight in GetExpectedCaptureDelay()