v4l2_match_dv_timings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… v4l2_match_dv_timings(9) πŸ’…

okay bestie, so we're in the Kernel API Manual today and this page is literally about one tiny function that asks the biggest question of all: do these two timings match? πŸ‘€ Like, do they actually match or are they just wearing the same outfit? Let's get into it.


✨ NAME ✨

v4l2_match_dv_timings β€” the vibe-check function: 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 );

no cap, that's the whole signature. it returns a bool, so it's giving yes-or-no main character energy πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • measured β€” the timings data that was actually measured. like, the real-world receipts πŸ“‹βœ¨
  • standard β€” the timings according to the standard. the blueprint, the textbook, the "this is how it's supposed to be" πŸ‘‘
  • pclock_delta β€” the maximum delta in Hz between standard->pixelclock and the measured timings. so like, a lil wiggle room, in Hz, before we're like "nope, different" 🌸
  • match_reduced_fps β€” if true, then it fails if V4L2_DV_FL_REDUCED_FPS does not match. strict queen behavior, honestly πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the whole tea: it returns true if the two timings match, and returns false otherwise. that's it. that's the function. short and iconic, fr fr 🧚

ngl bestie, this one is a one-liner of a description, so let's not overthink it β€” true means match, false means no match. periodt. πŸ’€

🌈 SEE ALSO 🌈

the kernel file is ./include/media/v4l2-dv-timings.h, and then we've got the whole friend group πŸ’œ:

v4l2_calc_timeperframe(9), v4l2_check_dv_timings_fnc(9), v4l2_valid_dv_timings(9), v4l2_enum_dv_timings_cap(9), v4l2_find_dv_timings_cap(9), v4l2_find_dv_timings_cea861_vic(9), v4l2_print_dv_timings(9), v4l2_detect_cvt(9), v4l2_detect_gtf(9), v4l2_calc_aspect_ratio(9), v4l2_dv_timings_aspect_ratio(9), can_reduce_fps(9), struct v4l2_hdmi_colorimetry(9)


aaaaand that's the page!! πŸŽ€ this lil icon lives in ./include/media, dated October 2026, and it's the October 2026 edition of v4l2_match_dv_timings(9) β€” go be the timing-matcher you were always meant to be, bestie πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from