[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
977ebec754
commit
c2a667fa2b
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user