dvb_dmx_swfilter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« dvb_dmx_swfilter(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual page for dvb_dmx_swfilter β€” yes that's a lot of consonants, we love her anyway 🫢


✨ NAME ✨

dvb_dmx_swfilter β€” this is the routine that runs the dvb software filter over a whole buffer stuffed with multiple MPEG-TS packets, each one 188 bytes. Iconic little byte-sized situation πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

void dvb_dmx_swfilter (struct dvb_demux *demux , const u8 *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

  • demux β€” pointer to struct dvb_demux. she's the main character of this function ngl 🌟
  • buf β€” the buffer holding the data we're about to filter πŸ“
  • count β€” how many MPEG-TS packets, each of size 188, live in there. literally just the packet count, no cap πŸ”’

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• β€” if a DVB packet does not start with 0x47, this function will go seeking for the first byte that starts with 0x47. like, she hunts it down. periodt πŸ”₯

and here's when you'd actually reach for her: use this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47). that's the whole vibe check right there πŸ’«

🌸 NOTE 🌸

bestie pls β€” the buf size should have size equal to count * 188. do the math, don't just vibe and hope 😭

🌈 SEE ALSO 🌈

Kernel file ./include/media/dvb_demux.h β€” and the whole friend group:


and that's the page, bestie πŸ§šπŸ’œ mwah! this one came straight out of ./include/media, living in the October 2026 era of the Kernel API Manual, and yes she's still dvb_dmx_swfilter(9) in case you forgot already πŸ˜ŒπŸŽ€

πŸ“¦ where this page comes from