aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 447f4b6b716..1a0b2db4c5d 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -216,4 +216,13 @@ bool v4l_match_dv_timings(const struct v4l2_dv_timings *t1,
216 const struct v4l2_dv_timings *t2, 216 const struct v4l2_dv_timings *t2,
217 unsigned pclock_delta); 217 unsigned pclock_delta);
218 218
219bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync,
220 u32 polarities, struct v4l2_dv_timings *fmt);
221
222bool v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync,
223 u32 polarities, struct v4l2_fract aspect,
224 struct v4l2_dv_timings *fmt);
225
226struct v4l2_fract v4l2_calc_aspect_ratio(u8 hor_landscape, u8 vert_portrait);
227
219#endif /* V4L2_COMMON_H_ */ 228#endif /* V4L2_COMMON_H_ */