Go to the documentation of this file.
21 #ifndef _DVB_FILTER_H_
22 #define _DVB_FILTER_H_
24 #include <linux/slab.h>
31 unsigned char buf[188];
41 int len,
int payload_start);
44 #define PROG_STREAM_MAP 0xBC
45 #define PRIVATE_STREAM1 0xBD
46 #define PADDING_STREAM 0xBE
47 #define PRIVATE_STREAM2 0xBF
48 #define AUDIO_STREAM_S 0xC0
49 #define AUDIO_STREAM_E 0xDF
50 #define VIDEO_STREAM_S 0xE0
51 #define VIDEO_STREAM_E 0xEF
52 #define ECM_STREAM 0xF0
53 #define EMM_STREAM 0xF1
54 #define DSM_CC_STREAM 0xF2
55 #define ISO13522_STREAM 0xF3
56 #define PROG_STREAM_DIR 0xFF
58 #define DVB_PICTURE_START 0x00
59 #define DVB_USER_START 0xb2
60 #define DVB_SEQUENCE_HEADER 0xb3
61 #define DVB_SEQUENCE_ERROR 0xb4
62 #define DVB_EXTENSION_START 0xb5
63 #define DVB_SEQUENCE_END 0xb7
64 #define DVB_GOP_START 0xb8
65 #define DVB_EXCEPT_SLICE 0xb0
67 #define SEQUENCE_EXTENSION 0x01
68 #define SEQUENCE_DISPLAY_EXTENSION 0x02
69 #define PICTURE_CODING_EXTENSION 0x08
70 #define QUANT_MATRIX_EXTENSION 0x03
71 #define PICTURE_DISPLAY_EXTENSION 0x07
78 #define INIT_HORIZONTAL_SIZE 720
79 #define INIT_VERTICAL_SIZE 576
80 #define INIT_ASPECT_RATIO 0x02
81 #define INIT_FRAME_RATE 0x03
82 #define INIT_DISP_HORIZONTAL_SIZE 540
83 #define INIT_DISP_VERTICAL_SIZE 576
87 #define PTS_DTS_FLAGS 0xC0
88 #define ESCR_FLAG 0x20
89 #define ES_RATE_FLAG 0x10
90 #define DSM_TRICK_FLAG 0x08
91 #define ADD_CPY_FLAG 0x04
92 #define PES_CRC_FLAG 0x02
93 #define PES_EXT_FLAG 0x01
100 #define TRANS_ERROR 0x80
101 #define PAY_START 0x40
102 #define TRANS_PRIO 0x20
103 #define PID_MASK_HI 0x1F
105 #define TRANS_SCRMBL1 0x80
106 #define TRANS_SCRMBL2 0x40
107 #define ADAPT_FIELD 0x20
109 #define COUNT_MASK 0x0F
112 #define DISCON_IND 0x80
113 #define RAND_ACC_IND 0x40
114 #define ES_PRI_IND 0x20
115 #define PCR_FLAG 0x10
116 #define OPCR_FLAG 0x08
117 #define SPLICE_FLAG 0x04
118 #define TRANS_PRIV 0x02
119 #define ADAP_EXT_FLAG 0x01
122 #define LTW_FLAG 0x80
123 #define PIECE_RATE 0x40
124 #define SEAM_SPLICE 0x20
127 #define MAX_PLENGTH 0xFFFF
128 #define MMAX_PLENGTH (256*MAX_PLENGTH)
171 #define FIRST_FIELD 0
172 #define SECOND_FIELD 1
173 #define VIDEO_FRAME_PICTURE 0x03