Home
last modified time | relevance | path

Searched refs:AvgPitchGain_Q12 (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode.c54 int16_t AvgPitchGain_Q12; in WebRtcIsacfix_DecodeImpl() local
98AvgPitchGain_Q12 = (int16_t)(((int32_t)PitchGains_Q12[0] + PitchGains_Q12[1] + PitchGains_Q12[2] +… in WebRtcIsacfix_DecodeImpl()
108 …tcIsacfix_DecodeSpec(&ISACdec_obj->bitstr_obj, Vector_Word16_1, Vector_Word16_2, AvgPitchGain_Q12); in WebRtcIsacfix_DecodeImpl()
157 (ISACdec_obj->plcstr_obj).AvgPitchGain_Q12 = PitchGains_Q12[3]; in WebRtcIsacfix_DecodeImpl()
180 tmp32a = AvgPitchGain_Q12 * 29; // Q18 in WebRtcIsacfix_DecodeImpl()
Dencode.c54 int16_t AvgPitchGain_Q12; in WebRtcIsacfix_EncodeImpl() local
198 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsacfix_EncodeImpl()
247 … (ISACenc_obj->SaveEnc_ptr)->AvgPitchGain[(ISACenc_obj->SaveEnc_ptr)->startIdx] = AvgPitchGain_Q12; in WebRtcIsacfix_EncodeImpl()
251 status = WebRtcIsacfix_EncodeSpec(LP16a, LPandHP, &ISACenc_obj->bitstr_obj, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeImpl()
389 status = WebRtcIsacfix_EncodeSpec(LP16a, LPandHP, &ISACenc_obj->bitstr_obj, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeImpl()
Dentropy_coding.h28 int16_t AvgPitchGain_Q12);
34 int16_t AvgPitchGain_Q12);
Dentropy_coding.c382 int16_t AvgPitchGain_Q12) in GenerateDitherQ7() argument
387 if (AvgPitchGain_Q12 < 614) /* this threshold should be equal to that in decode_spec() */ in GenerateDitherQ7()
426 dither_gain_Q14 = (int16_t)(22528 - WEBRTC_SPL_MUL(10, AvgPitchGain_Q12)); in GenerateDitherQ7()
456 int16_t AvgPitchGain_Q12) in WebRtcIsacfix_DecodeSpec() argument
468 …GenerateDitherQ7(data, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); /* Dither is output i… in WebRtcIsacfix_DecodeSpec()
491 if (AvgPitchGain_Q12 <= 614) in WebRtcIsacfix_DecodeSpec()
523 int16_t AvgPitchGain_Q12) in WebRtcIsacfix_EncodeSpec() argument
542 GenerateDitherQ7(dataQ7, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeSpec()
Dinitialize.c158 State->AvgPitchGain_Q12 = 0; in WebRtcIsacfix_InitPlc()
Dstructs.h171 int16_t AvgPitchGain_Q12; member
Ddecode_plc.c767 tmp32a = ISACdec_obj->plcstr_obj.AvgPitchGain_Q12 * 29; // Q18 in WebRtcIsacfix_DecodePlcImpl()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Ddecode.c63 int16_t AvgPitchGain_Q12; in WebRtcIsac_DecodeLb() local
109 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_DecodeLb()
119 len = WebRtcIsac_DecodeSpec(&ISACdecLB_obj->bitstr_obj, AvgPitchGain_Q12, in WebRtcIsac_DecodeLb()
144 AvgPitchGain = ((float)AvgPitchGain_Q12) / 4096; in WebRtcIsac_DecodeLb()
Dentropy_coding.h49 int WebRtcIsac_DecodeSpec(Bitstr* streamdata, int16_t AvgPitchGain_Q12,
76 int16_t AvgPitchGain_Q12, enum ISACBand band,
Dencode.c207 int16_t AvgPitchGain_Q12; in WebRtcIsac_EncodeLb() local
313 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_EncodeLb()
395 AvgPitchGain_Q12; in WebRtcIsac_EncodeLb()
398 err = WebRtcIsac_EncodeSpec(fre, fim, AvgPitchGain_Q12, kIsacLowerBand, in WebRtcIsac_EncodeLb()
492 err = WebRtcIsac_EncodeSpec(fre, fim, AvgPitchGain_Q12, kIsacLowerBand, in WebRtcIsac_EncodeLb()
Dentropy_coding.c173 int length, int16_t AvgPitchGain_Q12) { in GenerateDitherQ7Lb() argument
178 if (AvgPitchGain_Q12 < 614) { in GenerateDitherQ7Lb()
209 dither_gain_Q14 = (int16_t)(22528 - 10 * AvgPitchGain_Q12); in GenerateDitherQ7Lb()
268 int WebRtcIsac_DecodeSpec(Bitstr* streamdata, int16_t AvgPitchGain_Q12, in WebRtcIsac_DecodeSpec() argument
286 AvgPitchGain_Q12); in WebRtcIsac_DecodeSpec()
339 if (AvgPitchGain_Q12 <= 614) { in WebRtcIsac_DecodeSpec()
390 int16_t AvgPitchGain_Q12, enum ISACBand band, in WebRtcIsac_EncodeSpec() argument
417 AvgPitchGain_Q12); in WebRtcIsac_EncodeSpec()