diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-07-29 07:40:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-18 07:16:54 -0400 |
commit | 2576415846bcbad3c0a6885fc44f950837106364 (patch) | |
tree | 99772fbb135740430c638fc3eb6aa91f0a6f751a /include/media/v4l2-common.h | |
parent | b18787ed1ce32eb0c2ce2323220abd4ed93c4b97 (diff) |
[media] v4l2: move dv-timings related code to v4l2-dv-timings.c
v4l2-common.c contained a bunch of dv-timings related functions.
Move that to the new v4l2-dv-timings.c which is a more appropriate
place for them.
There aren't many drivers that do HDTV, so it is a good idea to separate
common code related to that into a module of its own.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 015ff82da73c..0e1d01056f16 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -201,19 +201,6 @@ const struct v4l2_frmsize_discrete *v4l2_find_nearest_format( | |||
201 | const struct v4l2_discrete_probe *probe, | 201 | const struct v4l2_discrete_probe *probe, |
202 | s32 width, s32 height); | 202 | s32 width, s32 height); |
203 | 203 | ||
204 | bool v4l_match_dv_timings(const struct v4l2_dv_timings *t1, | ||
205 | const struct v4l2_dv_timings *t2, | ||
206 | unsigned pclock_delta); | ||
207 | |||
208 | bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, | ||
209 | u32 polarities, struct v4l2_dv_timings *fmt); | ||
210 | |||
211 | bool v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, | ||
212 | u32 polarities, struct v4l2_fract aspect, | ||
213 | struct v4l2_dv_timings *fmt); | ||
214 | |||
215 | struct v4l2_fract v4l2_calc_aspect_ratio(u8 hor_landscape, u8 vert_portrait); | ||
216 | |||
217 | void v4l2_get_timestamp(struct timeval *tv); | 204 | void v4l2_get_timestamp(struct timeval *tv); |
218 | 205 | ||
219 | #endif /* V4L2_COMMON_H_ */ | 206 | #endif /* V4L2_COMMON_H_ */ |