Lines Matching refs:HDisplay
43 * Generate a CVT standard mode from HDisplay, VDisplay and VRefresh.
56 * About margins; i'm sure that they are to be the bit between HDisplay and
67 xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced,
104 HDisplayRnd = HDisplay - (HDisplay % CVT_H_GRANULARITY);
115 Mode->HDisplay = HDisplayRnd + 2*HMargin;
140 if (!(VDisplay % 3) && ((VDisplay * 4 / 3) == HDisplay))
142 else if (!(VDisplay % 9) && ((VDisplay * 16 / 9) == HDisplay))
144 else if (!(VDisplay % 10) && ((VDisplay * 16 / 10) == HDisplay))
146 else if (!(VDisplay % 4) && ((VDisplay * 5 / 4) == HDisplay))
148 else if (!(VDisplay % 9) && ((VDisplay * 15 / 9) == HDisplay))
207 HBlank = Mode->HDisplay * HBlankPercentage/(100.0 - HBlankPercentage);
211 Mode->HTotal = Mode->HDisplay + HBlank;
214 Mode->HSyncEnd = Mode->HDisplay + HBlank / 2;
255 Mode->HTotal = Mode->HDisplay + CVT_RB_H_BLANK;
258 Mode->HSyncEnd = Mode->HDisplay + CVT_RB_H_BLANK / 2;
282 XNFasprintf(&Mode->name, "%dx%d", HDisplay, VDisplay);