STRUCT PES_TS_HEADER_WRITE_ARGS(9)
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 thedest_buffer. yes, that's what the page says, iykyk.dest_buf_szβ the size of thedest_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 a27Mhzclock. 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
- 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