Lines Matching defs:state

137     state = pointer to an array of pointers to structures of type
145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
151 to by state is set to the input no_hp_post_MR122
166 This function allocates memory for filter structure and initializes state
185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state,
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state "
217 *state = s;
263 /* fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state "
299 state = pointer to structures of type Speech_Decode_FrameState
316 This function resets the state memory used by the GSM AMR decoder.
331 int Speech_Decode_Frame_reset (Speech_Decode_FrameState *state)
333 if (state == (Speech_Decode_FrameState *) NULL){
338 Decoder_amr_reset(state->decoder_amrState, (enum Mode)0);
339 Post_Filter_reset(state->post_state);
340 Post_Process_reset(state->postHP_state);
342 state->prev_mode = (enum Mode)0;
344 setCounter(state->complexityCounter);
376 Speech_Decode_FrameState *state =
386 Decoder_amr_reset(&(state->decoder_amrState), MR475);
387 Post_Filter_reset(&(state->post_state));
388 Post_Process_reset(&(state->postHP_state));
390 state->prev_mode = MR475;
404 state = pointer to an array of pointers to structures of type
408 state contents is set to NULL
422 This function frees up the memory used for the state memory of the GSM AMR
441 void Speech_Decode_Frame_exit (Speech_Decode_FrameState **state)
443 if (state == NULL || *state == NULL)
446 Decoder_amr_exit(&(*state)->decoder_amrState);
447 Post_Filter_exit(&(*state)->post_state);
448 Post_Process_exit(&(*state)->postHP_state);
450 setCounter((*state)->complexityCounter);
455 free(*state);
456 *state = NULL;
487 Speech_Decode_FrameState **state =
490 if (state == NULL || *state == NULL)
496 free(*state);
497 *state = NULL;