v4l2_h264_build_b_ref_lists(9)
π 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 av4l2_h264_referencestructure. lowkey important. β¨b1_reflistβ a 32 sized array used to store the B1 reference list. each entry is, you guessed it, av4l2_h264_referencestructure. 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.hstructv4l2_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
- 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