1 #ifndef __lib_dvb_tstools_h
2 #define __lib_dvb_tstools_h
8 * Note: we're interested in PTS values, not STC values.
9 * thus we're not evaluating PES headers, not adaption fields.
12 typedef unsigned long long pts_t;
20 int openFile(const char *filename);
23 void setSyncPID(int pid);
24 void setSearchRange(int maxrange);
26 /* get first PTS *after* the given offset. */
27 int getPTS(off_t &offset, pts_t &pts);
32 int calcLen(pts_t &len);
38 int m_begin_valid, m_end_valid;
39 pts_t m_pts_begin, m_pts_end;
40 off_t m_offset_begin, m_offset_end;