STRUCT PES_TS_HEADER_WRITE_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct pes_ts_header_write_args πŸ’…

okay so this is the Kernel API Manual page for struct pes_ts_header_write_args, and bestie, it's literally the args you need to write a TS header. no cap. ✨


🌸 NAME 🌸

struct pes_ts_header_write_args β€” Arguments to write a TS header.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pes_ts_header_write_args {
    void *dest_buf;
    u32 dest_offset;
    u32 dest_buf_sz;
    u16 pid;
    u8 *continuity_counter;
    bool wrote_pes_header;
    u32 n_stuffing_bytes;
    u64 pcr;
 };

πŸŽ€ Members πŸŽ€

  • dest_buf β€” the buffer you're writing into. that's the destination, periodt. πŸ’–
  • dest_offset β€” where to start writing in the dest_buffer. yes, that's what the page says, iykyk.
  • dest_buf_sz β€” the size of the dest_buffer. know your limits, bestie. πŸ“
  • pid β€” the PID to use for the TS packets. iconic little identifier energy. πŸ”₯
  • continuity_counter β€” incremented on every new TS packet. every single one, fr fr. πŸ”
  • wrote_pes_header β€” flag to indicate that the PES header was written. a little boolean receipts situation. βœ…
  • n_stuffing_bytes β€” padding bytes. might be used by an encoder if needed, and gets discarded by the decoder. so glam, so disposable. πŸ’…
  • pcr β€” counter driven by a 27Mhz clock. ticking away like a main character. ⏰

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/test-drivers/vidtv/vidtv_pes.h
  • struct pes_header_write_args(9)
  • struct pes_write_args(9)
  • vidtv_pes_write_into(9)

and that's the whole vibe, bestie 🫢 β€” source/version ./drivers/media/test-drivers/v..., dated October 2026, with the footer title struct pes_...r_write_args(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from