calculate the aspect ratio based on bytes 0x15 and 0x16 from the EDID.
struct v4l2_fract v4l2_calc_aspect_ratio (
|u8 hor_landscape, |
| ||u8 vert_portrait|
byte 0x15 from the EDID.
byte 0x16 from the EDID.
Determines the aspect ratio from the EDID.
See VESA Enhanced EDID standard, release A, rev 2, section 3.6.2:
“Horizontal and Vertical Screen Size or Aspect Ratio”