v4l2_h264_in...list_builder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… v4l2_h264_in...list_builder(9) β€” the Kernel API Manual, bestie edition ✨

okay so real talk, this is a page from the Kernel API Manual and honestly? it's a little legend. it does one job and it does it slayfully: getting a reference list builder ready to go for P/B0/B1 lists. no cap.


🌸 NAME 🌸

v4l2_h264_init_reflist_builder β€” initialize a P/B0/B1 reference list builder πŸŽ€

like, it's the setup era. the builder isn't building anything yet, it's just getting its whole life together first.


✨ SYNOPSIS ✨

void v4l2_h264_init_reflist_builder (struct v4l2_h264_reflist_builder *b
, const struct v4l2_ctrl_h264_decode_params *dec_params , const struct
v4l2_ctrl_h264_sps *sps , const struct v4l2_h264_dpb_entry
dpb[V4L2_H264_NUM_DPB_ENTRIES] );

it returns void btw β€” it's giving "i don't owe you a return value, i owe you a vibe." πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • b β€” the builder context you're about to initialize. this is the main character of the function, lowkey. hand it over and it gets set up. πŸ‘‘
  • dec_params β€” the decode parameters control. it's the control with all the decode deets. πŸ“
  • sps β€” the SPS control. yes bestie, that SPS. πŸŽ€
  • dpb β€” the DPB to use when creating the reference list. type is struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES], so it's the whole array, not a single entry β€” read the brackets, i beg 😭

πŸ”₯ SEE ALSO πŸ”₯

the two buddies above are the ones who actually do the building, fyi β€” this page is just the intro era 🫢


ngl, this page is short and sweet. every detail above is the whole page, so if you skim it you literally got the whole thing. ate and left no crumbs πŸ’…

and that's the whole thing, bestie! 🌈 this came out of ./drivers/media/v4l2-core, dated October 2026, and it lives at v4l2_h264_in...list_builder(9) in the Kernel API Manual. mwah, go forth and build those reference lists βœ¨πŸ’–πŸ§š

πŸ“¦ where this page comes from