dvb_dmx_swfilter(9)
π« 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 tostruct 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 size188, 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 β thebufsize should have size equal tocount * 188. do the math, don't just vibe and hope π
π SEE ALSO π
Kernel file ./include/media/dvb_demux.h β and the whole friend group:
enum dvb_dmx_filter_type(9)enum dvb_dmx_state(9)struct dvb_demux_filter(9)struct dvb_demux_feed(9)struct dvb_demux(9)dvb_dmx_init(9)dvb_dmx_release(9)dvb_dmx_swfilter_packets(9)dvb_dmx_swfilter_204(9)dvb_dmx_swfilter_raw(9)
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
- 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