STRUCT DMX_TS_FEED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to struct 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