Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_capture/
Ddevice_info_impl.cc167 const int32_t diffHeight = capability.height - requested.height; in GetBestMatchedCapability() local
174 …if ((diffHeight >= 0 && diffHeight <= abs(currentbestDiffHeight)) // Height better or equalt that … in GetBestMatchedCapability()
175 || (currentbestDiffHeight < 0 && diffHeight >= currentbestDiffHeight)) in GetBestMatchedCapability()
178 if (diffHeight == currentbestDiffHeight) // Found best height. Care about the width) in GetBestMatchedCapability()
183 if (diffWidth == currentbestDiffWith && diffHeight in GetBestMatchedCapability()
303 const int32_t diffHeight = currentValue.height - height; in GetExpectedCaptureDelay() local
308 …if ((diffHeight >= 0 && diffHeight <= abs(currentbestDiffHeight)) // Height better or equal than p… in GetExpectedCaptureDelay()
309 || (currentbestDiffHeight < 0 && diffHeight >= currentbestDiffHeight)) in GetExpectedCaptureDelay()
312 … if (diffHeight == currentbestDiffHeight) // Found best height. Care about the width) in GetExpectedCaptureDelay()
317 if (diffWidth == currentbestDiffWith && diffHeight in GetExpectedCaptureDelay()