sipxmedialib
Version 3.3
|
#include <StreamQueueingFormatDecoder.h>
Public Member Functions | |
Creators | |
StreamQueueingFormatDecoder (StreamDataSource *pDataSource, int iQueueLength) | |
virtual | ~StreamQueueingFormatDecoder () |
Manipulators | |
virtual OsStatus | getFrame (unsigned short *samples) |
virtual OsStatus | queueFrame (const unsigned short *pSamples) |
returns OS_SUCCESS if a frame is available More... | |
virtual OsStatus | queueEndOfFrames () |
virtual OsStatus | drain () |
Accessors | |
int | getMaxQueueLength () |
int | getNumQueuedFrames () |
Public Member Functions inherited from StreamFormatDecoder | |
StreamFormatDecoder (StreamDataSource *pDataSource) | |
virtual | ~StreamFormatDecoder () |
virtual OsStatus | init ()=0 |
virtual OsStatus | free ()=0 |
virtual OsStatus | begin ()=0 |
virtual OsStatus | end ()=0 |
void | setListener (StreamDecoderListener *pListener) |
returns TRUE if a frame is available, otherwise false More... | |
virtual OsStatus | toString (UtlString &string)=0 |
StreamDataSource * | getDataSource () |
virtual UtlBoolean | isDecoding ()=0 |
virtual UtlBoolean | validDecoder ()=0 |
Protected Member Functions | |
StreamQueueingFormatDecoder (const StreamQueueingFormatDecoder &rStreamQueueingFormatDecoder) | |
StreamQueueingFormatDecoder & | operator= (const StreamQueueingFormatDecoder &rhs) |
Protected Member Functions inherited from StreamFormatDecoder | |
StreamFormatDecoder (const StreamFormatDecoder &rStreamFormatDecoder) | |
StreamFormatDecoder & | operator= (const StreamFormatDecoder &rhs) |
virtual void | fireEvent (StreamDecoderEvent event) |
Static Private Member Functions | |
static void | reportFrame (UtlBoolean bUnderrun) |
static void | reportThrottle () |
static void | reportStream () |
Private Attributes | |
OsMsgQ | mMsgqFrames |
OsMsgPool | mMsgPool |
int | miMaxQueueLength |
UtlBoolean | mbReportThrottle |
UtlBoolean | mbDraining |
Static Private Attributes | |
static OsMutex | mMutReport |
static time_t | sLastReported = 0 |
static unsigned int | sDeltaFrames = 0 |
static unsigned int | sDeltaStreams = 0 |
static unsigned int | sDeltaUnderruns = 0 |
static unsigned int | sDeltaThrottles = 0 |
static unsigned int | sTotalFrames = 0 |
static unsigned int | sTotalStreams = 0 |
static unsigned int | sTotalUnderruns = 0 |
static unsigned int | sTotalThrottles = 0 |
StreamQueueingFormatDecoder | ( | StreamDataSource * | pDataSource, |
int | iQueueLength | ||
) |
|
virtual |
|
protected |
|
virtual |
Implements StreamFormatDecoder.
|
virtual |
returns OS_SUCCESS if a frame is available
|
virtual |
|
virtual |
int getMaxQueueLength | ( | ) |
int getNumQueuedFrames | ( | ) |
|
protected |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |