
Public Member Functions | |
| IndexRecord (u_int8_t startOffset, u_int8_t size, unsigned long transportPacketNumber, float pcr) | |
| virtual | ~IndexRecord () |
| RecordType & | recordType () |
| void | setFirstFlag () |
| u_int8_t | startOffset () const |
| u_int8_t & | size () |
| float | pcr () const |
| unsigned long | transportPacketNumber () const |
| IndexRecord * | next () const |
| void | addAfter (IndexRecord *prev) |
| void | unlink () |
Private Attributes | |
| IndexRecord * | fNext |
| IndexRecord * | fPrev |
| RecordType | fRecordType |
| u_int8_t | fStartOffset |
| u_int8_t | fSize |
| float | fPCR |
| unsigned long | fTransportPacketNumber |
Definition at line 34 of file MPEG2IndexFromTransportStream.cpp.
| IndexRecord::IndexRecord | ( | u_int8_t | startOffset, | |
| u_int8_t | size, | |||
| unsigned long | transportPacketNumber, | |||
| float | pcr | |||
| ) |
Definition at line 562 of file MPEG2IndexFromTransportStream.cpp.
00564 : fNext(this), fPrev(this), fRecordType(RECORD_UNPARSED), 00565 fStartOffset(startOffset), fSize(size), 00566 fPCR(pcr), fTransportPacketNumber(transportPacketNumber) { 00567 }
| IndexRecord::~IndexRecord | ( | ) | [virtual] |
Definition at line 569 of file MPEG2IndexFromTransportStream.cpp.
References next(), and unlink().
00569 { 00570 IndexRecord* nextRecord = next(); 00571 unlink(); 00572 if (nextRecord != this) delete nextRecord; 00573 }
| RecordType& IndexRecord::recordType | ( | ) | [inline] |
Definition at line 40 of file MPEG2IndexFromTransportStream.cpp.
References fRecordType.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00040 { return fRecordType; }
| void IndexRecord::setFirstFlag | ( | ) | [inline] |
Definition at line 41 of file MPEG2IndexFromTransportStream.cpp.
References fRecordType.
Referenced by MPEG2IFrameIndexFromTransportStream::parseFrame().
00041 { fRecordType = (RecordType)(((u_int8_t)fRecordType) | 0x80); }
| u_int8_t IndexRecord::startOffset | ( | ) | const [inline] |
Definition at line 42 of file MPEG2IndexFromTransportStream.cpp.
References fStartOffset.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00042 { return fStartOffset; }
| u_int8_t& IndexRecord::size | ( | ) | [inline] |
Definition at line 43 of file MPEG2IndexFromTransportStream.cpp.
References fSize.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00043 { return fSize; }
| float IndexRecord::pcr | ( | ) | const [inline] |
Definition at line 44 of file MPEG2IndexFromTransportStream.cpp.
References fPCR.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00044 { return fPCR; }
| unsigned long IndexRecord::transportPacketNumber | ( | ) | const [inline] |
Definition at line 45 of file MPEG2IndexFromTransportStream.cpp.
References fTransportPacketNumber.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00045 { return fTransportPacketNumber; }
| IndexRecord* IndexRecord::next | ( | ) | const [inline] |
Definition at line 47 of file MPEG2IndexFromTransportStream.cpp.
References fNext.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), MPEG2IFrameIndexFromTransportStream::parseFrame(), and ~IndexRecord().
00047 { return fNext; }
| void IndexRecord::addAfter | ( | IndexRecord * | prev | ) |
Definition at line 575 of file MPEG2IndexFromTransportStream.cpp.
Referenced by MPEG2IFrameIndexFromTransportStream::addToTail(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00575 { 00576 fNext = prev->fNext; 00577 fPrev = prev; 00578 prev->fNext->fPrev = this; 00579 prev->fNext = this; 00580 }
| void IndexRecord::unlink | ( | ) |
Definition at line 582 of file MPEG2IndexFromTransportStream.cpp.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and ~IndexRecord().
IndexRecord* IndexRecord::fNext [private] |
Definition at line 53 of file MPEG2IndexFromTransportStream.cpp.
Referenced by addAfter(), next(), and unlink().
IndexRecord* IndexRecord::fPrev [private] |
Definition at line 54 of file MPEG2IndexFromTransportStream.cpp.
Referenced by addAfter(), and unlink().
RecordType IndexRecord::fRecordType [private] |
Definition at line 56 of file MPEG2IndexFromTransportStream.cpp.
Referenced by recordType(), and setFirstFlag().
u_int8_t IndexRecord::fStartOffset [private] |
u_int8_t IndexRecord::fSize [private] |
float IndexRecord::fPCR [private] |
unsigned long IndexRecord::fTransportPacketNumber [private] |
Definition at line 61 of file MPEG2IndexFromTransportStream.cpp.
Referenced by transportPacketNumber().
1.5.2