Searched refs:hscale (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
H A Dbt829.c153 btwrite(bt, HSCALE_HI, H(bt->hscale));
158 btwrite(bt, HSCALE_LO, L(bt->hscale));
352 CARD16 hdelay, unscaled_hdelay, vdelay, hscale, vscale; local in function:propagate_changes
393 hscale = 4096 * htotal / (bt->width + 2 * HCROP)-4096;
403 (vactive != bt->vactive) || (hscale != bt->hscale) ||
408 bt->hscale = hscale;
534 bt->hscale = 684; /* hardware default */
H A Dbt829.h29 CARD16 hscale; member in struct:__anon342c307a0108
/xsrc/external/mit/xf86-video-i740/dist/src/
H A Di740_video.c298 INT32 vscale, hscale, delta; local in function:I740ClipVideo
301 hscale = ((*x2 - *x1) << 16) / (dst->x2 - dst->x1);
310 *x1 += diff * hscale;
315 *x2 -= diff * hscale;
329 diff = (- *x1 + hscale - 1)/ hscale;
331 *x1 += diff * hscale;
335 diff = (delta + hscale - 1)/ hscale;
337 *x2 -= diff * hscale;
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/legacy/i810/
H A Di810_video.c464 INT32 vscale, hscale, delta; local in function:I810ClipVideo
467 hscale = ((*x2 - *x1) << 16) / (dst->x2 - dst->x1);
476 *x1 += diff * hscale;
481 *x2 -= diff * hscale;
495 diff = (- *x1 + hscale - 1)/ hscale;
497 *x1 += diff * hscale;
501 diff = (delta + hscale - 1)/ hscale;
503 *x2 -= diff * hscale;
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/legacy/i810/
H A Di810_video.c454 INT32 vscale, hscale, delta; local in function:I810ClipVideo
457 hscale = ((*x2 - *x1) << 16) / (dst->x2 - dst->x1);
466 *x1 += diff * hscale;
471 *x2 -= diff * hscale;
485 diff = (- *x1 + hscale - 1)/ hscale;
487 *x1 += diff * hscale;
491 diff = (delta + hscale - 1)/ hscale;
493 *x2 -= diff * hscale;
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di810_video.c464 INT32 vscale, hscale, delta; local in function:I810ClipVideo
467 hscale = ((*x2 - *x1) << 16) / (dst->x2 - dst->x1);
476 *x1 += diff * hscale;
481 *x2 -= diff * hscale;
495 diff = (- *x1 + hscale - 1)/ hscale;
497 *x1 += diff * hscale;
501 diff = (delta + hscale - 1)/ hscale;
503 *x2 -= diff * hscale;
[all...]
/xsrc/external/mit/xf86-video-nsc/dist/src/gfx/
H A Dtv_fs450.c2473 float hscale, hscale_min, hscale_max; local in function:config_overscan_xy
2577 hscale =
2580 TRACE(("hscale = %u.%u\n", (int)hscale,
2581 (int)((hscale - (int)hscale) * 1000)))
2583 /*determine hsc where hscale = (1 + hsc/128) */
2584 if (hscale >= 1.0f)
2585 hsc = (int)(128.f * (hscale - 1.0f) + .5f);
2587 hsc = (int)(128.f * (hscale
[all...]
/xsrc/external/mit/xf86-video-geode/dist/src/gfx/
H A Dtv_fs450.c2247 float hscale, hscale_min, hscale_max; local in function:config_overscan_xy
2349 hscale =
2352 TRACE(("hscale = %u.%u\n", (int) hscale,
2353 (int) ((hscale - (int) hscale) * 1000)))
2355 /* determine hsc where hscale = (1 + hsc/128) */
2356 if (hscale >= 1.0f)
2357 hsc = (int) (128.f * (hscale - 1.0f) + .5f);
2359 hsc = (int) (128.f * (hscale
[all...]
/xsrc/external/mit/xf86-video-apm/dist/src/
H A Dapm_video.c378 INT32 vscale, hscale; local in function:ApmClipVideo
390 hscale = (*x2 - *x1) / (dst->x2 - dst->x1);
396 *x1 += diff * hscale;
401 *x2 -= diff * hscale;
/xsrc/external/mit/xf86-video-savage/dist/src/
H A Dsavage_video.c982 INT32 vscale, hscale, delta; local in function:SavageClipVideo
985 hscale = ((*x2 - *x1) << 16) / (dst->x2 - dst->x1);
994 *x1 += diff * hscale;
999 *x2 -= diff * hscale;
1013 diff = (- *x1 + hscale - 1)/ hscale;
1015 *x1 += diff * hscale;
1019 diff = (delta + hscale - 1)/ hscale;
1021 *x2 -= diff * hscale;
[all...]
/xsrc/external/mit/xf86-video-geode/dist/src/cim/
H A Dcim_vg.c393 unsigned long hscale, vscale, starting_width; local in function:vg_set_custom_mode
436 hscale = (mode_params->src_width << 14) /
442 hscale = 0x4000;
460 hscale = (mode_params->src_width << 14) /
465 hscale = 0x4000;
785 WRITE_REG32(DC3_GFX_SCALE, (vscale << 16) | (hscale & 0xFFFF));

Completed in 26 milliseconds