MCPcopy Index your code
hub / github.com/oshi/oshi / getVcm

Method getVcm

oshi-core/src/main/java/oshi/util/EdidUtil.java:168–171  ·  view source on GitHub ↗

Get monitor height in cm @param edid The EDID byte array @return Monitor height in cm

(byte[] edid)

Source from the content-addressed store, hash-verified

166 * @return Monitor height in cm
167 */
168 public static int getVcm(byte[] edid) {
169 // Byte 22 is vertical size in cm
170 return edid[22];
171 }
172
173 /**
174 * Get the VESA descriptors

Callers 3

getDisplayMethod · 0.95
testGetEdidAttrsMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by 1

testGetEdidAttrsMethod · 0.76