Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dvb_demux.c File Reference
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/string.h>
#include <linux/crc32.h>
#include <asm/uaccess.h>
#include <asm/div64.h>
#include "dvb_demux.h"

Go to the source code of this file.

Macros

#define NOBUFS
 
#define dprintk_tscheck(x...)
 
#define DVR_FEED(f)
 

Functions

 module_param (dvb_demux_tscheck, int, 0644)
 
 MODULE_PARM_DESC (dvb_demux_tscheck,"enable transport stream continuity and TEI check")
 
 module_param (dvb_demux_speedcheck, int, 0644)
 
 MODULE_PARM_DESC (dvb_demux_speedcheck,"enable transport stream speed check")
 
 module_param (dvb_demux_feed_err_pkts, int, 0644)
 
 MODULE_PARM_DESC (dvb_demux_feed_err_pkts,"when set to 0, drop packets with the TEI bit set (1 by default)")
 
void dvb_dmx_swfilter_packets (struct dvb_demux *demux, const u8 *buf, size_t count)
 
 EXPORT_SYMBOL (dvb_dmx_swfilter_packets)
 
void dvb_dmx_swfilter (struct dvb_demux *demux, const u8 *buf, size_t count)
 
 EXPORT_SYMBOL (dvb_dmx_swfilter)
 
void dvb_dmx_swfilter_204 (struct dvb_demux *demux, const u8 *buf, size_t count)
 
 EXPORT_SYMBOL (dvb_dmx_swfilter_204)
 
void dvb_dmx_swfilter_raw (struct dvb_demux *demux, const u8 *buf, size_t count)
 
 EXPORT_SYMBOL (dvb_dmx_swfilter_raw)
 
int dvb_dmx_init (struct dvb_demux *dvbdemux)
 
 EXPORT_SYMBOL (dvb_dmx_init)
 
void dvb_dmx_release (struct dvb_demux *dvbdemux)
 
 EXPORT_SYMBOL (dvb_dmx_release)
 

Macro Definition Documentation

#define dprintk_tscheck (   x...)
Value:
do { \
if (dvb_demux_tscheck && printk_ratelimit()) \
printk(x); \
} while (0)

Definition at line 58 of file dvb_demux.c.

#define DVR_FEED (   f)
Value:
(((f)->type == DMX_TYPE_TS) && \
((f)->feed.ts.is_filtering) && \
(((f)->ts_type & (TS_PACKET | TS_DEMUX)) == TS_PACKET))

Definition at line 390 of file dvb_demux.c.

#define NOBUFS

Definition at line 37 of file dvb_demux.c.

Function Documentation

int dvb_dmx_init ( struct dvb_demux dvbdemux)

Definition at line 1236 of file dvb_demux.c.

void dvb_dmx_release ( struct dvb_demux dvbdemux)

Definition at line 1311 of file dvb_demux.c.

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

Definition at line 568 of file dvb_demux.c.

void dvb_dmx_swfilter_204 ( struct dvb_demux demux,
const u8 buf,
size_t  count 
)

Definition at line 574 of file dvb_demux.c.

void dvb_dmx_swfilter_packets ( struct dvb_demux demux,
const u8 buf,
size_t  count 
)

Definition at line 474 of file dvb_demux.c.

void dvb_dmx_swfilter_raw ( struct dvb_demux demux,
const u8 buf,
size_t  count 
)

Definition at line 580 of file dvb_demux.c.

EXPORT_SYMBOL ( dvb_dmx_swfilter_packets  )
EXPORT_SYMBOL ( dvb_dmx_swfilter  )
EXPORT_SYMBOL ( dvb_dmx_swfilter_204  )
EXPORT_SYMBOL ( dvb_dmx_swfilter_raw  )
EXPORT_SYMBOL ( dvb_dmx_init  )
EXPORT_SYMBOL ( dvb_dmx_release  )
module_param ( dvb_demux_tscheck  ,
int  ,
0644   
)
module_param ( dvb_demux_speedcheck  ,
int  ,
0644   
)
module_param ( dvb_demux_feed_err_pkts  ,
int  ,
0644   
)
MODULE_PARM_DESC ( dvb_demux_tscheck  ,
"enable transport stream continuity and TEI check  
)
MODULE_PARM_DESC ( dvb_demux_speedcheck  ,
"enable transport stream speed check  
)
MODULE_PARM_DESC ( dvb_demux_feed_err_pkts  ,
"when set to  0,
drop packets with the TEI bit set(1 by default)"   
)