Searched refs:refresh (Results 1 - 21 of 21) sorted by relevance

/haiku/headers/private/graphics/common/
H A Dcompute_display_timing.h17 status_t compute_display_timing(uint32 width, uint32 height, float refresh,
H A Dedid.h81 uint8 refresh; member in struct:__anon87
H A Dedid_raw.h138 refresh : 6 // (x+60)
/haiku/src/add-ons/accelerants/common/
H A Dcompute_display_timing.cpp67 * This program takes a desired resolution and vertical refresh rate,
136 using the vertical refresh frequency. In other words: input a desired
137 resolution and desired refresh rate, and output the GTF mode timings.
140 compute_display_timing(uint32 width, uint32 height, float refresh, argument
144 || refresh < 25 || refresh > 1000)
167 float verticalFieldRate = interlaced ? refresh * 2.0 : refresh;
H A Dcreate_display_modes.cpp112 uint32 refresh);
227 info->std_timing[i].refresh);
393 ModeList::_AddBaseMode(uint16 width, uint16 height, uint32 refresh) argument
400 // Add mode if width and height match, and the computed refresh rate of
401 // the mode is within 1.2 percent of the refresh rate specified by the
402 // caller. Note that refresh rates computed from mode parameters is
407 && fabs(get_refresh_rate(mode) - refresh) < refresh * 0.012) {
415 if (compute_display_timing(width, height, refresh, false, &mode.timing)
H A Ddump_edid.c319 timing->h_size, timing->v_size, timing->refresh, ratioString,
377 timing->h_size, timing->v_size, timing->refresh, ratioString);
572 edid->std_timing[i].refresh, edid->std_timing[i].id);
668 timing->refresh, timing->id);
H A Ddecode_edid.c121 timing->refresh = raw->timing.refresh + 60;
/haiku/src/bin/
H A Dtop.cpp59 static int screen_size_changed = 0; /* tells to refresh the screen size */
121 int refresh
230 if (!ignore && (!refresh || (linecount < (rows - 1)))) {
282 gather(ThreadTimeList *old, int refresh) argument
310 compare(old, &times, system_time() - oldLastMeasure, refresh);
342 int refresh = 1; local
366 refresh = 0;
377 if (refresh) {
379 refresh = 0;
395 baseline = gather(NULL, refresh);
[all...]
H A Dwatch.c270 refresh();
/haiku/src/bin/screenmode/
H A Dscreenmode.cpp60 printf(format, mode.width, mode.height, mode.BitsPerPixel(), mode.refresh);
92 "<depth> <refresh-rate>, or <width>x<height>, etc.\n"
125 float refresh = -1; local
191 refresh = strtod(argv[depthIndex + 1], NULL);
304 newMode.refresh = 60;
309 newMode.refresh = 60;
324 if (refresh > 0)
325 newMode.refresh = refresh;
327 newMode.refresh
[all...]
/haiku/src/preferences/screen/
H A DScreenMode.h25 float refresh; member in struct:screen_mode
H A DScreenMode.cpp82 // we have to be catious as refresh rate cannot be controlled directly,
154 || space != other.space || refresh != other.refresh
169 refresh = get_refresh_rate(mode);
192 // sort modes by resolution and refresh to make
193 // the resolution and refresh menu look nicer
499 // Accept the mode if the computed refresh rate of the mode is within
500 // 0.6 percent of the refresh rate specified by the caller. Note that
501 // refresh rates computed from mode parameters is not exact; especially
506 float refreshDiff = fabs(get_refresh_rate(fModeList[i]) - mode.refresh);
[all...]
H A DScreenWindow.cpp90 // list of standard refresh rates
141 refresh_rate_to_string(float refresh, BString &string, argument
144 snprintf(string.LockBuffer(32), 32, "%.*g", refresh >= 100.0 ? 4 : 3,
145 refresh);
311 // There are modes in the list with the same resolution but different bpp or refresh rates.
412 fRefreshMenu = new BPopUpMenu("refresh rate", true, true);
416 // if we couldn't obtain the refresh limits, reset to the default
429 message->AddFloat("refresh", min);
448 message->AddFloat("refresh", kRefreshRates[i]);
682 /*! Update color and refresh option
784 float refresh; local
[all...]
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dmode.cpp304 // lower limit of about 48Hz vertical refresh
413 // calculate refresh rate for given timings to whole int (in Hz)
414 int refresh = mode->timing.pixel_clock * 1000 local
417 if (refresh < 30 || refresh > 250) {
419 "refresh rate of %dHz is unlikely for any kind of monitor!\n",
420 __func__, mode->timing.h_display, mode->timing.v_display, refresh);
/haiku/headers/private/package/manager/
H A DPackageManager.h146 const char* name, bool refresh);
149 bool refresh, BRepositoryCache& _cache);
/haiku/src/add-ons/accelerants/via/engine/
H A Dbes.c27 float refresh, bandwidth; local
41 refresh =
45 si->dm.timing.h_display * si->dm.timing.v_display * refresh * depth;
47 refresh, bandwidth));
73 if (refresh > 60.2) return false;
/haiku/src/apps/activitymonitor/
H A DActivityView.cpp116 bigtime_t step, bigtime_t refresh);
231 bigtime_t toTime, bigtime_t step, bigtime_t refresh)
241 || fRefresh != refresh) {
244 fRefresh = refresh;
266 if (step > refresh) {
268 for (bigtime_t offset = refresh; offset < step; offset += refresh) {
627 || settings->FindInt64("refresh interval", &fRefreshInterval) != B_OK)
688 status = state.AddInt64("refresh interval", fRefreshInterval);
896 fRefreshSem = create_sem(0, "refresh se
230 Update(DataHistory* history, int32 width, int32 resolution, bigtime_t toTime, bigtime_t step, bigtime_t refresh) argument
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc.c383 /* wait 25mS max. for retrace to occur (refresh > 40Hz) */
415 float tpixclk, tmclk, refresh, temp; local
476 refresh = ((si->dm.timing.pixel_clock * 1000) /
488 if ((si->dm.timing.v_display > 864) && (hiprilvl > 2) && (refresh >= 76.0)) hiprilvl = 2;
/haiku/src/kits/package/manager/
H A DPackageManager.cpp774 bool refresh)
785 error = _GetRepositoryCache(roster, config, refresh, cache);
805 const BRepositoryConfig& config, bool refresh, BRepositoryCache& _cache)
807 if (!refresh && roster.GetRepositoryCache(config.Name(), &_cache) == B_OK)
773 _AddRemoteRepository(BPackageRoster& roster, const char* name, bool refresh) argument
804 _GetRepositoryCache(BPackageRoster& roster, const BRepositoryConfig& config, bool refresh, BRepositoryCache& _cache) argument
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_i2c.c477 edid->std_timing[i].refresh, edid->std_timing[i].id));
573 timing->refresh, timing->id));
/haiku/src/add-ons/accelerants/radeon/
H A Dmonitor_detection.c756 // as refresh rate
762 cur_refresh_deviation = (100 * (refresh_rate - std_timing->refresh
780 std_timing->h_size, std_timing->v_size, std_timing->refresh);

Completed in 273 milliseconds