Lines Matching defs:VDisplay
341 SiS_GetModeID(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay,
349 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
350 else if(VDisplay == 240) {
359 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
364 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
368 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
369 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
372 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth];
373 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth];
376 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
379 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
380 else if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth];
383 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
386 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
390 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth];
391 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth];
395 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth];
396 else if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
398 if(VDisplay == 600) ModeIndex = ModeIndex_1024x600[Depth];
402 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth];
404 if(VDisplay == 768) ModeIndex = ModeIndex_1152x768[Depth];
408 switch(VDisplay) {
438 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
440 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth];
445 if(VDisplay == 1050) {
451 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
455 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth];
459 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth];
461 if(VDisplay == 1080) ModeIndex = ModeIndex_1920x1080[Depth];
465 if(VDisplay == 1536) {
479 SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay,
491 if(VDisplay == 200) {
493 } else if(VDisplay == 240) {
504 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
512 if(VDisplay == 384) {
520 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
521 else if(VDisplay == 400) {
527 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
531 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
536 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
540 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
542 if((VDisplay == 600) && (LCDheight == 600)) {
549 if((VDisplay == 768) && (LCDheight == 768)) {
555 if(VDisplay == 1024) ModeIndex = ModeIndex_1280x1024[Depth];
557 if((VDisplay == 768) && (LCDheight == 768)) {
565 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth];
569 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
574 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth];
579 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
589 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
590 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth];
594 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
599 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
603 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
604 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
608 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth];
609 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth];
614 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
618 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
620 if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth];
625 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
630 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
635 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth];
636 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth];
640 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
642 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth];
647 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth];
651 switch(VDisplay) {
682 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
688 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth];
695 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
703 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth];
710 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth];
717 if(VDisplay == 1536) ModeIndex = ModeIndex_310_2048x1536[Depth];
729 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth,
740 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
744 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
745 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
748 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
752 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
762 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
763 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth];
766 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
772 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
776 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
777 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
781 if(VDisplay == 480) {
783 } else if(VDisplay == 576) {
794 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
799 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
800 else if(VDisplay == 480) {
808 if(VDisplay == 600) {
816 if(VDisplay == 768) {
820 } else if(VDisplay == 576) {
830 if(VDisplay == 720) {
835 } else if(VDisplay == 1024) {
848 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth,
858 if(VDisplay == 1200) {
864 if(VDisplay == 1050) {
871 return SiS_GetModeID(VGAEngine, 0, HDisplay, VDisplay, Depth, false, 0, 0);