Searched defs:ratio (Results 1 - 4 of 4) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Drotor.c82 float ratio; member in struct:elem
221 pelem->ratio = pelem->start_ratio +
224 pelem->angle = fs->angle * pelem->ratio;
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_panel.c84 /* Scale but preserve the aspect ratio */
174 * when calculating the panel ratio.
178 u32 ratio = source * FACTOR / target; local
179 return (FACTOR * ratio + FACTOR/2) / FACTOR;
212 /* Scale but preserve the aspect ratio */
235 * ratio by hand and program it into the
277 * Full scaling, even if it changes the aspect ratio.
H A Dintel_overlay.c575 /* make the Y scale to UV scale ratio an exact multiply */
842 u32 ratio; local
849 ratio = I915_READ(PFIT_PGM_RATIOS) >> PFIT_VERT_SCALE_SHIFT_965;
852 ratio = I915_READ(PFIT_AUTO_RATIOS);
854 ratio = I915_READ(PFIT_PGM_RATIOS);
855 ratio >>= PFIT_VERT_SCALE_SHIFT;
858 overlay->pfit_vscale_ratio = ratio;
911 /* better safe than sorry, use 4 as the maximal subsampling ratio */
/solaris-x11-s11/open-src/driver/efb/sun-src/src/
H A Defb_driver.c409 float ratio[] = { 10/16, /* 16:10 AR */ variable

Completed in 19 milliseconds