Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dvb_demux.h File Reference
#include <linux/time.h>
#include <linux/timer.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include "demux.h"

Go to the source code of this file.

Data Structures

struct  dvb_demux_filter
 
struct  dvb_demux_feed
 
struct  dvb_demux
 

Macros

#define DMX_TYPE_TS   0
 
#define DMX_TYPE_SEC   1
 
#define DMX_TYPE_PES   2
 
#define DMX_STATE_FREE   0
 
#define DMX_STATE_ALLOCATED   1
 
#define DMX_STATE_SET   2
 
#define DMX_STATE_READY   3
 
#define DMX_STATE_GO   4
 
#define DVB_DEMUX_MASK_MAX   18
 
#define MAX_PID   0x1fff
 
#define SPEED_PKTS_INTERVAL   50000
 
#define DMX_FEED_ENTRY(pos)   list_entry(pos, struct dvb_demux_feed, list_head)
 
#define MAX_DVB_DEMUX_USERS   10
 
#define DMX_MAX_PID   0x2000
 

Functions

int dvb_dmx_init (struct dvb_demux *dvbdemux)
 
void dvb_dmx_release (struct dvb_demux *dvbdemux)
 
void dvb_dmx_swfilter_packets (struct dvb_demux *dvbdmx, const u8 *buf, size_t count)
 
void dvb_dmx_swfilter (struct dvb_demux *demux, const u8 *buf, size_t count)
 
void dvb_dmx_swfilter_204 (struct dvb_demux *demux, const u8 *buf, size_t count)
 
void dvb_dmx_swfilter_raw (struct dvb_demux *demux, const u8 *buf, size_t count)
 

Macro Definition Documentation

#define DMX_FEED_ENTRY (   pos)    list_entry(pos, struct dvb_demux_feed, list_head)

Definition at line 65 of file dvb_demux.h.

#define DMX_MAX_PID   0x2000

Definition at line 127 of file dvb_demux.h.

#define DMX_STATE_ALLOCATED   1

Definition at line 38 of file dvb_demux.h.

#define DMX_STATE_FREE   0

Definition at line 37 of file dvb_demux.h.

#define DMX_STATE_GO   4

Definition at line 41 of file dvb_demux.h.

#define DMX_STATE_READY   3

Definition at line 40 of file dvb_demux.h.

#define DMX_STATE_SET   2

Definition at line 39 of file dvb_demux.h.

#define DMX_TYPE_PES   2

Definition at line 35 of file dvb_demux.h.

#define DMX_TYPE_SEC   1

Definition at line 34 of file dvb_demux.h.

#define DMX_TYPE_TS   0

Definition at line 33 of file dvb_demux.h.

#define DVB_DEMUX_MASK_MAX   18

Definition at line 43 of file dvb_demux.h.

#define MAX_DVB_DEMUX_USERS   10

Definition at line 116 of file dvb_demux.h.

#define MAX_PID   0x1fff

Definition at line 45 of file dvb_demux.h.

#define SPEED_PKTS_INTERVAL   50000

Definition at line 47 of file dvb_demux.h.

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 dvbdmx,
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.