Lines Matching refs:Depth
342 int Depth, bool FSTN, int LCDwidth, int LCDheight) in SiS_GetModeID() argument
349 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID()
352 ModeIndex = ModeIndex_320x240_FSTN[Depth]; in SiS_GetModeID()
354 ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID()
359 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID()
364 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID()
368 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID()
369 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID()
372 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID()
373 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID()
376 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID()
379 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID()
380 else if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID()
383 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID()
386 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID()
390 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth]; in SiS_GetModeID()
391 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID()
395 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID()
396 else if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID()
398 if(VDisplay == 600) ModeIndex = ModeIndex_1024x600[Depth]; in SiS_GetModeID()
402 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth]; in SiS_GetModeID()
404 if(VDisplay == 768) ModeIndex = ModeIndex_1152x768[Depth]; in SiS_GetModeID()
410 ModeIndex = ModeIndex_1280x720[Depth]; in SiS_GetModeID()
414 ModeIndex = ModeIndex_300_1280x768[Depth]; in SiS_GetModeID()
416 ModeIndex = ModeIndex_310_1280x768[Depth]; in SiS_GetModeID()
421 ModeIndex = ModeIndex_1280x800[Depth]; in SiS_GetModeID()
426 ModeIndex = ModeIndex_1280x854[Depth]; in SiS_GetModeID()
430 ModeIndex = ModeIndex_1280x960[Depth]; in SiS_GetModeID()
433 ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID()
438 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID()
440 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth]; in SiS_GetModeID()
446 ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID()
451 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID()
455 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth]; in SiS_GetModeID()
459 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth]; in SiS_GetModeID()
461 if(VDisplay == 1080) ModeIndex = ModeIndex_1920x1080[Depth]; in SiS_GetModeID()
467 ModeIndex = ModeIndex_300_2048x1536[Depth]; in SiS_GetModeID()
469 ModeIndex = ModeIndex_310_2048x1536[Depth]; in SiS_GetModeID()
480 int Depth, bool FSTN, unsigned short CustomT, int LCDwidth, int LCDheight, in SiS_GetModeID_LCD() argument
492 if(!FSTN) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_LCD()
494 if(!FSTN) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_LCD()
496 ModeIndex = ModeIndex_320x240_FSTN[Depth]; in SiS_GetModeID_LCD()
504 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_LCD()
513 ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_LCD()
520 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_LCD()
523 ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_LCD()
527 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_LCD()
531 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID_LCD()
536 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID_LCD()
540 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_LCD()
543 ModeIndex = ModeIndex_1024x600[Depth]; in SiS_GetModeID_LCD()
550 ModeIndex = ModeIndex_1152x768[Depth]; in SiS_GetModeID_LCD()
555 if(VDisplay == 1024) ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_LCD()
558 ModeIndex = ModeIndex_310_1280x768[Depth]; in SiS_GetModeID_LCD()
565 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth]; in SiS_GetModeID_LCD()
569 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID_LCD()
574 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID_LCD()
579 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID_LCD()
589 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_LCD()
590 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_LCD()
594 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_LCD()
599 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_LCD()
603 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_LCD()
604 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_LCD()
608 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID_LCD()
609 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID_LCD()
614 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID_LCD()
618 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_LCD()
620 if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID_LCD()
625 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID_LCD()
630 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID_LCD()
635 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth]; in SiS_GetModeID_LCD()
636 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID_LCD()
640 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_LCD()
642 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID_LCD()
647 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth]; in SiS_GetModeID_LCD()
653 ModeIndex = ModeIndex_1280x720[Depth]; in SiS_GetModeID_LCD()
657 ModeIndex = ModeIndex_300_1280x768[Depth]; in SiS_GetModeID_LCD()
659 ModeIndex = ModeIndex_310_1280x768[Depth]; in SiS_GetModeID_LCD()
664 ModeIndex = ModeIndex_1280x800[Depth]; in SiS_GetModeID_LCD()
669 ModeIndex = ModeIndex_1280x854[Depth]; in SiS_GetModeID_LCD()
673 ModeIndex = ModeIndex_1280x960[Depth]; in SiS_GetModeID_LCD()
676 ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_LCD()
682 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID_LCD()
688 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID_LCD()
695 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID_LCD()
703 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth]; in SiS_GetModeID_LCD()
710 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth]; in SiS_GetModeID_LCD()
717 if(VDisplay == 1536) ModeIndex = ModeIndex_310_2048x1536[Depth]; in SiS_GetModeID_LCD()
729 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_TV() argument
740 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
744 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
745 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
748 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
752 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_TV()
762 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_TV()
763 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_TV()
766 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_TV()
772 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
776 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
777 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
782 ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID_TV()
786 ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID_TV()
794 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID_TV()
799 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
802 ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID_TV()
810 ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID_TV()
818 ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_TV()
825 ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID_TV()
833 ModeIndex = ModeIndex_1280x720[Depth]; in SiS_GetModeID_TV()
838 ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_TV()
848 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_VGA2() argument
871 return SiS_GetModeID(VGAEngine, 0, HDisplay, VDisplay, Depth, false, 0, 0); in SiS_GetModeID_VGA2()