v4l2_valid_dv_timings(9) are these timings valid?

SYNOPSIS

bool v4l2_valid_dv_timings(const struct v4l2_dv_timings * t, const struct v4l2_dv_timings_cap * cap, v4l2_check_dv_timings_fnc fnc, void * fnc_handle);

ARGUMENTS

t

the v4l2_dv_timings struct.

cap

the v4l2_dv_timings_cap capabilities.

fnc

callback to check if this timing is OK. May be NULL.

fnc_handle

a handle that is passed on to fnc.

DESCRIPTION

Returns true if the given dv_timings struct is supported by the hardware capabilities and the callback function (if non-NULL), returns false otherwise.

COPYRIGHT