Home
last modified time | relevance | path

Searched refs:max_fps (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/dports/multimedia/camserv/camserv-0.5.1/camserv/
H A Dpicture_loop.c141 void sleep_abit( float cur_fps, float max_fps ) in sleep_abit() argument
150 if( cur_fps <= max_fps ) return; in sleep_abit()
152 diff = cur_fps - max_fps; in sleep_abit()
153 msex = (diff / max_fps) * 1000000; in sleep_abit()
349 float max_fps, cur_fps; in picture_taker() local
368 &memhack_buf, &max_fps, 1 ) == -1 ){ in picture_taker()
431 &memhack_buf, &max_fps, 1 ) == -1) in picture_taker()
457 if( max_fps != 0.0) { in picture_taker()
463 if( cur_fps > max_fps ) in picture_taker()
464 sleep_abit( cur_fps, max_fps ); in picture_taker()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/media/base/
H A Dvideo_adapter.cc150 int max_fps = max_framerate_request_; in KeepFrame() local
152 max_fps = std::min(max_fps, *max_fps_); in KeepFrame()
154 if (max_fps <= 0) in KeepFrame()
159 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()
298 absl::optional<int> max_fps; in OnOutputFormatRequest() local
303 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
305 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
311 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
325 target_portrait_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
333 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/media/base/
H A Dvideo_adapter.cc148 int max_fps = max_framerate_request_; in KeepFrame() local
150 max_fps = std::min(max_fps, *max_fps_); in KeepFrame()
152 if (max_fps <= 0) in KeepFrame()
157 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()
296 absl::optional<int> max_fps; in OnOutputFormatRequest() local
301 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
303 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
309 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
323 target_portrait_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
331 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/media/base/
H A Dvideo_adapter.cc148 int max_fps = max_framerate_request_; in KeepFrame() local
150 max_fps = std::min(max_fps, *max_fps_); in KeepFrame()
152 if (max_fps <= 0) in KeepFrame()
157 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()
296 absl::optional<int> max_fps; in OnOutputFormatRequest() local
301 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
303 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
309 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
323 target_portrait_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
331 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
[all …]
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/media/base/
H A Dvideo_adapter.cc148 int max_fps = max_framerate_request_; in KeepFrame() local
150 max_fps = std::min(max_fps, *max_fps_); in KeepFrame()
152 if (max_fps <= 0) in KeepFrame()
157 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()
306 absl::optional<int> max_fps; in OnOutputFormatRequest() local
311 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
313 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
319 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
333 target_portrait_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
341 const absl::optional<int>& max_fps) { in OnOutputFormatRequest() argument
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/trees/
H A Dframe_rate_counter.cc76 void FrameRateCounter::GetMinAndMaxFPS(double* min_fps, double* max_fps) const { in GetMinAndMaxFPS()
78 *max_fps = 0.0; in GetMinAndMaxFPS()
90 *max_fps = std::max(fps, *max_fps); in GetMinAndMaxFPS()
93 if (*min_fps > *max_fps) in GetMinAndMaxFPS()
94 *min_fps = *max_fps; in GetMinAndMaxFPS()
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/src/screencast/
H A Dfps_limit.c13 void fps_limit_measure_start(struct fps_limit_state *state, double max_fps) { in fps_limit_measure_start() argument
14 if (max_fps <= 0.0) { in fps_limit_measure_start()
21 uint64_t fps_limit_measure_end(struct fps_limit_state *state, double max_fps) { in fps_limit_measure_end() argument
22 if (max_fps <= 0.0) { in fps_limit_measure_end()
35 int64_t target_ns = (1.0 / max_fps) * TIMESPEC_NSEC_PER_SEC; in fps_limit_measure_end()
/dports/misc/py-alive-progress/alive-progress-2.1.0/alive_progress/core/
H A Dcalibration.py25 min_fps, max_fps = 2., 60.
28 factor = (max_fps - min_fps) / math.log10((calibrate * adjust_log_curve) + 1.)
35 return max_fps
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/video_engine/test/libvietest/helpers/
H A Dvie_file_capture_device.cc24 explicit FramePacemaker(uint32_t max_fps)
25 : time_per_frame_ms_(1000 / max_fps) {
70 uint32_t max_fps) {
82 FramePacemaker pacemaker(max_fps);
H A Dvie_fake_camera.cc26 uint32_t max_fps = 30; in StreamVideoFileRepeatedlyIntoCaptureDevice() local
28 file_capture_device->ReadFileFor(time_slice_ms, max_fps); in StreamVideoFileRepeatedlyIntoCaptureDevice()
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Devents.c34 max_fps = min_fps; in enter_minimised_state()
40 max_fps = limit_fps; in leave_minimised_state()
178 if (max_fps != min_fps) in check_minimised_or_restore_window()
183 if (max_fps != limit_fps) in check_minimised_or_restore_window()
225 if (max_fps != min_fps) in HandleEvent()
238 if (max_fps != limit_fps) in HandleEvent()
/dports/games/chapping/chapping-0.43-source/library/
H A Dtimemanager.cpp16 old_tick(0),max_fps(0),graphic_tick(0),\ in TimeManager()
26 max_fps=60; in init()
111 if(graphic_tick>=((float)max_fps/ticksPerSecond())*(logic_tick-old_tick)) in isGraphictick()
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/include/
H A Dfps_limit.h14 void fps_limit_measure_start(struct fps_limit_state *state, double max_fps);
16 uint64_t fps_limit_measure_end(struct fps_limit_state *state, double max_fps);
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/network/
H A Dchild_loop.cpp63 const int max_fps = UserConfigParams::m_max_fps; in getLimitedDt() local
64 if (current_fps <= max_fps) in getLimitedDt()
67 int wait_time = 1000 / max_fps - 1000 / current_fps; in getLimitedDt()
/dports/x11-wm/wayfire-plugins-extra/wayfire-plugins-extra-0.7.0/src/
H A Dbench.cpp45 double max_fps = 0; member in wayfire_bench_screen
209 if (current_fps > max_fps) in render_bench()
211 max_fps = current_fps; in render_bench()
214 max_fps -= 1; in render_bench()
226 fps_angle = max_angle + (current_fps / max_fps) * in render_bench()
/dports/net/mediastreamer/mediastreamer-2.16.1/src/videofilters/
H A Dmsv4l2.c178 int max_fps; member
212 formats[i].max_fps = -1; in query_format_description_for_size()
218 formats[i].max_fps = -1; in query_format_description_for_size()
223 formats[i].max_fps = -1; in query_format_description_for_size()
228 formats[i].max_fps = -1; in query_format_description_for_size()
233 formats[i].max_fps = -1; in query_format_description_for_size()
245 formats[i].max_fps = query_max_fps_for_format_resolution(fd, fmt.pixelformat, vsize); in query_format_description_for_size()
254 formats[i].max_fps, in query_format_description_for_size()
279 if (format_desc[j].max_fps >= target_fps && format_desc[j].native) in msv4l2_pick_best_format_x86()
321 if (format_desc[j].max_fps >= target_fps || format_desc[j].max_fps==-1 /*max fps unknown*/){ in msv4l2_pick_best_format_basic()
/dports/multimedia/obs-studio/obs-studio-27.1.3/UI/
H A Dwindow-basic-settings-stream.cpp911 size_t res_count, int max_fps) in ResFPSValid() argument
913 if (!res_count && !max_fps) in ResFPSValid()
935 if (max_fps) { in ResFPSValid()
943 if (fps > (float)max_fps) in ResFPSValid()
983 int max_fps = 0; in UpdateResFPSLimits() local
989 obs_service_get_max_fps(service, &max_fps); in UpdateResFPSLimits()
998 double max_fpsd = (double)max_fps; in UpdateResFPSLimits()
1007 if (max_fps) { in UpdateResFPSLimits()
1068 if (max_fps) { in UpdateResFPSLimits()
1139 if (max_fps) { in UpdateResFPSLimits()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/pistoncore-event_loop-0.49.0/src/
H A Dlib.rs39 pub max_fps: u64, field
65 max_fps: DEFAULT_MAX_FPS, in new()
130 dt_frame_in_ns: BILLION / settings.max_fps, in new()
418 self.set_event_settings(EventSettings { max_fps: frames, ..old_settings }) in set_max_fps()
426 fn max_fps(mut self, frames: u64) -> Self { in max_fps() method
/dports/graphics/open3d/Open3D-0.2/src/External/librealsense/src/
H A Dr200.cpp332 int fps[RS_STREAM_NATIVE_COUNT] = {}, max_fps = 0; in select_key_stream() local
338 max_fps = std::max(max_fps, m.mode.fps); in select_key_stream()
345 if(fps[s] == max_fps) return s; in select_key_stream()
418 int max_fps; member in rsimpl::dinghy_timestamp_reader
420 dinghy_timestamp_reader(int max_fps) : max_fps(max_fps) {} in dinghy_timestamp_reader() argument
475 return frame_number * 1000 / max_fps; in get_frame_timestamp()
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/librealsense/src/
H A Dr200.cpp332 int fps[RS_STREAM_NATIVE_COUNT] = {}, max_fps = 0; in select_key_stream() local
338 max_fps = std::max(max_fps, m.mode.fps); in select_key_stream()
345 if(fps[s] == max_fps) return s; in select_key_stream()
418 int max_fps; member in rsimpl::dinghy_timestamp_reader
420 dinghy_timestamp_reader(int max_fps) : max_fps(max_fps) {} in dinghy_timestamp_reader() argument
475 return frame_number * 1000 / max_fps; in get_frame_timestamp()
/dports/net/gstreamer1-plugins-libmms/gst-plugins-bad-1.16.2/gst/debugutils/
H A Dfpsdisplaysink.c335 self->max_fps = -1; in fps_display_sink_init()
370 if (self->max_fps == -1 || rr > self->max_fps) { in display_current_fps()
371 self->max_fps = rr; in display_current_fps()
434 self->max_fps = -1; in fps_display_sink_start()
490 g_strdup_printf ("Max-fps: %0.2f, Min-fps: %0.2f", self->max_fps, in fps_display_sink_stop()
599 g_value_set_double (value, self->max_fps); in fps_display_sink_get_property()
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/gst/debugutils/
H A Dfpsdisplaysink.c335 self->max_fps = -1; in fps_display_sink_init()
370 if (self->max_fps == -1 || rr > self->max_fps) { in display_current_fps()
371 self->max_fps = rr; in display_current_fps()
434 self->max_fps = -1; in fps_display_sink_start()
490 g_strdup_printf ("Max-fps: %0.2f, Min-fps: %0.2f", self->max_fps, in fps_display_sink_stop()
599 g_value_set_double (value, self->max_fps); in fps_display_sink_get_property()
/dports/multimedia/gstreamer1-plugins-mplex/gst-plugins-bad-1.16.2/gst/debugutils/
H A Dfpsdisplaysink.c335 self->max_fps = -1; in fps_display_sink_init()
370 if (self->max_fps == -1 || rr > self->max_fps) { in display_current_fps()
371 self->max_fps = rr; in display_current_fps()
434 self->max_fps = -1; in fps_display_sink_start()
490 g_strdup_printf ("Max-fps: %0.2f, Min-fps: %0.2f", self->max_fps, in fps_display_sink_stop()
599 g_value_set_double (value, self->max_fps); in fps_display_sink_get_property()
/dports/multimedia/gstreamer1-plugins-openh264/gst-plugins-bad-1.16.2/gst/debugutils/
H A Dfpsdisplaysink.c335 self->max_fps = -1; in fps_display_sink_init()
370 if (self->max_fps == -1 || rr > self->max_fps) { in display_current_fps()
371 self->max_fps = rr; in display_current_fps()
434 self->max_fps = -1; in fps_display_sink_start()
490 g_strdup_printf ("Max-fps: %0.2f, Min-fps: %0.2f", self->max_fps, in fps_display_sink_stop()
599 g_value_set_double (value, self->max_fps); in fps_display_sink_get_property()
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/gst/debugutils/
H A Dfpsdisplaysink.c335 self->max_fps = -1; in fps_display_sink_init()
370 if (self->max_fps == -1 || rr > self->max_fps) { in display_current_fps()
371 self->max_fps = rr; in display_current_fps()
434 self->max_fps = -1; in fps_display_sink_start()
490 g_strdup_printf ("Max-fps: %0.2f, Min-fps: %0.2f", self->max_fps, in fps_display_sink_stop()
599 g_value_set_double (value, self->max_fps); in fps_display_sink_get_property()

12345678910>>...13