Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
dmx.h File Reference
#include <linux/types.h>
#include <time.h>

Go to the source code of this file.

Data Structures

struct  dmx_filter
 
struct  dmx_sct_filter_params
 
struct  dmx_pes_filter_params
 
struct  dmx_caps
 
struct  dmx_stc
 

Macros

#define DMX_FILTER_SIZE   16
 
#define DMX_PES_AUDIO   DMX_PES_AUDIO0
 
#define DMX_PES_VIDEO   DMX_PES_VIDEO0
 
#define DMX_PES_TELETEXT   DMX_PES_TELETEXT0
 
#define DMX_PES_SUBTITLE   DMX_PES_SUBTITLE0
 
#define DMX_PES_PCR   DMX_PES_PCR0
 
#define DMX_CHECK_CRC   1
 
#define DMX_ONESHOT   2
 
#define DMX_IMMEDIATE_START   4
 
#define DMX_KERNEL_CLIENT   0x8000
 
#define DMX_START   _IO('o', 41)
 
#define DMX_STOP   _IO('o', 42)
 
#define DMX_SET_FILTER   _IOW('o', 43, struct dmx_sct_filter_params)
 
#define DMX_SET_PES_FILTER   _IOW('o', 44, struct dmx_pes_filter_params)
 
#define DMX_SET_BUFFER_SIZE   _IO('o', 45)
 
#define DMX_GET_PES_PIDS   _IOR('o', 47, __u16[5])
 
#define DMX_GET_CAPS   _IOR('o', 48, dmx_caps_t)
 
#define DMX_SET_SOURCE   _IOW('o', 49, dmx_source_t)
 
#define DMX_GET_STC   _IOWR('o', 50, struct dmx_stc)
 
#define DMX_ADD_PID   _IOW('o', 51, __u16)
 
#define DMX_REMOVE_PID   _IOW('o', 52, __u16)
 

Typedefs

typedef struct dmx_filter dmx_filter_t
 
typedef struct dmx_caps dmx_caps_t
 

Enumerations

enum  dmx_output_t { DMX_OUT_DECODER, DMX_OUT_TAP, DMX_OUT_TS_TAP, DMX_OUT_TSDEMUX_TAP }
 
enum  dmx_input_t { DMX_IN_FRONTEND, DMX_IN_DVR }
 
enum  dmx_pes_type_t {
  DMX_PES_AUDIO0, DMX_PES_VIDEO0, DMX_PES_TELETEXT0, DMX_PES_SUBTITLE0,
  DMX_PES_PCR0, DMX_PES_AUDIO1, DMX_PES_VIDEO1, DMX_PES_TELETEXT1,
  DMX_PES_SUBTITLE1, DMX_PES_PCR1, DMX_PES_AUDIO2, DMX_PES_VIDEO2,
  DMX_PES_TELETEXT2, DMX_PES_SUBTITLE2, DMX_PES_PCR2, DMX_PES_AUDIO3,
  DMX_PES_VIDEO3, DMX_PES_TELETEXT3, DMX_PES_SUBTITLE3, DMX_PES_PCR3,
  DMX_PES_OTHER
}
 
enum  dmx_source_t {
  DMX_SOURCE_FRONT0 = 0, DMX_SOURCE_FRONT1, DMX_SOURCE_FRONT2, DMX_SOURCE_FRONT3,
  DMX_SOURCE_DVR0 = 16, DMX_SOURCE_DVR1, DMX_SOURCE_DVR2, DMX_SOURCE_DVR3
}
 

Macro Definition Documentation

#define DMX_ADD_PID   _IOW('o', 51, __u16)

Definition at line 152 of file dmx.h.

#define DMX_CHECK_CRC   1

Definition at line 104 of file dmx.h.

#define DMX_FILTER_SIZE   16

Definition at line 33 of file dmx.h.

#define DMX_GET_CAPS   _IOR('o', 48, dmx_caps_t)

Definition at line 149 of file dmx.h.

#define DMX_GET_PES_PIDS   _IOR('o', 47, __u16[5])

Definition at line 148 of file dmx.h.

#define DMX_GET_STC   _IOWR('o', 50, struct dmx_stc)

Definition at line 151 of file dmx.h.

#define DMX_IMMEDIATE_START   4

Definition at line 106 of file dmx.h.

#define DMX_KERNEL_CLIENT   0x8000

Definition at line 107 of file dmx.h.

#define DMX_ONESHOT   2

Definition at line 105 of file dmx.h.

#define DMX_PES_AUDIO   DMX_PES_AUDIO0

Definition at line 83 of file dmx.h.

#define DMX_PES_PCR   DMX_PES_PCR0

Definition at line 87 of file dmx.h.

#define DMX_PES_SUBTITLE   DMX_PES_SUBTITLE0

Definition at line 86 of file dmx.h.

#define DMX_PES_TELETEXT   DMX_PES_TELETEXT0

Definition at line 85 of file dmx.h.

#define DMX_PES_VIDEO   DMX_PES_VIDEO0

Definition at line 84 of file dmx.h.

#define DMX_REMOVE_PID   _IOW('o', 52, __u16)

Definition at line 153 of file dmx.h.

#define DMX_SET_BUFFER_SIZE   _IO('o', 45)

Definition at line 147 of file dmx.h.

#define DMX_SET_FILTER   _IOW('o', 43, struct dmx_sct_filter_params)

Definition at line 145 of file dmx.h.

#define DMX_SET_PES_FILTER   _IOW('o', 44, struct dmx_pes_filter_params)

Definition at line 146 of file dmx.h.

#define DMX_SET_SOURCE   _IOW('o', 49, dmx_source_t)

Definition at line 150 of file dmx.h.

#define DMX_START   _IO('o', 41)

Definition at line 143 of file dmx.h.

#define DMX_STOP   _IO('o', 42)

Definition at line 144 of file dmx.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator:
DMX_IN_FRONTEND 
DMX_IN_DVR 

Definition at line 47 of file dmx.h.

Enumerator:
DMX_OUT_DECODER 
DMX_OUT_TAP 
DMX_OUT_TS_TAP 
DMX_OUT_TSDEMUX_TAP 

Definition at line 35 of file dmx.h.

Enumerator:
DMX_PES_AUDIO0 
DMX_PES_VIDEO0 
DMX_PES_TELETEXT0 
DMX_PES_SUBTITLE0 
DMX_PES_PCR0 
DMX_PES_AUDIO1 
DMX_PES_VIDEO1 
DMX_PES_TELETEXT1 
DMX_PES_SUBTITLE1 
DMX_PES_PCR1 
DMX_PES_AUDIO2 
DMX_PES_VIDEO2 
DMX_PES_TELETEXT2 
DMX_PES_SUBTITLE2 
DMX_PES_PCR2 
DMX_PES_AUDIO3 
DMX_PES_VIDEO3 
DMX_PES_TELETEXT3 
DMX_PES_SUBTITLE3 
DMX_PES_PCR3 
DMX_PES_OTHER 

Definition at line 54 of file dmx.h.

Enumerator:
DMX_SOURCE_FRONT0 
DMX_SOURCE_FRONT1 
DMX_SOURCE_FRONT2 
DMX_SOURCE_FRONT3 
DMX_SOURCE_DVR0 
DMX_SOURCE_DVR1 
DMX_SOURCE_DVR2 
DMX_SOURCE_DVR3 

Definition at line 125 of file dmx.h.