Public Member Functions | |
| unsigned char * | dataStart () |
| unsigned | dataHere () |
Data Fields | |
| unsigned char | buf [SegmentBufSize] |
| unsigned | frameSize |
| unsigned | descriptorSize |
| unsigned | sideInfoSize |
| unsigned | aduSize |
| unsigned | backpointer |
| timeval | presentationTime |
| unsigned | durationInMicroseconds |
Static Public Attributes | |
| static unsigned const | headerSize = 4 |
Definition at line 34 of file MP3ADU.cpp.
| unsigned char* Segment::dataStart | ( | ) | [inline] |
Definition at line 37 of file MP3ADU.cpp.
References buf, and descriptorSize.
Referenced by ADUFromMP3Source::doGetNextFrame1(), and MP3FromADUSource::generateFrameFromHeadADU().
00037 { return &buf[descriptorSize]; }
| unsigned Segment::dataHere | ( | ) |
Definition at line 500 of file MP3ADU.cpp.
References frameSize, headerSize, and sideInfoSize.
Referenced by SegmentQueue::dequeue(), ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), MP3FromADUSource::insertDummyADUsIfNecessary(), MP3FromADUSource::needToGetAnADU(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
00500 { 00501 int result = frameSize - (headerSize + sideInfoSize); 00502 if (result < 0) { 00503 return 0; 00504 } 00505 00506 return (unsigned)result; 00507 }
| unsigned char Segment::buf[SegmentBufSize] |
Definition at line 36 of file MP3ADU.cpp.
Referenced by dataStart(), MP3FromADUSource::doGetNextFrame(), SegmentQueue::enqueueNewSegment(), SegmentQueue::insertDummyBeforeTail(), and SegmentQueue::sqAfterGettingCommon().
| unsigned Segment::frameSize |
Definition at line 38 of file MP3ADU.cpp.
Referenced by dataHere(), MP3FromADUSource::generateFrameFromHeadADU(), SegmentQueue::insertDummyBeforeTail(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
| unsigned Segment::descriptorSize |
Definition at line 41 of file MP3ADU.cpp.
Referenced by dataStart(), MP3FromADUSource::generateFrameFromHeadADU(), SegmentQueue::insertDummyBeforeTail(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
unsigned const Segment::headerSize = 4 [static] |
Definition at line 42 of file MP3ADU.cpp.
Referenced by dataHere(), ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), and SegmentQueue::insertDummyBeforeTail().
| unsigned Segment::sideInfoSize |
Definition at line 43 of file MP3ADU.cpp.
Referenced by dataHere(), ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), SegmentQueue::insertDummyBeforeTail(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
| unsigned Segment::aduSize |
Definition at line 43 of file MP3ADU.cpp.
Referenced by ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), MP3FromADUSource::insertDummyADUsIfNecessary(), MP3FromADUSource::needToGetAnADU(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
| unsigned Segment::backpointer |
Definition at line 44 of file MP3ADU.cpp.
Referenced by ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), MP3FromADUSource::insertDummyADUsIfNecessary(), MP3FromADUSource::needToGetAnADU(), SegmentQueue::sqAfterGettingCommon(), and SegmentQueue::sqAfterGettingSegment().
struct timeval Segment::presentationTime [read] |
Definition at line 46 of file MP3ADU.cpp.
Referenced by ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), and SegmentQueue::sqAfterGettingSegment().
| unsigned Segment::durationInMicroseconds |
Definition at line 47 of file MP3ADU.cpp.
Referenced by ADUFromMP3Source::doGetNextFrame1(), MP3FromADUSource::generateFrameFromHeadADU(), and SegmentQueue::sqAfterGettingSegment().
1.5.2