PluginCodec_GetCodecFunction Struct Reference

`#include <opalplugin.h>`

## Data Structures

union | _parm

## Data Fields

unsigned int | version
struct PluginCodec_information * | info
unsigned int | flags
const char * | descr
const char * | sourceFormat
const char * | destFormat
const void * | userData
unsigned int | sampleRate
unsigned int | bitsPerSec
unsigned int | usPerFrame
union PluginCodec_Definition::_parm | parm
unsigned char | rtpPayload
const char * | sdpFormat
void *(* | createCodec )(const struct PluginCodec_Definition *codec)
void(* | destroyCodec )(const struct PluginCodec_Definition *codec, void *context)
int(* | codecFunction )(const struct PluginCodec_Definition *codec, void *context, const void *from, unsigned *fromLen, void *to, unsigned *toLen, unsigned int *flag)
struct PluginCodec_ControlDefn * | codecControls
unsigned char | h323CapabilityType
const void * | h323CapabilityData

## Field Documentation

unsigned int PluginCodec_GetCodecFunction::bitsPerSec

Referenced by PluginCodec< NAME >::SetOption().

struct PluginCodec_ControlDefn* PluginCodec_GetCodecFunction::codecControls

int(* PluginCodec_GetCodecFunction::codecFunction) (const struct PluginCodec_Definition *codec, void *context,const void *from, unsigned *fromLen, void *to, unsigned *toLen, unsigned int *flag)

Referenced by OpalPluginTranscoder::Transcode().

void*(* PluginCodec_GetCodecFunction::createCodec) (const struct PluginCodec_Definition *codec)

const char* PluginCodec_GetCodecFunction::descr

Referenced by PluginCodec< NAME >::PluginCodec().

const char* PluginCodec_GetCodecFunction::destFormat

Referenced by PluginCodec< NAME >::PluginCodec().

void(* PluginCodec_GetCodecFunction::destroyCodec) (const struct PluginCodec_Definition *codec, void *context)

unsigned int PluginCodec_GetCodecFunction::flags

const void* PluginCodec_GetCodecFunction::h323CapabilityData

unsigned char PluginCodec_GetCodecFunction::h323CapabilityType

struct PluginCodec_information* PluginCodec_GetCodecFunction::info

union PluginCodec_Definition::_parm PluginCodec_GetCodecFunction::parm

unsigned char PluginCodec_GetCodecFunction::rtpPayload

unsigned int PluginCodec_GetCodecFunction::sampleRate

Referenced by PluginCodec< NAME >::SetOption().

const char* PluginCodec_GetCodecFunction::sdpFormat

const char* PluginCodec_GetCodecFunction::sourceFormat

Referenced by PluginCodec< NAME >::PluginCodec().

const void* PluginCodec_GetCodecFunction::userData

Referenced by PluginCodec_MediaFormat::AdjustAllForVersion(), PluginCodec< NAME >::GetOptions(), PluginCodec< NAME >::ToCustomised(), PluginCodec< NAME >::ToNormalised(), and PluginCodec< NAME >::ValidForProtocol().

unsigned int PluginCodec_GetCodecFunction::usPerFrame

unsigned int PluginCodec_GetCodecFunction::version

The documentation for this struct was generated from the following file:

- opalplugin.h