v4l2_match_dv_timings(9) do two timings match?

SYNOPSIS

bool v4l2_match_dv_timings(const struct v4l2_dv_timings * measured, const struct v4l2_dv_timings * standard, unsigned pclock_delta, bool match_reduced_fps);

ARGUMENTS

measured

the measured timings data.

standard

the timings according to the standard.

pclock_delta

maximum delta in Hz between standard->pixelclock and the measured timings.

match_reduced_fps

if true, then fail if V4L2_DV_FL_REDUCED_FPS does not match.

DESCRIPTION

Returns true if the two timings match, returns false otherwise.

COPYRIGHT