#include <h323pluginmgr.h>
Public Member Functions | |
virtual const struct PluginCodec_Definition * | GetDefinition () |
virtual PString | GetInputFormat () const =0 |
virtual PString | GetOutputFormat () const =0 |
virtual int | Encode (const void *from, unsigned *fromLen, void *to, unsigned *toLen, unsigned int *flag)=0 |
virtual unsigned int | GetSampleRate () const =0 |
virtual unsigned int | GetBitsPerSec () const =0 |
virtual unsigned int | GetFrameTime () const =0 |
virtual unsigned int | GetSamplesPerFrame () const =0 |
virtual unsigned int | GetBytesPerFrame () const =0 |
virtual unsigned int | GetRecommendedFramesPerPacket () const =0 |
virtual unsigned int | GetMaxFramesPerPacket () const =0 |
virtual BYTE | GetRTPPayload () const =0 |
virtual PString | GetSDPFormat () const =0 |
PFactory<OpalFactoryCodec>::CreateInstance(conversion);
to create an instance, where conversion is (eg) "L16:G.711-uLaw-64k"
|
Take the supplied data and apply the conversion specified by CreateInstance call (above). When this method returns, toLen contains the number of bytes placed in the destination buffer.
|
|
Return the bitsPerSec field of PluginCodec_Definition for this codec |
|
Return the bytesPerFrame field of PluginCodec_Definition for this codec |
|
Return the PluginCodec_Definition, which describes this codec |
|
Return the nmPerFrame field of PluginCodec_Definition for this codec |
|
Return the sourceFormat field of PluginCodec_Definition for this codec |
|
Return the maxFramesPerPacket field of PluginCodec_Definition for this codec |
|
Return the destFormat field of PluginCodec_Definition for this codec |
|
Return the recommendedFramesPerPacket field of PluginCodec_Definition for this codec |
|
Return the rtpPayload field of PluginCodec_Definition for this codec |
|
Return the sampleRate field of PluginCodec_Definition for this codec |
|
Return the samplesPerFrame field of PluginCodec_Definition for this codec |
|
Return the sampleRate field of PluginCodec_Definition for this codec |