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_nb_api.h File Reference

Data Structures

struct  __Speech_Decode_FrameState
 

Macros

#define EHF_MASK   0x0008 /* encoder homing frame pattern */
 
#define L_FRAME   160 /* Frame size */
 

Enumerations

enum  Mode {
  MR475 = 0, MR515, MR59, MR67,
  MR74, MR795, MR102, MR122,
  MRDTX, N_MODES
}
 
enum  RXFrameType {
  RX_SPEECH_GOOD = 0, RX_SPEECH_DEGRADED, RX_ONSET, RX_SPEECH_BAD,
  RX_SID_FIRST, RX_SID_UPDATE, RX_SID_BAD, RX_NO_DATA,
  RX_N_FRAMETYPES
}
 

Functions

int Speech_Decode_Frame_init (__Speech_Decode_FrameState **st, char *id)
 
void Speech_Decode_Frame_exit (__Speech_Decode_FrameState **st)
 
void Speech_Decode_Frame (__Speech_Decode_FrameState *st, enum Mode mode, short *serial, enum RXFrameType frame_type, short *synth)
 
int Speech_Decode_Frame_reset (__Speech_Decode_FrameState **st)
 
s16 decoder_homing_frame_test_first (s16 input_frame[], enum Mode mode)
 
s16 decoder_homing_frame_test (s16 input_frame[], enum Mode mode)
 

Data Structure Documentation

struct __Speech_Decode_FrameState
+ Collaboration diagram for __Speech_Decode_FrameState:
Data Fields
void * decoder_amrState
void * post_state
void * postHP_state
enum Mode prev_mode
int complexityCounter

Macro Definition Documentation

#define EHF_MASK   0x0008 /* encoder homing frame pattern */
#define L_FRAME   160 /* Frame size */

Enumeration Type Documentation

enum Mode
Enumerator
MR475 
MR515 
MR59 
MR67 
MR74 
MR795 
MR102 
MR122 
MRDTX 
N_MODES 
Enumerator
RX_SPEECH_GOOD 
RX_SPEECH_DEGRADED 
RX_ONSET 
RX_SPEECH_BAD 
RX_SID_FIRST 
RX_SID_UPDATE 
RX_SID_BAD 
RX_NO_DATA 
RX_N_FRAMETYPES 

Function Documentation

int Speech_Decode_Frame_init ( __Speech_Decode_FrameState **  st,
char *  id 
)

+ Here is the caller graph for this function:

void Speech_Decode_Frame_exit ( __Speech_Decode_FrameState **  st)

+ Here is the caller graph for this function:

void Speech_Decode_Frame ( __Speech_Decode_FrameState st,
enum Mode  mode,
short *  serial,
enum RXFrameType  frame_type,
short *  synth 
)

+ Here is the caller graph for this function:

int Speech_Decode_Frame_reset ( __Speech_Decode_FrameState **  st)

+ Here is the caller graph for this function:

s16 decoder_homing_frame_test_first ( s16  input_frame[],
enum Mode  mode 
)

+ Here is the caller graph for this function:

s16 decoder_homing_frame_test ( s16  input_frame[],
enum Mode  mode 
)

+ Here is the caller graph for this function: