Home
last modified time | relevance | path

Searched refs:ISACenc_obj (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dencode.c32 ISACFIX_EncInst_t *ISACenc_obj, in WebRtcIsacfix_EncodeImpl() argument
67 if (ISACenc_obj->buffer_index == 0) { in WebRtcIsacfix_EncodeImpl()
69 ISACenc_obj->current_framesamples = ISACenc_obj->new_framelength; in WebRtcIsacfix_EncodeImpl()
72 frame_mode = ISACenc_obj->current_framesamples/MAX_FRAMESAMPLES; /* 0 (30 ms) or 1 (60 ms) */ in WebRtcIsacfix_EncodeImpl()
73 processed_samples = ISACenc_obj->current_framesamples/(frame_mode+1); /* 480 (30, 60 ms) */ in WebRtcIsacfix_EncodeImpl()
79 ISACenc_obj->data_buffer_fix[k + ISACenc_obj->buffer_index] = in[k]; in WebRtcIsacfix_EncodeImpl()
83 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) { in WebRtcIsacfix_EncodeImpl()
84 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms; in WebRtcIsacfix_EncodeImpl()
88 ISACenc_obj->buffer_index = 0; in WebRtcIsacfix_EncodeImpl()
96 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0 ) in WebRtcIsacfix_EncodeImpl()
[all …]
Disacfix.c57 (*(ISACFIX_SubStruct**)inst)->ISACenc_obj.SaveEnc_ptr = NULL; in WebRtcIsacfix_Assign()
88 (*(ISACFIX_SubStruct**)ISAC_main_inst)->ISACenc_obj.SaveEnc_ptr = NULL; in WebRtcIsacfix_Create()
116 ISAC_inst->ISACenc_obj.SaveEnc_ptr = malloc(1 * sizeof(ISAC_SaveEncData_t)); in WebRtcIsacfix_CreateInternal()
118 if (ISAC_inst->ISACenc_obj.SaveEnc_ptr!=NULL) { in WebRtcIsacfix_CreateInternal()
168 free(ISAC_inst->ISACenc_obj.SaveEnc_ptr); in WebRtcIsacfix_FreeInternal()
222 ISAC_inst->ISACenc_obj.new_framelength = INITIAL_FRAMESAMPLES; in WebRtcIsacfix_EncoderInit()
225 ISAC_inst->ISACenc_obj.new_framelength = 480; /* default for I-mode */ in WebRtcIsacfix_EncoderInit()
233 WebRtcIsacfix_InitMaskingEnc(&ISAC_inst->ISACenc_obj.maskfiltstr_obj); in WebRtcIsacfix_EncoderInit()
234 WebRtcIsacfix_InitPreFilterbank(&ISAC_inst->ISACenc_obj.prefiltbankstr_obj); in WebRtcIsacfix_EncoderInit()
235 WebRtcIsacfix_InitPitchFilter(&ISAC_inst->ISACenc_obj.pitchfiltstr_obj); in WebRtcIsacfix_EncoderInit()
[all …]
Dcodec.h41 ISACFIX_EncInst_t *ISACenc_obj,
45 int WebRtcIsacfix_EncodeStoredData(ISACFIX_EncInst_t *ISACenc_obj,
Dstructs.h357 ISACFIX_EncInst_t ISACenc_obj; member
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dcodec.h134 int WebRtcIsac_EncodeUb16(float* in, ISACUBEncStruct* ISACenc_obj,
153 int WebRtcIsac_EncodeUb12(float* in, ISACUBEncStruct* ISACenc_obj,