
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 40 of file MPEG2IndexFromTransportStream.cpp.
| IndexRecord::IndexRecord | ( | u_int8_t | startOffset, | |
| u_int8_t | size, | |||
| unsigned long | transportPacketNumber, | |||
| float | pcr | |||
| ) |
Definition at line 615 of file MPEG2IndexFromTransportStream.cpp.
00617 : fNext(this), fPrev(this), fRecordType(RECORD_UNPARSED), 00618 fStartOffset(startOffset), fSize(size), 00619 fPCR(pcr), fTransportPacketNumber(transportPacketNumber) { 00620 }
| IndexRecord::~IndexRecord | ( | ) | [virtual] |
Definition at line 622 of file MPEG2IndexFromTransportStream.cpp.
References next(), and unlink().
00622 { 00623 IndexRecord* nextRecord = next(); 00624 unlink(); 00625 if (nextRecord != this) delete nextRecord; 00626 }
| RecordType& IndexRecord::recordType | ( | ) | [inline] |
Definition at line 46 of file MPEG2IndexFromTransportStream.cpp.
References fRecordType.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00046 { return fRecordType; }
| void IndexRecord::setFirstFlag | ( | ) | [inline] |
Definition at line 47 of file MPEG2IndexFromTransportStream.cpp.
References fRecordType.
Referenced by MPEG2IFrameIndexFromTransportStream::parseFrame().
00047 { fRecordType = (RecordType)(((u_int8_t)fRecordType) | 0x80); }
| u_int8_t IndexRecord::startOffset | ( | ) | const [inline] |
Definition at line 48 of file MPEG2IndexFromTransportStream.cpp.
References fStartOffset.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00048 { return fStartOffset; }
| u_int8_t& IndexRecord::size | ( | ) | [inline] |
Definition at line 49 of file MPEG2IndexFromTransportStream.cpp.
References fSize.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00049 { return fSize; }
| float IndexRecord::pcr | ( | ) | const [inline] |
Definition at line 50 of file MPEG2IndexFromTransportStream.cpp.
References fPCR.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00050 { return fPCR; }
| unsigned long IndexRecord::transportPacketNumber | ( | ) | const [inline] |
Definition at line 51 of file MPEG2IndexFromTransportStream.cpp.
References fTransportPacketNumber.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00051 { return fTransportPacketNumber; }
| IndexRecord* IndexRecord::next | ( | ) | const [inline] |
Definition at line 53 of file MPEG2IndexFromTransportStream.cpp.
References fNext.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), MPEG2IFrameIndexFromTransportStream::parseFrame(), and ~IndexRecord().
00053 { return fNext; }
| void IndexRecord::addAfter | ( | IndexRecord * | prev | ) |
Definition at line 628 of file MPEG2IndexFromTransportStream.cpp.
Referenced by MPEG2IFrameIndexFromTransportStream::addToTail(), and MPEG2IFrameIndexFromTransportStream::parseFrame().
00628 { 00629 fNext = prev->fNext; 00630 fPrev = prev; 00631 prev->fNext->fPrev = this; 00632 prev->fNext = this; 00633 }
| void IndexRecord::unlink | ( | ) |
Definition at line 635 of file MPEG2IndexFromTransportStream.cpp.
Referenced by MPEG2IFrameIndexFromTransportStream::deliverIndexRecord(), and ~IndexRecord().
IndexRecord* IndexRecord::fNext [private] |
Definition at line 59 of file MPEG2IndexFromTransportStream.cpp.
Referenced by addAfter(), next(), and unlink().
IndexRecord* IndexRecord::fPrev [private] |
Definition at line 60 of file MPEG2IndexFromTransportStream.cpp.
Referenced by addAfter(), and unlink().
RecordType IndexRecord::fRecordType [private] |
Definition at line 62 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 67 of file MPEG2IndexFromTransportStream.cpp.
Referenced by transportPacketNumber().
1.5.2