v4l2_h264_build_b_ref_lists(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… v4l2_h264_build_b_ref_lists β€” Kernel API Manual ✨

okay so bestie, welcome to the glow-up of v4l2_h264_build_b_ref_lists(9), brought to you by the Kernel API Manual, no cap 🫢


🌸 NAME 🌸

v4l2_h264_build_b_ref_lists β€” literally builds the B0/B1 reference lists. that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

void v4l2_h264_build_b_ref_lists (const struct v4l2_h264_reflist_builder
*builder , struct v4l2_h264_reference *b0_reflist , struct
v4l2_h264_reference *b1_reflist );

she takes three args, returns void, and does not miss. periodt. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • builder β€” the reference list builder context. yes queen, this is the main character of the operation. πŸ‘‘
  • b0_reflist β€” a 32 sized array used to store the B0 reference list. every single entry in it is a v4l2_h264_reference structure. lowkey important. ✨
  • b1_reflist β€” a 32 sized array used to store the B1 reference list. each entry is, you guessed it, a v4l2_h264_reference structure. she's giving symmetry. πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

so what does she actually do? this function builds the B0/B1 reference lists. iconic behavior fr fr. 🌈

the whole procedure is described in section '8.2.4 Decoding process for reference picture lists construction' of the H264 spec β€” like, that's the receipt, that's the source material, go read it iykyk. πŸ“–

this function can be used by H264 decoder drivers that need to pass B0/B1 reference lists to the hardware. that's the use case, that's the assignment, and she ate. πŸ’€βœ¨


🧚 SEE ALSO 🧚

  • Kernel file ./include/media/v4l2-h264.h struct v4l2_h264_reflist_builder(9)
  • v4l2_h264_build_p_ref_list(9) β€” her sister function, also slaying πŸ’œ

ngl bestie, if you're writing an H264 decoder driver and you need those B0/B1 reference lists handed off to the hardware, this is the function. no notes. 🫢

and that's the page! 🌟 this little masterpiece lives in ./include/media and is dated October 2026, filed under v4l2_h264_build_b_ref_lists(9) β€” mwah, take care of her, bye bestie! πŸ’–πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from