1 #ifndef __lib_dvb_pesparse_h
2 #define __lib_dvb_pesparse_h
10 void setStreamID(unsigned char id, unsigned char id_mask=0xff);
11 void processData(const __u8 *data, int len);
12 virtual void processPESPacket(__u8 *pkt, int len) = 0;
13 virtual ~ePESParser() { }
15 unsigned char m_pes_buffer[65536+6]; // max pes packetlength + pes header
16 int m_pes_position, m_pes_length;
17 unsigned char m_header[4];
18 unsigned char m_stream_id_mask;