Searched refs:cng_inst (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | webrtc_cng.h | 49 int16_t WebRtcCng_CreateEnc(CNG_enc_inst** cng_inst); 50 int16_t WebRtcCng_CreateDec(CNG_dec_inst** cng_inst); 71 int WebRtcCng_InitEnc(CNG_enc_inst* cng_inst, int fs, int16_t interval, 73 void WebRtcCng_InitDec(CNG_dec_inst* cng_inst); 86 int16_t WebRtcCng_FreeEnc(CNG_enc_inst* cng_inst); 87 int16_t WebRtcCng_FreeDec(CNG_dec_inst* cng_inst); 106 int WebRtcCng_Encode(CNG_enc_inst* cng_inst, int16_t* speech, 123 int16_t WebRtcCng_UpdateSid(CNG_dec_inst* cng_inst, uint8_t* SID, 140 int16_t WebRtcCng_Generate(CNG_dec_inst* cng_inst, int16_t* outData, 156 int16_t WebRtcCng_GetErrorCodeEnc(CNG_enc_inst* cng_inst); [all …]
|
D | webrtc_cng.c | 85 int16_t WebRtcCng_CreateEnc(CNG_enc_inst** cng_inst) { in WebRtcCng_CreateEnc() argument 86 if (cng_inst != NULL) { in WebRtcCng_CreateEnc() 87 *cng_inst = (CNG_enc_inst*) malloc(sizeof(WebRtcCngEncoder)); in WebRtcCng_CreateEnc() 88 if (*cng_inst != NULL) { in WebRtcCng_CreateEnc() 89 (*(WebRtcCngEncoder**) cng_inst)->errorcode = 0; in WebRtcCng_CreateEnc() 90 (*(WebRtcCngEncoder**) cng_inst)->initflag = 0; in WebRtcCng_CreateEnc() 106 int16_t WebRtcCng_CreateDec(CNG_dec_inst** cng_inst) { in WebRtcCng_CreateDec() argument 107 if (cng_inst != NULL ) { in WebRtcCng_CreateDec() 108 *cng_inst = (CNG_dec_inst*) malloc(sizeof(WebRtcCngDecoder)); in WebRtcCng_CreateDec() 109 if (*cng_inst != NULL ) { in WebRtcCng_CreateDec() [all …]
|
D | audio_encoder_cng.cc | 26 rtc::scoped_ptr<CNG_enc_inst, CngInstDeleter> cng_inst; in CreateCngInst() local 27 RTC_CHECK_EQ(0, WebRtcCng_CreateEnc(cng_inst.accept())); in CreateCngInst() 29 WebRtcCng_InitEnc(cng_inst.get(), sample_rate_hz, in CreateCngInst() 31 return cng_inst; in CreateCngInst()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | comfort_noise.cc | 40 CNG_dec_inst* cng_inst = cng_decoder->CngDecoderInstance(); in UpdateParameters() local 41 int16_t ret = WebRtcCng_UpdateSid(cng_inst, in UpdateParameters() 47 internal_error_code_ = WebRtcCng_GetErrorCodeDec(cng_inst); in UpdateParameters() 79 CNG_dec_inst* cng_inst = cng_decoder->CngDecoderInstance(); in Generate() local 82 if (WebRtcCng_Generate(cng_inst, &(*output)[0][0], number_of_samples, in Generate() 86 internal_error_code_ = WebRtcCng_GetErrorCodeDec(cng_inst); in Generate()
|