diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-08-10 11:09:26 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-13 21:08:22 +0200 |
commit | c2a667fa2b40ccb7d21a99ffae53610699a3102c (patch) | |
tree | e21c4f2141654ee0b9bd6c291db7e1bd49460f6f /include/media | |
parent | [media] v4l2-ctrls.c: add support for the new DV controls (diff) | |
download | linux-c2a667fa2b40ccb7d21a99ffae53610699a3102c.tar.xz linux-c2a667fa2b40ccb7d21a99ffae53610699a3102c.zip |
[media] v4l2-common: add v4l_match_dv_timings
Add the v4l_match_dv_timings function that can be used to compare two
v4l2_dv_timings structs.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 4404829d48e5..447f4b6b716c 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h @@ -212,4 +212,8 @@ const struct v4l2_frmsize_discrete *v4l2_find_nearest_format( const struct v4l2_discrete_probe *probe, s32 width, s32 height); +bool v4l_match_dv_timings(const struct v4l2_dv_timings *t1, + const struct v4l2_dv_timings *t2, + unsigned pclock_delta); + #endif /* V4L2_COMMON_H_ */ |