Lines Matching refs:VDisplay
73 CVTCheckStandard(int HDisplay, int VDisplay, float VRefresh, Bool Reduced, in CVTCheckStandard() argument
78 if ((!(VDisplay % 3) && ((VDisplay * 4 / 3) == HDisplay)) || in CVTCheckStandard()
79 (!(VDisplay % 9) && ((VDisplay * 16 / 9) == HDisplay)) || in CVTCheckStandard()
80 (!(VDisplay % 10) && ((VDisplay * 16 / 10) == HDisplay)) || in CVTCheckStandard()
81 (!(VDisplay % 4) && ((VDisplay * 5 / 4) == HDisplay)) || in CVTCheckStandard()
82 (!(VDisplay % 9) && ((VDisplay * 15 / 9) == HDisplay))); in CVTCheckStandard()
132 printf("# %dx%d %.2f Hz ", Mode->HDisplay, Mode->VDisplay, Mode->VRefresh); in PrintComment()
136 ((float) Mode->HDisplay * Mode->VDisplay) / 1000000.0); in PrintComment()
138 if (!(Mode->VDisplay % 3) && in PrintComment()
139 ((Mode->VDisplay * 4 / 3) == Mode->HDisplay)) in PrintComment()
141 else if (!(Mode->VDisplay % 9) && in PrintComment()
142 ((Mode->VDisplay * 16 / 9) == Mode->HDisplay)) in PrintComment()
144 else if (!(Mode->VDisplay % 10) && in PrintComment()
145 ((Mode->VDisplay * 16 / 10) == Mode->HDisplay)) in PrintComment()
147 else if (!(Mode->VDisplay % 4) && in PrintComment()
148 ((Mode->VDisplay * 5 / 4) == Mode->HDisplay)) in PrintComment()
150 else if (!(Mode->VDisplay % 9) && in PrintComment()
151 ((Mode->VDisplay * 15 / 9) == Mode->HDisplay)) in PrintComment()
175 PrintModeline(DisplayModePtr Mode, int HDisplay, int VDisplay, float VRefresh, in PrintModeline() argument
179 printf("Modeline \"%dx%dR\" ", HDisplay, VDisplay); in PrintModeline()
181 printf("Modeline \"%dx%d_%.2f\" ", HDisplay, VDisplay, VRefresh); in PrintModeline()
185 Mode->VDisplay, Mode->VSyncStart, Mode->VSyncEnd, Mode->VTotal); in PrintModeline()
208 int HDisplay = 0, VDisplay = 0; in main() local
241 else if (!VDisplay) { in main()
242 VDisplay = atoi(argv[n]); in main()
243 if (!VDisplay) { in main()
261 if (!HDisplay || !VDisplay) { in main()
286 IsCVT = CVTCheckStandard(HDisplay, VDisplay, VRefresh, Reduced, Verbose); in main()
288 Mode = xf86CVTMode(HDisplay, VDisplay, VRefresh, Reduced, Interlaced); in main()
291 PrintModeline(Mode, HDisplay, VDisplay, VRefresh, Reduced); in main()