STRUCT DMX_TS_FEED(9)
π struct dmx_ts_feed(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's about struct dmx_ts_feed, and it's literally the structure that holds a TS feed filter. that's the whole vibe. let's get into it π«Ά
πΈ NAME πΈ
struct dmx_ts_feed β the structure that contains a TS feed filter π
β¨ SYNOPSIS β¨
struct dmx_ts_feed {
int is_filtering;
struct dmx_demux *parent;
void *priv;
int (*set)(struct dmx_ts_feed *feed, u16 pid, int type, enum
dmx_ts_pes pes_type, ktime_t timeout);
int (*start_filtering)(struct dmx_ts_feed *feed);
int (*stop_filtering)(struct dmx_ts_feed *feed);
};
no cap, that's the whole struct. look at her go π
π Members π
is_filteringβ gets set to non-zero when a filter is actively filtering, i.e. filtering in progress. it's the little "we're so on rn" flag π¦parentβ a pointer tostruct dmx_demux. the parent figure, the main character it answers to πprivβ a pointer to the private data of the API client. it's giving "my personal stuff, don't touch" πsetβ sets the TS filter. that's the job. that's what she does β¨start_filteringβ starts TS filtering. go go go π₯stop_filteringβ stops TS filtering. okay we're done here, thank u next π
π Description π
so here's the tea, bestie: a TS feed is typically mapped to a hardware PID filter on the demux chip. that's the usual setup, fr fr.
and using this API, the client can set the filtering properties so it can start/stop filtering TS packets on one particular TS feed. that's the whole point of her existence, and she ate π β¨
π¦ SEE ALSO π¦
like, go look at these next, iykyk:
- Kernel file
./include/media/demux.h enum ts_filter_type(9)struct dmx_section_filter(9)struct dmx_section_feed(9)dmx_ts_cb(9)dmx_section_cb(9)enum dmx_frontend_source(9)struct dmx_frontend(9)enum dmx_demux_caps(9)DMX_FE_ENTRY(9)struct dmx_demux(9)
okay that's the page!! π this whole thing lives over in ./include/media, and the version stamp says October 2026, and yeah β it's still <rainbow>struct dmx_ts_feed(9)</rainbow> at the end of the day. mwah, study up bestie, you got this ππ¦β¨
π¦ 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