STRUCT V4L2_DECODE_VBI_LINE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct v4l2_decode_vbi_line(9) ✨

okay bestie, welcome to the Kernel API Manual πŸŽ€ this one's a tiny little struct from the land of V4L2 subdevices, and tbh it's giving "small but crucial" πŸ’… it's literally the thing that helps you get your sliced VBI decode on. no cap.


🌸 NAME 🌸

struct v4l2_decode_vbi_line β€” literally the struct used to decode_vbi_line πŸ¦‹ that's it, that's the whole vibe check.


⭐ SYNOPSIS ⭐

struct v4l2_decode_vbi_line {
    u32 is_second_field;
    u8 *p;
    u32 line;
    u32 type;
 };

yes queen, four members, no more no less πŸ‘‘


🫢 Members 🫢

okay so let's meet the cast, main character energy only:

  • is_second_field β€” set this to 0 for the first (odd) field, and set it to 1 for the second (even) field. pick your field, bestie πŸŽ€
  • p β€” a pointer to the sliced VBI data coming from the decoder ✨ on exit, it points to the start of the payload. she moves, okay? don't be weird about it πŸ’«
  • line β€” the line number of the sliced VBI data, and that's 1-23 πŸ”₯
  • type β€” the VBI service type (V4L2_SLICED_*), and it's 0 if no service was found 😭 literally nothing found, tragic

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, you know I had to link the whole friend group 🫢 the kernel file lives at ./include/media/v4l2-subdev.h, and here's everyone:

like, that's the whole squad, go say hi πŸ’–


and that's the whole page, bestie!! 🌈 this lil cutie lives in ./include/media, dated October 2026, and it's filed under struct v4l2_decode_vbi_line(9) β€” periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from