Searched refs:ratio (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Drotor.c82 float ratio; member in struct:elem
214 pelem->ratio = pelem->start_ratio +
217 pelem->angle = fs->angle * pelem->ratio;
/solaris-x11-s12/open-src/kernel/i915/src/
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 */
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.

Completed in 14 milliseconds