AMRDeinterleavingBuffer Class Reference

List of all members.

Classes

class  FrameDescriptor

Public Member Functions

 AMRDeinterleavingBuffer (unsigned numChannels, unsigned maxInterleaveGroupSize)
virtual ~AMRDeinterleavingBuffer ()
void deliverIncomingFrame (unsigned frameSize, RawAMRRTPSource *source, struct timeval presentationTime)
Boolean retrieveFrame (unsigned char *to, unsigned maxSize, unsigned &resultFrameSize, unsigned &resultNumTruncatedBytes, u_int8_t &resultFrameHeader, struct timeval &resultPresentationTime)
unsigned char * inputBuffer ()
unsigned inputBufferSize () const

Private Member Functions

unsigned char * createNewBuffer ()

Private Attributes

unsigned fNumChannels
unsigned fMaxInterleaveGroupSize
FrameDescriptorfFrames [2]
unsigned char fIncomingBankId
unsigned char fIncomingBinMax
unsigned char fOutgoingBinMax
unsigned char fNextOutgoingBin
Boolean fHaveSeenPackets
u_int16_t fLastPacketSeqNumForGroup
unsigned char * fInputBuffer
struct timeval fLastRetrievedPresentationTime

Detailed Description

Definition at line 394 of file AMRAudioRTPSource.cpp.


Constructor & Destructor Documentation

AMRDeinterleavingBuffer::AMRDeinterleavingBuffer ( unsigned  numChannels,
unsigned  maxInterleaveGroupSize 
)

Definition at line 518 of file AMRAudioRTPSource.cpp.

AMRDeinterleavingBuffer::~AMRDeinterleavingBuffer (  )  [virtual]

Definition at line 529 of file AMRAudioRTPSource.cpp.


Member Function Documentation

void AMRDeinterleavingBuffer::deliverIncomingFrame ( unsigned  frameSize,
RawAMRRTPSource source,
struct timeval  presentationTime 
)

Definition at line 535 of file AMRAudioRTPSource.cpp.

Boolean AMRDeinterleavingBuffer::retrieveFrame ( unsigned char *  to,
unsigned  maxSize,
unsigned &  resultFrameSize,
unsigned &  resultNumTruncatedBytes,
u_int8_t resultFrameHeader,
struct timeval &  resultPresentationTime 
)

Definition at line 610 of file AMRAudioRTPSource.cpp.

Referenced by AMRDeinterleaver::doGetNextFrame().

unsigned char* AMRDeinterleavingBuffer::inputBuffer (  )  [inline]

Definition at line 406 of file AMRAudioRTPSource.cpp.

Referenced by AMRDeinterleaver::doGetNextFrame().

unsigned AMRDeinterleavingBuffer::inputBufferSize (  )  const [inline]

Definition at line 407 of file AMRAudioRTPSource.cpp.

Referenced by createNewBuffer(), and AMRDeinterleaver::doGetNextFrame().

unsigned char * AMRDeinterleavingBuffer::createNewBuffer (  )  [private]

Definition at line 656 of file AMRAudioRTPSource.cpp.


Member Data Documentation

Definition at line 423 of file AMRAudioRTPSource.cpp.

Definition at line 423 of file AMRAudioRTPSource.cpp.

Definition at line 424 of file AMRAudioRTPSource.cpp.

Referenced by ~AMRDeinterleavingBuffer().

Definition at line 425 of file AMRAudioRTPSource.cpp.

Definition at line 426 of file AMRAudioRTPSource.cpp.

Definition at line 427 of file AMRAudioRTPSource.cpp.

Definition at line 428 of file AMRAudioRTPSource.cpp.

Definition at line 429 of file AMRAudioRTPSource.cpp.

Definition at line 430 of file AMRAudioRTPSource.cpp.

unsigned char* AMRDeinterleavingBuffer::fInputBuffer [private]

Definition at line 431 of file AMRAudioRTPSource.cpp.

Referenced by inputBuffer(), and ~AMRDeinterleavingBuffer().

Definition at line 432 of file AMRAudioRTPSource.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:50 2012 for MythTV by  doxygen 1.6.3