Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

switch_codec_implementation Struct Reference

#include <switch_module_interfaces.h>

Collaboration diagram for switch_codec_implementation:

Collaboration graph
[legend]

Detailed Description

A table of settings and callbacks that define a paticular implementation of a codec.


Data Fields

switch_codec_type_t codec_type
switch_payload_t ianacode
char * iananame
char * fmtp
uint32_t samples_per_second
uint32_t actual_samples_per_second
int bits_per_second
int microseconds_per_frame
uint32_t samples_per_frame
uint32_t bytes_per_frame
uint32_t encoded_bytes_per_frame
uint8_t number_of_channels
int pref_frames_per_packet
int max_frames_per_packet
switch_core_codec_init_func_t init
switch_core_codec_encode_func_t encode
switch_core_codec_decode_func_t decode
switch_core_codec_destroy_func_t destroy
uint32_t codec_id
switch_codec_implementationnext


Field Documentation

uint32_t switch_codec_implementation::actual_samples_per_second
 

actual samples transferred per second for those who are not moron g722 RFC writers

int switch_codec_implementation::bits_per_second
 

bits transferred per second

uint32_t switch_codec_implementation::bytes_per_frame
 

number of bytes that denote one frame decompressed

uint32_t switch_codec_implementation::codec_id
 

switch_codec_type_t switch_codec_implementation::codec_type
 

enumeration defining the type of the codec

switch_core_codec_decode_func_t switch_codec_implementation::decode
 

function to decode encoded data into raw data

switch_core_codec_destroy_func_t switch_codec_implementation::destroy
 

deinitalize a codec handle using this implementation

switch_core_codec_encode_func_t switch_codec_implementation::encode
 

function to encode raw data into encoded data

uint32_t switch_codec_implementation::encoded_bytes_per_frame
 

number of bytes that denote one frame compressed

char* switch_codec_implementation::fmtp
 

default fmtp to send (can be overridden by the init function)

switch_payload_t switch_codec_implementation::ianacode
 

the IANA code number

char* switch_codec_implementation::iananame
 

the IANA code name

switch_core_codec_init_func_t switch_codec_implementation::init
 

function to initialize a codec handle using this implementation

int switch_codec_implementation::max_frames_per_packet
 

max number of frames to send in one network packet

int switch_codec_implementation::microseconds_per_frame
 

number of microseconds that denote one frame

struct switch_codec_implementation* switch_codec_implementation::next
 

uint8_t switch_codec_implementation::number_of_channels
 

number of channels represented

int switch_codec_implementation::pref_frames_per_packet
 

number of frames to send in one netowrk packet

uint32_t switch_codec_implementation::samples_per_frame
 

number of samples that denote one frame

uint32_t switch_codec_implementation::samples_per_second
 

samples transferred per second


The documentation for this struct was generated from the following file:
Generated on Fri Oct 10 11:23:46 2008 for FreeSWITCH by  doxygen 1.3.9.1