|
OPAL
Version 3.18.8
|
#include <g711codec.h>


Public Member Functions | |
| Opal_PCM_G711_ALaw () | |
| virtual int | ConvertOne (int sample) const |
Public Member Functions inherited from OpalStreamedTranscoder | |
| OpalStreamedTranscoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat, unsigned inputBits, unsigned outputBits) | |
| virtual PINDEX | GetOptimalDataFrameSize (PBoolean input) const |
| virtual PBoolean | Convert (const RTP_DataFrame &input, RTP_DataFrame &output) |
Public Member Functions inherited from OpalTranscoder | |
| OpalTranscoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat) | |
| virtual bool | UpdateMediaFormats (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat) |
| virtual PBoolean | ExecuteCommand (const OpalMediaCommand &command) |
| virtual PBoolean | ConvertFrames (const RTP_DataFrame &input, RTP_DataFrameList &output) |
| PINDEX | GetMaxOutputSize () const |
| void | SetMaxOutputSize (PINDEX size) |
| void | SetCommandNotifier (const PNotifier ¬ifier) |
| const PNotifier & | GetCommandNotifier () const |
| void | NotifyCommand (const OpalMediaCommand &command) const |
| Notify command notifier of command. More... | |
| unsigned | GetSessionID () const |
| Get session ID for the transcoder (from OpalMediaStream) More... | |
| void | SetSessionID (unsigned id) |
| Set session ID for the transcoder (from OpalMediaStream) More... | |
| RTP_DataFrame::PayloadTypes | GetPayloadType (PBoolean input) const |
| virtual bool | AcceptComfortNoise () const |
| virtual bool | AcceptEmptyPayload () const |
| virtual bool | AcceptOtherPayloads () const |
| virtual void | GetStatistics (OpalMediaStatistics &statistics) const |
| void | CopyTimestamp (RTP_DataFrame &dst, const RTP_DataFrame &src, bool inToOut) const |
Public Member Functions inherited from OpalMediaFormatPair | |
| OpalMediaFormatPair (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat) | |
| void | PrintOn (ostream &strm) const |
| virtual Comparison | Compare (const PObject &obj) const |
| const OpalMediaFormat & | GetInputFormat () const |
| const OpalMediaFormat & | GetOutputFormat () const |
Static Public Member Functions | |
| static int | ConvertSample (int sample) |
Static Public Member Functions inherited from OpalTranscoder | |
| static OpalTranscoder * | Create (const OpalMediaFormat &srcFormat, const OpalMediaFormat &dstFormat, const BYTE *instance=NULL, unsigned instanceLen=0) |
| static bool | SelectFormats (const OpalMediaType &mediaType, const OpalMediaFormatList &srcFormats, const OpalMediaFormatList &dstFormats, const OpalMediaFormatList &masterFormats, OpalMediaFormat &srcFormat, OpalMediaFormat &dstFormat) |
| static bool | FindIntermediateFormat (const OpalMediaFormat &srcFormat, const OpalMediaFormat &dstFormat, OpalMediaFormat &intermediateFormat) |
| static OpalMediaFormatList | GetDestinationFormats (const OpalMediaFormat &srcFormat) |
| static OpalMediaFormatList | GetSourceFormats (const OpalMediaFormat &dstFormat) |
| static OpalMediaFormatList | GetPossibleFormats (const OpalMediaFormatList &formats) |
Additional Inherited Members | |
Protected Member Functions inherited from OpalTranscoder | |
| virtual bool | OnCreated (const OpalMediaFormat &srcFormat, const OpalMediaFormat &destFormat, const BYTE *instance, unsigned instanceLen) |
| PDECLARE_MUTEX (updateMutex) | |
Protected Attributes inherited from OpalStreamedTranscoder | |
| unsigned | inputBitsPerSample |
| unsigned | outputBitsPerSample |
Protected Attributes inherited from OpalTranscoder | |
| PINDEX | maxOutputSize |
| PNotifier | commandNotifier |
| unsigned | m_sessionID |
| bool | outputIsRTP |
| bool | inputIsRTP |
| bool | acceptEmptyPayload |
| bool | acceptOtherPayloads |
| unsigned | m_inClockRate |
| unsigned | m_outClockRate |
| RTP_DataFrame::PayloadTypes | m_lastPayloadType |
| unsigned | m_consecutivePayloadTypeMismatches |
Protected Attributes inherited from OpalMediaFormatPair | |
| OpalMediaFormat | inputMediaFormat |
| OpalMediaFormat | outputMediaFormat |
| Opal_PCM_G711_ALaw::Opal_PCM_G711_ALaw | ( | ) |
|
virtual |
Convert one sample from one format to another. This function takes the input data as a single sample value and converts it to its output format.
Returns converted value.
Implements OpalStreamedTranscoder.
|
static |