Home
last modified time | relevance | path

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

/external/webrtc/modules/video_capture/windows/
Dvideo_capture_ds.cc190 if (capability.maxFPS > requestedCapability.maxFPS) { in SetCameraOutput()
191 capability.maxFPS = requestedCapability.maxFPS; in SetCameraOutput()
192 } else if (capability.maxFPS <= 0) { in SetCameraOutput()
193 capability.maxFPS = 30; in SetCameraOutput()
221 if (capability.maxFPS > 0 && windowsCapability.supportFrameRateControl) { in SetCameraOutput()
222 h->AvgTimePerFrame = REFERENCE_TIME(10000000.0 / capability.maxFPS); in SetCameraOutput()
226 if (capability.maxFPS > 0 && windowsCapability.supportFrameRateControl) { in SetCameraOutput()
227 h->AvgTimePerFrame = REFERENCE_TIME(10000000.0 / capability.maxFPS); in SetCameraOutput()
Dhelp_functions_ds.cc24 LONGLONG maxFPS = maxFps[0]; in GetMaxOfFrameArray() local
26 if (maxFPS > maxFps[i]) in GetMaxOfFrameArray()
27 maxFPS = maxFps[i]; in GetMaxOfFrameArray()
29 return maxFPS; in GetMaxOfFrameArray()
Ddevice_info_ds.cc442 LONGLONG maxFPS; in CreateCapabilityMap() local
459 0 != (maxFPS = GetMaxOfFrameArray(frameDurationList, listSize))) { in CreateCapabilityMap()
460 capability.maxFPS = static_cast<int>(10000000 / maxFPS); in CreateCapabilityMap()
466 capability.maxFPS = static_cast<int>(10000000 / avgTimePerFrame); in CreateCapabilityMap()
468 capability.maxFPS = 0; in CreateCapabilityMap()
473 capability.maxFPS = static_cast<int>(10000000 / avgTimePerFrame); in CreateCapabilityMap()
475 capability.maxFPS = 0; in CreateCapabilityMap()
523 << " fps:" << capability.maxFPS; in CreateCapabilityMap()
Dsink_filter_ds.cc302 if (capability_.maxFPS != 0) in STDMETHOD()
303 vih->AvgTimePerFrame = 10000000 / capability_.maxFPS; in STDMETHOD()
/external/webrtc/modules/video_capture/
Ddevice_info_impl.cc130 const int32_t diffFrameRate = capability.maxFPS - requested.maxFPS; in GetBestMatchedCapability()
134 const int32_t currentbestDiffFrameRate = bestFrameRate - requested.maxFPS; in GetBestMatchedCapability()
179 capability.maxFPS >= requested.maxFPS) { in GetBestMatchedCapability()
186 bestFrameRate = capability.maxFPS; in GetBestMatchedCapability()
195 bestFrameRate = capability.maxFPS; in GetBestMatchedCapability()
204 bestFrameRate = capability.maxFPS; in GetBestMatchedCapability()
Dvideo_capture_defines.h28 int32_t maxFPS; member
35 maxFPS = 0; in VideoCaptureCapability()
44 if (maxFPS != other.maxFPS)
Dvideo_capture_impl.cc86 _requestedCapability.maxFPS = 30; in VideoCaptureImpl()
/external/swiftshader/src/Main/
DFrameBufferX11.cpp167 static double maxFPS = 0.0; in blit() local
176 if(FPS > maxFPS) in blit()
178 maxFPS = FPS; in blit()
183 sprintf(string, "FPS: %.2f (max: %.2f)", FPS, maxFPS); in blit()
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc95 last_render_time_ms_ + (1000 * 1.1) / capability_.maxFPS && in OnFrame()
98 last_render_time_ms_ + (1000 * 0.9) / capability_.maxFPS && in OnFrame()
216 capability.maxFPS = kTestFramerate; in TEST_F()
266 frame_rates_by_resolution[resolution].push_back(capability.maxFPS); in TEST_F()
317 capability1.maxFPS = kTestFramerate; in TEST_F()
333 capability2.maxFPS = kTestFramerate; in TEST_F()
/external/webrtc/modules/video_capture/linux/
Ddevice_info_linux.cc278 cap.maxFPS = 15; in FillCapabilities()
280 cap.maxFPS = 30; in FillCapabilities()
287 << " fps:" << cap.maxFPS; in FillCapabilities()
Dvideo_capture_linux.cc219 streamparms.parm.capture.timeperframe.denominator = capability.maxFPS; in StartCapture()
224 _currentFrameRate = capability.maxFPS; in StartCapture()
431 settings.maxFPS = _currentFrameRate; in CaptureSettings()
/external/webrtc/test/
Dvcm_capturer.cc52 capability_.maxFPS = static_cast<int32_t>(target_fps); in Init()