Searched refs:timing (Results 1 - 25 of 139) sorted by relevance

123456

/haiku/src/add-ons/accelerants/common/
H A Ddump_edid.c140 edid1_std_timing *timing = &monitor->data.std_timing[j]; local
142 if (timing->h_size <= 256)
146 timing->h_size, timing->v_size,
147 timing->refresh, timing->id);
154 edid1_detailed_timing *timing = &monitor->data.detailed_timing; local
155 if (timing->h_active + timing->h_blank == 0
156 || timing
[all...]
H A Dvalidate_display_mode.cpp95 if (mode.timing.h_display < constraints.min_h_display) {
97 __func__, mode.timing.h_display, constraints.min_h_display);
98 mode.timing.h_display = constraints.min_h_display;
99 } else if (mode.timing.h_display > constraints.max_h_display) {
101 __func__, mode.timing.h_display, constraints.max_h_display);
102 mode.timing.h_display = constraints.max_h_display;
105 if (mode.timing.v_display < constraints.min_v_display) {
107 __func__, mode.timing.v_display, constraints.min_v_display);
108 mode.timing.v_display = constraints.min_v_display;
109 } else if (mode.timing
[all...]
H A Dcompute_display_timing.cpp141 bool interlaced, display_timing* timing)
277 timing->pixel_clock = uint32(pixelFrequency * 1000);
278 timing->h_display = (uint16)width;
279 timing->h_sync_start = (uint16)(width + horizontalFrontPorch);
280 timing->h_sync_end
282 timing->h_total = (uint16)totalPixels;
283 timing->v_display = (uint16)verticalLines;
284 timing->v_sync_start = (uint16)(verticalLines + verticalOddFrontPorchLines);
285 timing->v_sync_end
287 timing
140 compute_display_timing(uint32 width, uint32 height, float refresh, bool interlaced, display_timing* timing) argument
[all...]
H A Ddecode_edid.c85 decode_std_timing(edid1_std_timing *timing, const edid1_std_timing_raw *raw) argument
87 timing->h_size = (raw->timing.h_size + 31) * 8;
88 timing->ratio = raw->timing.ratio;
90 switch (raw->timing.ratio) {
92 timing->v_size = timing->h_size;
96 timing->v_size = timing
128 decode_detailed_timing(edid1_detailed_timing *timing, const edid1_detailed_timing_raw *raw) argument
[all...]
H A Di2c.c99 spin(bus->timing.r);
115 spin(bus->timing.r);
128 status = wait_for_clk(bus, bus->timing.start_timeout);
134 spin(bus->timing.su_sta);
136 spin(bus->timing.hd_sta);
138 spin(bus->timing.f);
151 spin(bus->timing.r);
156 status = wait_for_clk(bus, bus->timing.ack_timeout);
162 spin(bus->timing.su_sto);
164 spin(bus->timing
440 i2c_get100k_timing(i2c_timing *timing) argument
448 i2c_get400k_timing(i2c_timing *timing) argument
[all...]
H A Dcreate_display_modes.cpp128 return float(mode.timing.pixel_clock * 1000)
129 / float(mode.timing.h_total * mode.timing.v_total);
254 const edid1_detailed_timing& timing local
258 if (timing.pixel_clock <= 0/* || timing.sync != 3*/)
261 mode.timing.pixel_clock = timing.pixel_clock * 10;
262 mode.timing.h_display = timing
[all...]
/haiku/src/add-ons/accelerants/neomagic/
H A DProposeDisplayMode.c59 * display_mode.timing.h_display;
60 * display_mode.timing.v_display;
72 double target_refresh = ((double)target->timing.pixel_clock * 1000.0) /
74 (double)target->timing.h_total *
75 (double)target->timing.v_total
78 want_same_width = target->timing.h_display == target->virtual_width,
79 want_same_height = target->timing.v_display == target->virtual_height;
111 target->timing.h_display==valid_mode_list[i].h_display &&
112 target->timing.v_display==valid_mode_list[i].v_display
116 abs(valid_mode_list[i].pixel_clock-target->timing
[all...]
/haiku/src/add-ons/accelerants/skeleton/
H A DProposeDisplayMode.c24 * panel connected. The modes as listed here, should timing-wise be as compatible with analog (CRT) monitors as can be... */
106 * display_mode.timing.h_display;
107 * display_mode.timing.v_display;
119 double target_refresh = ((double)target->timing.pixel_clock * 1000.0) /
121 (double)target->timing.h_total *
122 (double)target->timing.v_total
125 want_same_width = target->timing.h_display == target->virtual_width,
126 want_same_height = target->timing.v_display == target->virtual_height;
158 target->timing.h_display==valid_mode_list[i].h_display &&
159 target->timing
[all...]
/haiku/src/add-ons/accelerants/via/
H A DProposeDisplayMode.c26 * panel connected. The modes as listed here, should timing-wise be as compatible with analog (CRT) monitors as can be... */
108 * display_mode.timing.h_display;
109 * display_mode.timing.v_display;
121 double target_refresh = ((double)target->timing.pixel_clock * 1000.0) /
123 (double)target->timing.h_total *
124 (double)target->timing.v_total
127 want_same_width = target->timing.h_display == target->virtual_width,
128 want_same_height = target->timing.v_display == target->virtual_height;
160 target->timing.h_display==valid_mode_list[i].h_display &&
161 target->timing
[all...]
/haiku/src/add-ons/accelerants/matrox/
H A DProposeDisplayMode.c23 * panel connected. The modes as listed here, should timing-wise be as compatible with analog (CRT) monitors as can be... */
94 note: horizontal CRTC timing must be a multiple of 8! (hardware restriction) */
114 * display_mode.timing.h_display;
115 * display_mode.timing.v_display;
127 double target_refresh = ((double)target->timing.pixel_clock * 1000.0) /
129 (double)target->timing.h_total *
130 (double)target->timing.v_total
133 want_same_width = target->timing.h_display == target->virtual_width,
134 want_same_height = target->timing.v_display == target->virtual_height;
156 /*find a nearby valid timing fro
[all...]
/haiku/src/add-ons/accelerants/3dfx/
H A Dmode.cpp24 if (mode->timing.h_display > maxWidth)
25 maxWidth = mode->timing.h_display;
28 if (mode->timing.v_display > maxHeight)
29 maxHeight = mode->timing.v_display;
58 if (mode->timing.pixel_clock > si.maxPixelClock)
77 if ((mode->timing.pixel_clock > si.maxPixelClock / 2)
78 && (mode->timing.h_display % 16) != 0)
84 if (mode->timing.h_display == 640 && mode->timing.v_display < 480)
141 target->timing
[all...]
/haiku/src/add-ons/accelerants/radeon/
H A Dmultimon.c20 mode->timing.flags &= ~RADEON_MODE_MASK;
33 mode->timing.flags &= ~RADEON_MODE_POSITION_MASK;
35 if( mode->virtual_width == 2 * mode->timing.h_display ) {
37 mode->timing.flags |= RADEON_MODE_POSITION_HORIZONTAL;
38 mode->timing.flags &= ~RADEON_MODE_MASK;
39 mode->timing.flags |= RADEON_MODE_COMBINE;
40 } else if( mode->virtual_height == 2 * mode->timing.v_display ) {
42 mode->timing.flags |= RADEON_MODE_POSITION_VERTICAL;
43 mode->timing.flags &= ~RADEON_MODE_MASK;
44 mode->timing
[all...]
H A DProposeDisplayMode.c158 SHOW_FLOW( 4, "X %d, virtX %d", target->timing.h_display, target->virtual_width);
161 if (target->timing.h_total * target->timing.v_total == 0)
167 (((uint64)target->timing.pixel_clock * 1000) << FIX_SHIFT) /
168 ((uint64)target->timing.h_total * target->timing.v_total);
170 want_same_width = target->timing.h_display == target->virtual_width;
171 want_same_height = target->timing.v_display == target->virtual_height;
180 if( target->timing.h_display > flatpanel->panel_xres )
181 target->timing
[all...]
H A Dimpactv.c29 // calculate time when TV timing must be restarted
51 // simulate timing during vertical blank and find the last CRT line where
54 for( line = mode->timing.v_display - 1 + 18; line < mode->timing.v_total - 2; ++line ) {
59 how_early = uv_accum_frac * mode->timing.h_total;
69 f_first * mode->timing.v_total * mode->timing.h_total
70 + v_first * mode->timing.h_total
89 - mode->timing.h_display / 2
90 + mode->timing
284 Radeon_MakeOverscanMode( display_timing *timing, tv_standard_e tv_format ) argument
421 const tv_timing *timing = &params->timing; local
[all...]
/haiku/src/add-ons/accelerants/nvidia/
H A DProposeDisplayMode.c21 * panel connected. The modes as listed here, should timing-wise be as compatible with analog (CRT) monitors as can be... */
92 note: horizontal CRTC timing must be a multiple of 8! (hardware restriction) */
104 if( mode->virtual_width == 2 * mode->timing.h_display ) {
110 } else if( mode->virtual_height == 2 * mode->timing.v_display ) {
126 if( (mode->timing.flags & RADEON_MODE_MULTIMON_REQUEST) != 0 &&
127 (mode->timing.flags & RADEON_MODE_MULTIMON_REPLY) == 0 )
129 mode->timing.flags &= ~RADEON_MODE_MULTIMON_REQUEST;
130 mode->timing.flags |= RADEON_MODE_MULTIMON_REPLY;
143 || mode->timing.pixel_clock != 0
144 || low->timing
[all...]
/haiku/src/add-ons/accelerants/intel_810/
H A Dmode.cpp24 if (mode->timing.h_display > maxWidth)
25 maxWidth = mode->timing.h_display;
28 if (mode->timing.v_display > maxHeight)
29 maxHeight = mode->timing.v_display;
59 if (mode->timing.pixel_clock > maxPixelClock)
78 if (mode->timing.h_display == 640 && mode->timing.v_display < 480)
144 target->timing.h_display, target->timing.v_display,
145 target->timing
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc2.c17 LOG(4,("CRTC2: setting timing\n"));
23 /* check horizontal timing parameters are to nearest 8 pixels */
24 if ((target.timing.h_display & 0x07) | (target.timing.h_sync_start & 0x07) |
25 (target.timing.h_sync_end & 0x07) | (target.timing.h_total & 0x07))
38 CR2W(HPARAM, ((((target.timing.h_display - 8) & 0x0fff) << 16) |
39 ((target.timing.h_total - 8) & 0x0fff)));
40 CR2W(HSYNC, ((((target.timing.h_sync_end - 8) & 0x0fff) << 16) |
41 ((target.timing
[all...]
H A Dmga_maventv.c101 *ht_new = target.timing.h_total + h_total_mod + 2;
105 req_pclks_field = *ht_new * target.timing.v_total;
146 if (calc_pclks_field < ((*ht_new * (target.timing.v_total - 1)) + 2)) continue;
149 *ht_last_line = calc_pclks_field - (*ht_new * (target.timing.v_total - 1));
211 best[3] = target.timing.h_total;
212 best[4] = target.timing.h_total;
259 /* Notes about timing:
261 * all horizontal timing is measured in pixelclock periods;
262 * all? vertical timing is measured in field? lines. */
265 * <= G400MAX cards have a fixed 27Mhz(?) clock for TV timing registe
[all...]
/haiku/src/add-ons/accelerants/s3/
H A Dmode.cpp20 // Initialize the timing values for CRTC registers cr00 to cr18 and cr3a,
25 // Normally the horizontal timing values are divided by 8; however, some
29 int hTotal = (mode.timing.h_total * horzScaleFactor) / 8 - 5;
30 int hDisp_e = (mode.timing.h_display * horzScaleFactor) / 8 - 1;
31 int hSync_s = (mode.timing.h_sync_start * horzScaleFactor) / 8;
32 int hSync_e = (mode.timing.h_sync_end * horzScaleFactor) / 8;
36 int vTotal = mode.timing.v_total - 2;
37 int vDisp_e = mode.timing.v_display - 1;
38 int vSync_s = mode.timing.v_sync_start;
39 int vSync_e = mode.timing
[all...]
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dmode.cpp291 uint32 totalClocks = (uint32)mode->timing.h_total
292 * (uint32)mode->timing.v_total;
329 uint32 hfreq = mode->timing.pixel_clock / mode->timing.h_total;
337 uint32 vfreq = mode->timing.pixel_clock / ((mode->timing.v_total
338 * mode->timing.h_total) / 1000);
349 mode->timing.pixel_clock, mode->timing.h_display,
350 mode->timing
[all...]
/haiku/src/tests/add-ons/accelerants/intel_extreme/
H A DPllTest.cpp45 mode->timing.flags = 0;
47 mode->timing.pixel_clock = uint32(75.2 * 1000);
49 mode->timing.pixel_clock = uint32(146.25 * 1000);
50 mode->timing.h_display = 1366;
51 mode->timing.h_sync_start = 1414;
52 mode->timing.h_sync_end = 1478;
53 mode->timing.h_total = 1582;
55 mode->timing.v_display = 768;
56 mode->timing.v_sync_start = 772;
57 mode->timing
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Dmode.cpp35 if (mode.timing.h_display == width && mode.timing.v_display == height) {
36 int modeRefreshRate = int(((mode.timing.pixel_clock * 1000.0 /
37 mode.timing.h_total) / mode.timing.v_total) + 0.5);
62 if (mode->timing.h_display > maxWidth)
63 maxWidth = mode->timing.h_display;
66 if (mode->timing.v_display > maxHeight)
67 maxHeight = mode->timing.v_display;
89 if (vesaMode.width == mode.timing
[all...]
/haiku/headers/private/graphics/common/
H A Dcompute_display_timing.h18 bool interlaced, display_timing* timing);
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_i2c.c480 edid1_std_timing *timing = &monitor->data.std_timing[j]; local
482 if (timing->h_size <= 256)
486 timing->h_size, timing->v_size,
487 timing->refresh, timing->id));
494 edid1_detailed_timing *timing = &monitor->data.detailed_timing; local
497 LOG(4,("clock=%f MHz\n", timing->pixel_clock / 100.0));
499 timing->h_active, timing
[all...]
/haiku/src/bin/screenmode/
H A Dscreenmode.cpp67 const display_timing& timing = displayMode.timing; local
69 printf("%" B_PRIu32 " %u %u %u %u %u %u %u %u ", timing.pixel_clock / 1000,
70 timing.h_display, timing.h_sync_start, timing.h_sync_end,
71 timing.h_total, timing.v_display, timing.v_sync_start,
72 timing
[all...]

Completed in 160 milliseconds

123456