v4l2_calc_aspect_ratio
Prev | Video2Linux devices | Next

## Name

v4l2_calc_aspect_ratio — calculate the aspect ratio based on bytes 0x15 and 0x16 from the EDID.

## Synopsis

`struct v4l2_fract v4l2_calc_aspect_ratio (` | u8 hor_landscape,
| u8 vert_portrait`)`;

## Arguments

`hor_landscape`

  byte 0x15 from the EDID.

`vert_portrait`

  byte 0x16 from the EDID.

## Description

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”

Prev | Up | Next
v4l2_detect_gtf | Home | struct v4l2_kevent