Public Member Functions | |
| SegmentQueue (Boolean directionIsToADU, Boolean includeADUdescriptors) | |
| unsigned | headIndex () |
| Segment & | headSegment () |
| unsigned | nextFreeIndex () |
| Segment & | nextFreeSegment () |
| Boolean | isEmpty () |
| Boolean | isFull () |
| unsigned | totalDataSize () |
| void | enqueueNewSegment (FramedSource *inputSource, FramedSource *usingSource) |
| Boolean | dequeue () |
| Boolean | insertDummyBeforeTail (unsigned backpointer) |
| void | reset () |
Static Public Member Functions | |
| static unsigned | nextIndex (unsigned ix) |
| static unsigned | prevIndex (unsigned ix) |
Public Attributes | |
| Segment | s [SegmentQueueSize] |
Private Member Functions | |
| Boolean | sqAfterGettingCommon (Segment &seg, unsigned numBytesRead) |
| Boolean | isEmptyOrFull () |
Static Private Member Functions | |
| static void | sqAfterGettingSegment (void *clientData, unsigned numBytesRead, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
Private Attributes | |
| unsigned | fHeadIndex |
| unsigned | fNextFreeIndex |
| unsigned | fTotalDataSize |
| FramedSource * | fUsingSource |
| Boolean | fDirectionIsToADU |
| Boolean | fIncludeADUdescriptors |
Definition at line 54 of file MP3ADU.cpp.
| SegmentQueue::SegmentQueue | ( | Boolean | directionIsToADU, | |
| Boolean | includeADUdescriptors | |||
| ) | [inline] |
Definition at line 56 of file MP3ADU.cpp.
| unsigned SegmentQueue::headIndex | ( | ) | [inline] |
Definition at line 64 of file MP3ADU.cpp.
Referenced by dequeue(), and isEmptyOrFull().
| Segment& SegmentQueue::headSegment | ( | ) | [inline] |
Definition at line 65 of file MP3ADU.cpp.
| unsigned SegmentQueue::nextFreeIndex | ( | ) | [inline] |
Definition at line 67 of file MP3ADU.cpp.
Referenced by insertDummyBeforeTail(), and isEmptyOrFull().
| Segment& SegmentQueue::nextFreeSegment | ( | ) | [inline] |
Definition at line 68 of file MP3ADU.cpp.
Referenced by enqueueNewSegment(), and sqAfterGettingSegment().
| Boolean SegmentQueue::isEmpty | ( | ) | [inline] |
Definition at line 69 of file MP3ADU.cpp.
Referenced by dequeue().
| Boolean SegmentQueue::isFull | ( | ) | [inline] |
Definition at line 70 of file MP3ADU.cpp.
Referenced by enqueueNewSegment().
| static unsigned SegmentQueue::nextIndex | ( | unsigned | ix | ) | [inline, static] |
Definition at line 72 of file MP3ADU.cpp.
Referenced by dequeue(), and sqAfterGettingCommon().
| static unsigned SegmentQueue::prevIndex | ( | unsigned | ix | ) | [inline, static] |
Definition at line 73 of file MP3ADU.cpp.
Referenced by insertDummyBeforeTail().
| unsigned SegmentQueue::totalDataSize | ( | ) | [inline] |
Definition at line 75 of file MP3ADU.cpp.
| void SegmentQueue::enqueueNewSegment | ( | FramedSource * | inputSource, | |
| FramedSource * | usingSource | |||
| ) |
Definition at line 512 of file MP3ADU.cpp.
| Boolean SegmentQueue::dequeue | ( | ) |
Definition at line 588 of file MP3ADU.cpp.
| Boolean SegmentQueue::insertDummyBeforeTail | ( | unsigned | backpointer | ) |
Definition at line 600 of file MP3ADU.cpp.
| void SegmentQueue::reset | ( | ) | [inline] |
Definition at line 83 of file MP3ADU.cpp.
Referenced by SegmentQueue().
| void SegmentQueue::sqAfterGettingSegment | ( | void * | clientData, | |
| unsigned | numBytesRead, | |||
| unsigned | numTruncatedBytes, | |||
| struct timeval | presentationTime, | |||
| unsigned | durationInMicroseconds | |||
| ) | [static, private] |
Definition at line 528 of file MP3ADU.cpp.
Referenced by enqueueNewSegment().
| Boolean SegmentQueue::sqAfterGettingCommon | ( | Segment & | seg, | |
| unsigned | numBytesRead | |||
| ) | [private] |
Definition at line 551 of file MP3ADU.cpp.
Referenced by insertDummyBeforeTail(), and sqAfterGettingSegment().
| Boolean SegmentQueue::isEmptyOrFull | ( | ) | [inline, private] |
Definition at line 93 of file MP3ADU.cpp.
Referenced by insertDummyBeforeTail(), isEmpty(), and isFull().
| Segment SegmentQueue::s[SegmentQueueSize] |
Definition at line 62 of file MP3ADU.cpp.
Referenced by dequeue(), headSegment(), insertDummyBeforeTail(), and nextFreeSegment().
unsigned SegmentQueue::fHeadIndex [private] |
Definition at line 95 of file MP3ADU.cpp.
Referenced by dequeue(), headIndex(), headSegment(), and reset().
unsigned SegmentQueue::fNextFreeIndex [private] |
Definition at line 95 of file MP3ADU.cpp.
Referenced by nextFreeIndex(), nextFreeSegment(), reset(), and sqAfterGettingCommon().
unsigned SegmentQueue::fTotalDataSize [private] |
Definition at line 95 of file MP3ADU.cpp.
Referenced by dequeue(), reset(), sqAfterGettingCommon(), and totalDataSize().
FramedSource* SegmentQueue::fUsingSource [private] |
Definition at line 98 of file MP3ADU.cpp.
Referenced by dequeue(), enqueueNewSegment(), and sqAfterGettingSegment().
Boolean SegmentQueue::fDirectionIsToADU [private] |
Definition at line 102 of file MP3ADU.cpp.
Referenced by sqAfterGettingCommon(), and sqAfterGettingSegment().
Boolean SegmentQueue::fIncludeADUdescriptors [private] |
Definition at line 106 of file MP3ADU.cpp.
Referenced by insertDummyBeforeTail(), and sqAfterGettingCommon().
1.6.3