STRUCT VIDTV_MUX_PID_CTX(9)
π struct vidtv_mux_pid_ctx(9) π
okay bestie, so this is a page straight out of the Kernel API Manual, and it's all about struct vidtv_mux_pid_ctx β literally the place where the context for a given TS PID lives. tiny struct, big job. let's get into it π«Ά
β¨ SYNOPSIS β¨
like, here's the whole vibe of the struct, no cap:
struct vidtv_mux_pid_ctx {
u16 pid;
u8 cc;
struct hlist_node h;
};
πΈ Members πΈ
pidβ the TS PID. that's it, that's the whole thing. it's au16and it holds the TS PID πccβ the continuity counter for this PID. ok so this one's important: it gets incremented on every TS pack, and it wraps around at0xf0. and if the decoder notices a sudden jump in this counter? π that will trigger a discontinuity state. so likeβ¦ keep an eye on it, iykyk.hβ this little icon is embedded in a hash table, mappingpid->vidtv_mux_pid_ctx. it's giving main character energy in a data structure β¨
π¦ SEE ALSO π¦
the kernel file ./drivers/media/test-drivers/vidtv/vidtv_mux.h struct vidtv_mux_timing(9), struct vidtv_mux_si(9), struct vidtv_mux(9), struct vidtv_mux_init_args(9) β go read those too, they're lowkey all connected π
π reminder that this page is from ./drivers/media/test-drivers/v... β that's the source path, bestie, don't @ me.
and that's the whole page, periodt. π this one's from the Kernel API Manual, dated October 2026, and it's literally titled struct vidtv_mux_pid_ctx(9). slay. 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