GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
amr_dec.c File Reference
#include <gpac/modules/codec.h>
#include <gpac/modules/service.h>
#include <gpac/constants.h>
#include "amr_nb/sp_dec.h"
#include "amr_nb/d_homing.h"
+ Include dependency graph for amr_dec.c:

Data Structures

struct  AMRDec
 

Macros

#define DEFAULT_AUDIO_CM_SIZE   12
 
#define DEFAULT_AUDIO_CM_TRIGGER   4
 
#define AMRCTX()   AMRDec *ctx = (AMRDec *) ifcg->privateStack
 
#define SERIAL_FRAMESIZE   (270)
 

Functions

static GF_Err AMR_AttachStream (GF_BaseDecoder *ifcg, GF_ESD *esd)
 
static GF_Err AMR_DetachStream (GF_BaseDecoder *ifcg, u16 ES_ID)
 
static GF_Err AMR_GetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability *capability)
 
static GF_Err AMR_SetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability capability)
 
static GF_Err AMR_ProcessData (GF_MediaDecoder *ifcg, char *inBuffer, u32 inBufferLength, u16 ES_ID, char *outBuffer, u32 *outBufferLength, u8 PaddingBits, u32 mmlevel)
 
static u32 AMR_CanHandleStream (GF_BaseDecoder *dec, u32 StreamType, GF_ESD *esd, u8 PL)
 
static const char * AMR_GetCodecName (GF_BaseDecoder *dec)
 
GF_MediaDecoderNewAMRDecoder ()
 
void DeleteAMRDecoder (GF_BaseDecoder *ifcg)
 
const u32QueryInterfaces ()
 
GF_InputServiceNewAESReader ()
 
void DeleteAESReader (void *ifce)
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Data Structure Documentation

struct AMRDec
+ Collaboration diagram for AMRDec:
Data Fields
u32 out_size
__Speech_Decode_FrameState * speech_decoder_state
enum RXFrameType rx_type
enum Mode mode
s16 reset_flag
s16 reset_flag_old

Macro Definition Documentation

#define DEFAULT_AUDIO_CM_SIZE   12
#define DEFAULT_AUDIO_CM_TRIGGER   4
#define AMRCTX ( )    AMRDec *ctx = (AMRDec *) ifcg->privateStack
#define SERIAL_FRAMESIZE   (270)

Function Documentation

static GF_Err AMR_AttachStream ( GF_BaseDecoder ifcg,
GF_ESD esd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err AMR_DetachStream ( GF_BaseDecoder ifcg,
u16  ES_ID 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err AMR_GetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability capability 
)
static

+ Here is the caller graph for this function:

static GF_Err AMR_SetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability  capability 
)
static

+ Here is the caller graph for this function:

static GF_Err AMR_ProcessData ( GF_MediaDecoder ifcg,
char *  inBuffer,
u32  inBufferLength,
u16  ES_ID,
char *  outBuffer,
u32 outBufferLength,
u8  PaddingBits,
u32  mmlevel 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 AMR_CanHandleStream ( GF_BaseDecoder dec,
u32  StreamType,
GF_ESD esd,
u8  PL 
)
static

+ Here is the caller graph for this function:

static const char* AMR_GetCodecName ( GF_BaseDecoder dec)
static

+ Here is the caller graph for this function:

GF_MediaDecoder* NewAMRDecoder ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteAMRDecoder ( GF_BaseDecoder ifcg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_InputService* NewAESReader ( )

+ Here is the caller graph for this function:

void DeleteAESReader ( void *  ifce)

+ Here is the caller graph for this function:

GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function: