v4l2_dv_timi...aspect_ratio(9)
πΈ hey bestie, welcome to the v4l2_dv_timi...aspect_ratio(9) page πΈ
okay so this is from the Kernel API Manual, and before you panic at the truncated-looking title β yes, that's genuinely how it's written up top, the full function name is right below and it's v4l2_dv_timings_aspect_ratio, we love an abbreviation moment π
β¨ NAME β¨
v4l2_dv_timings_aspect_ratio β literally calculates the aspect ratio based on the v4l2_dv_timings information. that's it, that's the whole gig. iconic behaviour honestly π
π¦ SYNOPSIS π¦
struct v4l2_fract v4l2_dv_timings_aspect_ratio (const struct v4l2_dv_timings *t );
likeβ¦ look at that signature. a struct v4l2_fract coming back at you, no cap π«Ά
π ARGUMENTS π
tβ the timings data. that's the whole argument, bestie, just the one, and it's the timings data πΊβ¨
π SEE ALSO π
first up, the kernel file where all this lives: ./include/media/v4l2-dv-timings.h β go read it, iykyk π§
and then the whole friend group of related functions, all of them, not skipping a single one:
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_match_dv_timings(9)v4l2_print_dv_timings(9)v4l2_detect_cvt(9)v4l2_detect_gtf(9)v4l2_calc_aspect_ratio(9)can_reduce_fps(9)struct v4l2_hdmi_colorimetry(9)
not me listing all thirteen of these β but fr fr, every single one is on the original list so every single one is staying π no shortcuts in this group chat.
and that's the whole page, bestie, you ate that ππ
sign-off time: this little beauty lives over in ./include/media, it's dated October 2026, and the page header/footer name it as v4l2_dv_timi...aspect_ratio(9) β so yeah, that's the version tag, that's the date, mwah, go calculate some aspect ratios πβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms