v4l2_detect_cvt — detect if the given timings follow the CVT standard
bool v4l2_detect_cvt ( | unsigned frame_height, |
| unsigned hfreq, | |
| unsigned vsync, | |
| unsigned active_width, | |
| u32 polarities, | |
| bool interlaced, | |
struct v4l2_dv_timings * fmt); |
frame_heightthe total height of the frame (including blanking) in lines.
hfreqthe horizontal frequency in Hz.
vsyncthe height of the vertical sync in lines.
active_widthactive width of image (does not include blanking). This information is needed only in case of version 2 of reduced blanking. In other cases, this parameter does not have any effect on timings.
polaritiesthe horizontal and vertical polarities (same as struct v4l2_bt_timings polarities).
interlacedif this flag is true, it indicates interlaced format
fmtthe resulting timings.