codec Class Reference

#include <rtp.h>

Inheritance diagram for codec:

g711alaw g711ulaw g729 gsmCodec

List of all members.


Detailed Description

Definition at line 210 of file mythplugins/mythphone/mythphone/rtp.h.


Public Member Functions

 codec ()
virtual ~codec ()
virtual int Decode (uchar *In, short *out, int Len, short &maxPower)
virtual int Encode (short *In, uchar *out, int Samples, short &maxPower, int gain)
virtual int Silence (uchar *out, int ms)
virtual QString WhoAreYou ()
virtual int bandwidth ()

Constructor & Destructor Documentation

codec::codec (  ) 

Definition at line 1737 of file rtp.cpp.

codec::~codec (  )  [virtual]

Definition at line 1741 of file rtp.cpp.


Member Function Documentation

int codec::Decode ( uchar *  In,
short *  out,
int  Len,
short &  maxPower 
) [virtual]

Reimplemented in g711alaw, g711ulaw, gsmCodec, and g729.

Definition at line 1753 of file rtp.cpp.

Referenced by rtp::PlayOutAudio().

int codec::Encode ( short *  In,
uchar *  out,
int  Samples,
short &  maxPower,
int  gain 
) [virtual]

Reimplemented in g711alaw, g711ulaw, gsmCodec, and g729.

Definition at line 1745 of file rtp.cpp.

Referenced by rtp::fillPacketfromBuffer(), and rtp::fillPacketfromMic().

int codec::Silence ( uchar *  out,
int  ms 
) [virtual]

Reimplemented in g711alaw, g711ulaw, gsmCodec, and g729.

Definition at line 1760 of file rtp.cpp.

Referenced by rtp::fillPacketwithSilence().

QString codec::WhoAreYou (  )  [virtual]

Reimplemented in g711alaw, g711ulaw, gsmCodec, and g729.

Definition at line 1767 of file rtp.cpp.

virtual int codec::bandwidth ( void   )  [inline, virtual]

Reimplemented in g711alaw, g711ulaw, gsmCodec, and g729.

Definition at line 219 of file mythplugins/mythphone/mythphone/rtp.h.


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5