Searched refs:heightmm (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dlx_output.c305 if (pScrni->monitor->widthmm && pScrni->monitor->heightmm) {
308 output->mm_height = pScrni->monitor->heightmm;
313 output->mm_height = pScrni->monitor->heightmm = pGeode->mm_height;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86Helper.c843 * calculated from the widthmm/heightmm values.
857 /* XXX Maybe there is no need for widthmm/heightmm in ScrnInfoRec */
859 pScrn->heightmm = pScrn->monitor->heightmm;
877 else if (pScrn->widthmm > 0 || pScrn->heightmm > 0) {
883 if (pScrn->heightmm > 0) {
885 (int) ((double) pScrn->virtualY * MMPERINCH / pScrn->heightmm);
892 pScrn->widthmm, pScrn->heightmm);
902 if (pScrn->heightmm > 0) {
903 heightErr = abs(ddcHeightmm - pScrn->heightmm);
[all...]
H A Dxf86str.h137 int heightmm; member in struct:__anonf472aec40708
623 int heightmm; member in struct:_ScrnInfoRec
H A Dxf86Mode.c1135 if (!mon->widthmm || !mon->heightmm)
1138 aspect = (float) mon->widthmm / (float) mon->heightmm;
H A Dxf86Config.c1899 monitorp->heightmm = conf_monitor->mon_height;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86Helper.c870 * calculated from the widthmm/heightmm values.
884 /* XXX Maybe there is no need for widthmm/heightmm in ScrnInfoRec */
886 pScrn->heightmm = pScrn->monitor->heightmm;
902 } else if (pScrn->widthmm > 0 || pScrn->heightmm > 0) {
908 if (pScrn->heightmm > 0) {
910 (int)((double)pScrn->virtualY * MMPERINCH / pScrn->heightmm);
917 pScrn->widthmm, pScrn->heightmm);
926 if (pScrn->heightmm > 0) {
927 heightErr = abs(ddcHeightmm - pScrn->heightmm);
[all...]
H A Dxf86str.h224 int heightmm; member in struct:__anon1b1d0d510808
722 int heightmm; member in struct:_ScrnInfoRec
H A Dxf86Mode.c1135 if (!mon->widthmm || !mon->heightmm)
1138 aspect = (float)mon->widthmm / (float)mon->heightmm;
H A Dxf86Config.c1955 monitorp->heightmm = conf_monitor->mon_height;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
H A Dxf86DisplayIDModes.c309 mon->heightmm = (extract_le16(x, 5) + 5) / 10;
H A Dxf86EdidModes.c1174 if (Monitor->widthmm <= 0 || Monitor->heightmm <= 0) {
1176 Monitor->heightmm = 10 * DDC->features.vsize;
/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dxgi_driver.c1428 pScrn1->heightmm = pScrn1->monitor->heightmm;
1496 else if (pScrn1->widthmm > 0 || pScrn1->heightmm > 0) {
1504 if (pScrn1->heightmm > 0) {
1506 (int) ((double) pScrn1->virtualY * 25.4 / pScrn1->heightmm);
1509 pScrn1->heightmm);
1518 pScrn1->heightmm = ddcHeightmm;
1523 if (pScrn1->heightmm > 0) {
1525 (int) ((double) pScrn1->virtualY * 25.4 / pScrn1->heightmm);
1588 pScrn->monitor->heightmm
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
H A Dxf86EdidModes.c1183 if (Monitor->widthmm <= 0 || Monitor->heightmm <= 0) {
1185 Monitor->heightmm = 10 * DDC->features.vsize;
/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dsis_driver.c1666 pScrn1->heightmm = pScrn1->monitor->heightmm;
1730 } else if(pScrn1->widthmm > 0 || pScrn1->heightmm > 0) {
1737 if(pScrn1->heightmm > 0) {
1738 pScrn1->yDpi = (int)((double)pScrn1->virtualY * 25.4 / pScrn1->heightmm);
1740 xf86DrvMsg(pScrn1->scrnIndex, from, dsstr, pScrn1->widthmm, pScrn1->heightmm);
1748 pScrn1->heightmm = ddcHeightmm;
1752 if(pScrn1->heightmm > 0) {
1753 pScrn1->yDpi = (int)((double)pScrn1->virtualY * 25.4 / pScrn1->heightmm);

Completed in 49 milliseconds