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()
656 ModeIndex = ModeIndex_300_1280x768[Depth]; in SiS_GetModeID_LCD()
658 ModeIndex = ModeIndex_310_1280x768[Depth]; in SiS_GetModeID_LCD()
663 ModeIndex = ModeIndex_1280x800[Depth]; in SiS_GetModeID_LCD()
668 ModeIndex = ModeIndex_1280x854[Depth]; in SiS_GetModeID_LCD()
672 ModeIndex = ModeIndex_1280x960[Depth]; in SiS_GetModeID_LCD()
675 ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_LCD()
681 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID_LCD()
687 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID_LCD()
694 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID_LCD()
702 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth]; in SiS_GetModeID_LCD()
709 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth]; in SiS_GetModeID_LCD()
716 if(VDisplay == 1536) ModeIndex = ModeIndex_310_2048x1536[Depth]; in SiS_GetModeID_LCD()
728 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_TV() argument
739 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
743 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
744 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
747 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
751 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_TV()
761 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_TV()
762 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_TV()
765 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_TV()
771 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
775 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
776 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
781 ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID_TV()
785 ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID_TV()
793 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID_TV()
798 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
801 ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID_TV()
809 ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID_TV()
817 ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_TV()
824 ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID_TV()
832 ModeIndex = ModeIndex_1280x720[Depth]; in SiS_GetModeID_TV()
837 ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_TV()
847 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_VGA2() argument
870 return SiS_GetModeID(VGAEngine, 0, HDisplay, VDisplay, Depth, false, 0, 0); in SiS_GetModeID_VGA2()