X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb_si%2Fpmt.h;fp=lib%2Fdvb_si%2Fpmt.h;h=0000000000000000000000000000000000000000;hb=8d8294b4b354436adde202604fffb55c181d686c;hp=c82413e8753021735c1d8af4a13180be7e3b4d84;hpb=fc233e3a96e68514165781859afc94a2bb33e9e9;p=vuplus_dvbapp diff --git a/lib/dvb_si/pmt.h b/lib/dvb_si/pmt.h deleted file mode 100644 index c82413e..0000000 --- a/lib/dvb_si/pmt.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * $Id: pmt.h,v 1.2 2005-04-30 17:57:48 tmbinc Exp $ - * - * (C) 2002-2003 Andreas Oberritter - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef __dvb_table_pmt_h__ -#define __dvb_table_pmt_h__ - -#include -#include "long_crc_table.h" - -class ElementaryStreamInfo : public DescriptorContainer -{ - protected: - unsigned streamType : 8; - unsigned reserved1 : 3; - unsigned elementaryPid : 13; - unsigned reserved2 : 4; - unsigned esInfoLength : 12; - - public: - ElementaryStreamInfo(const uint8_t * const buffer); - - uint8_t getType(void) const; - uint16_t getPid(void) const; - - friend class CaElementaryStreamInfo; - -}; - -typedef std::vector ElementaryStreamInfoVector; -typedef ElementaryStreamInfoVector::iterator ElementaryStreamInfoIterator; -typedef ElementaryStreamInfoVector::const_iterator ElementaryStreamInfoConstIterator; - -class ProgramMapTable : public LongCrcTable, public DescriptorContainer -{ - protected: - unsigned reserved4 : 3; - unsigned pcrPid : 13; - unsigned reserved5 : 4; - unsigned programInfoLength : 12; - ElementaryStreamInfoVector esInfo; - - public: - ProgramMapTable(const uint8_t * const buffer); - ~ProgramMapTable(void); - - static const enum TableId TID = TID_PMT; - static const uint32_t TIMEOUT = 6000; - - uint16_t getPcrPid(void) const; - const ElementaryStreamInfoVector *getEsInfo(void) const; - - friend class CaProgramMapTable; -}; - -typedef std::vector ProgramMapTableVector; -typedef ProgramMapTableVector::iterator ProgramMapTableIterator; -typedef ProgramMapTableVector::const_iterator ProgramMapTableConstIterator; - -#endif /* __dvb_table_pmt_h__ */