HomeSort by relevance Sort by last modified time
    Searched refs:cng_inst (Results 1 - 4 of 4) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/codecs/cng/
webrtc_cng.h 49 int16_t WebRtcCng_CreateEnc(CNG_enc_inst** cng_inst);
50 int16_t WebRtcCng_CreateDec(CNG_dec_inst** cng_inst);
58 * - cng_inst : Instance that should be initialized
65 * - cng_inst : Initialized instance
71 int WebRtcCng_InitEnc(CNG_enc_inst* cng_inst, int fs, int16_t interval,
73 void WebRtcCng_InitDec(CNG_dec_inst* cng_inst);
81 * - cng_inst : Pointer to created instance that should be freed
86 int16_t WebRtcCng_FreeEnc(CNG_enc_inst* cng_inst);
87 int16_t WebRtcCng_FreeDec(CNG_dec_inst* cng_inst);
95 * - cng_inst : Pointer to created instanc
    [all...]
webrtc_cng.c 85 int16_t WebRtcCng_CreateEnc(CNG_enc_inst** cng_inst) {
86 if (cng_inst != NULL) {
87 *cng_inst = (CNG_enc_inst*) malloc(sizeof(WebRtcCngEncoder));
88 if (*cng_inst != NULL) {
89 (*(WebRtcCngEncoder**) cng_inst)->errorcode = 0;
90 (*(WebRtcCngEncoder**) cng_inst)->initflag = 0;
106 int16_t WebRtcCng_CreateDec(CNG_dec_inst** cng_inst) {
107 if (cng_inst != NULL ) {
108 *cng_inst = (CNG_dec_inst*) malloc(sizeof(WebRtcCngDecoder));
109 if (*cng_inst != NULL )
    [all...]
audio_encoder_cng.cc 26 rtc::scoped_ptr<CNG_enc_inst, CngInstDeleter> cng_inst; local
27 RTC_CHECK_EQ(0, WebRtcCng_CreateEnc(cng_inst.accept()));
29 WebRtcCng_InitEnc(cng_inst.get(), sample_rate_hz,
31 return cng_inst;
  /external/webrtc/webrtc/modules/audio_coding/neteq/
comfort_noise.cc 40 CNG_dec_inst* cng_inst = cng_decoder->CngDecoderInstance(); local
41 int16_t ret = WebRtcCng_UpdateSid(cng_inst,
47 internal_error_code_ = WebRtcCng_GetErrorCodeDec(cng_inst);
79 CNG_dec_inst* cng_inst = cng_decoder->CngDecoderInstance(); local
82 if (WebRtcCng_Generate(cng_inst, &(*output)[0][0], number_of_samples,
86 internal_error_code_ = WebRtcCng_GetErrorCodeDec(cng_inst);

Completed in 1015 milliseconds