v4l2_hevc_pps_num_tile_rows(9)
π v4l2_hevc_pps_num_tile_rows(9) π
ok so real talk, this is from the Kernel API Manual and it's honestly such a little icon β a tiny helper function that just wants to tell you a number. no drama, no cap. let's get into it β¨
β¨ NAME β¨
v4l2_hevc_pps_num_tile_rows β the number of HEVC tile rows, bestie, and yes it's bounded π
πΈ SYNOPSIS πΈ
unsigned int v4l2_hevc_pps_num_tile_rows (const struct
v4l2_ctrl_hevc_pps *pps );
like, that's the whole vibe. takes one thing, returns an unsigned int π
π¦ ARGUMENTS π¦
ppsβ the V4L2 HEVC PPS control. that's it. that's the whole argument. she's low maintenance π
π« DESCRIPTION π«
okay so here's what she does: she returns the number of tile rows, which is literally num_tile_rows_minus1 + 1 (the +1 is doing the lord's work tbh), and then she clamps that value to the capacity of row_height_minus1[]. π«Ά
so like β the math says one thing, but the array only has so much room, and this function is the friend who goes "girl, no" and keeps it in bounds. highkey iconic behavior. no cap π₯
π SEE ALSO π
- Kernel file
./include/media/v4l2-hevc.hβ the source of truth, go read it iykyk π v4l2_hevc_pps_num_tile_columns(9)β her sister function, equally slay π
fr fr the whole point is the clamp. don't skip the clamp. the clamp is the moment. π
and that's the page, bestie β brought to you by ./include/media, dated October 2026, and titled v4l2_hevc_pps_num_tile_rows(9) one last time for the girls in the back πβ¨ mwah π
π¦ 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