[RFCv3 PATCH 6/8] v4l2-common: add CVT and GTF detection functions.

2012-08-10 Thread Hans Verkuil
These two helper functions detect whether the analog video timings detected by the video receiver match the VESA CVT or GTF standards. They basically do the inverse of the CVT and GTF modeline calculations. This patch also adds a helper function that will determine the aspect ratio based on the

[RFCv3 PATCH 6/8] v4l2-common: add CVT and GTF detection functions.

2012-08-10 Thread Hans Verkuil
These two helper functions detect whether the analog video timings detected by the video receiver match the VESA CVT or GTF standards. They basically do the inverse of the CVT and GTF modeline calculations. This patch also adds a helper function that will determine the aspect ratio based on the