dvb_dmx_swfilter_204(9)
π dvb_dmx_swfilter_204(9) β the Linux kernel API manual, bestie edition β¨
okay so this is a page from the Kernel API Manual, and it's about dvb_dmx_swfilter_204 β the lil routine that runs the dvb software filter over a buffer stuffed with a whole bunch of MPEG-TS packets that are 204 bytes each π
β¨ NAME β¨
dvb_dmx_swfilter_204 β use the dvb software filter for a buffer with multiple MPEG-TS packets with 204 bytes each. yes bb, multiple, this one's doing the group-chat version of filtering π
πΈ SYNOPSIS πΈ
void dvb_dmx_swfilter_204 (struct dvb_demux *demux , const u8 *buf ,
size_t count );
like, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
demuxβ pointer tostruct dvb_demux. this is the main character of the operation, the demuxer itself πbufβ buffer with data to be filtered. your raw lil pile of bytes β¨countβ number of MPEG-TS packets with size of 204. so it's counting packets, not bytes, keep that straight bestie π
π§ DESCRIPTION π§
okay so here's the vibe check: if a DVB packet doesn't start with 0x47, it will seek for the first byte that starts with 0x47. the way it just hunts for that sync byte, lowkey iconic π₯
Use this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47). yes β this is exactly the function for when you can't trust that first byte to be the packet start mark, and you need it to go find one π
π NOTE π
Thebufsize should have size equal tocount * 204. fr fr, do the math before you call it, or it's giving undefined nonsense π
π SEE ALSO π
Kernel file ./include/media/dvb_demux.h and its 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(9)dvb_dmx_swfilter_raw(9)
and that's the page, bestie π it lives over in ./include/media, dated October 2026, and it's the Kernel API Manual's very own dvb_dmx_swfilter_204(9) β mwah, slay, go filter those 204-byte packets ππ
π¦ 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