Searched refs:aspect (Results 1 - 8 of 8) sorted by relevance

/haiku/src/add-ons/accelerants/nvidia/
H A DGetDeviceInfo.c45 /* return info on screen with lowest aspect (4:3 takes precedence over ws)
47 * allow 0.10 difference so 4:3 and 5:4 aspect screens are regarded as being the same. */
48 if (si->ps.crtc1_screen.aspect < (si->ps.crtc2_screen.aspect - 0.10)) {
51 if (si->ps.crtc1_screen.aspect > (si->ps.crtc2_screen.aspect + 0.10)) {
54 /* both screens have the same aspect, return info on the one with
61 /* if both screens have the same resolution and aspect, return info on the
102 /* return mode of screen with lowest aspect (4:3 takes precedence over ws)
104 * allow 0.10 difference so 4:3 and 5:4 aspect screen
[all...]
H A DProposeDisplayMode.c273 /* disable aspect checks for a requested TVout mode when mode is TVout capable */
276 /* check if all connected output devices can display the requested mode's aspect.
279 /* calculate display mode aspect */
282 * allow 0.10 difference so 5:4 aspect panels will be able to use 4:3 aspect modes! */
293 if (si->ps.crtc1_screen.aspect < (target_aspect - 0.10)) {
300 if (si->ps.crtc2_screen.aspect < (target_aspect - 0.10)) {
310 if ((si->ps.crtc1_screen.aspect < (target_aspect - 0.10)) ||
311 (si->ps.crtc2_screen.aspect < (target_aspect - 0.10))) {
/haiku/headers/libs/agg/
H A Dagg_trans_viewport.h70 aspect_ratio_e aspect)
74 m_aspect = aspect;
68 preserve_aspect_ratio(double alignx, double aligny, aspect_ratio_e aspect) argument
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_i2c.c737 /* determine screen aspect ratio */
738 specs->aspect =
772 LOG(4,("I2C: specsEDID: aspect: %1.2f\n", specs->aspect));
797 si->ps.con1_screen.aspect = 0;
798 si->ps.con2_screen.aspect = 0;
H A Dnv_info.c2599 si->ps.con1_screen.aspect = 1.33;
2649 si->ps.crtc1_screen.aspect =
2660 if (si->settings.force_ws) si->ps.crtc1_screen.aspect = 1.78;
2709 si->ps.crtc2_screen.aspect =
2731 si->ps.con2_screen.aspect = 1.33;
2742 if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 1.78;
2880 if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 1.78;
3457 LOG(2,("panel width: %d, height: %d, aspect ratio: %1.2f\n",
3458 si->ps.p1_timing.h_display, si->ps.p1_timing.v_display, si->ps.crtc1_screen.aspect));
3464 LOG(2,("panel width: %d, height: %d, aspect rati
[all...]
H A Dnv_crtc.c489 /* calculate display mode aspect */
502 * scalingfactor for non 4:3 (1.33) aspect panels;
503 * let's consider 1280x1024 1:33 aspect (it's 1.25 aspect actually!) */
512 /* known 4:3 aspect non-standard resolution panels:
516 if ((iscale_x != (1 << 12)) && (si->ps.crtc1_screen.aspect > (dm_aspect + 0.10)))
536 if ((iscale_y != (1 << 12)) && (si->ps.crtc1_screen.aspect < (dm_aspect - 0.10)))
H A Dnv_crtc2.c472 /* calculate display mode aspect */
485 * scalingfactor for non 4:3 (1.33) aspect panels;
486 * let's consider 1280x1024 1:33 aspect (it's 1.25 aspect actually!) */
495 /* known 4:3 aspect non-standard resolution panels:
499 if ((iscale_x != (1 << 12)) && (si->ps.crtc2_screen.aspect > (dm_aspect + 0.10)))
519 if ((iscale_y != (1 << 12)) && (si->ps.crtc2_screen.aspect < (dm_aspect - 0.10)))
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h259 float aspect; /* screen's aspect ratio */ member in struct:__anon20

Completed in 131 milliseconds