Home
last modified time | relevance | path

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

/external/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.c403 int16_t AvgPitchGain_Q12) in GenerateDitherQ7() argument
408 if (AvgPitchGain_Q12 < 614) /* this threshold should be equal to that in decode_spec() */ in GenerateDitherQ7()
447 dither_gain_Q14 = (int16_t)(22528 - WEBRTC_SPL_MUL(10, AvgPitchGain_Q12)); in GenerateDitherQ7()
477 int16_t AvgPitchGain_Q12) in WebRtcIsacfix_DecodeSpec() argument
489 …GenerateDitherQ7(data, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); /* Dither is output i… in WebRtcIsacfix_DecodeSpec()
512 if (AvgPitchGain_Q12 <= 614) in WebRtcIsacfix_DecodeSpec()
544 int16_t AvgPitchGain_Q12) in WebRtcIsacfix_EncodeSpec() argument
563 GenerateDitherQ7(dataQ7, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeSpec()
Dinitialize.c158 State->AvgPitchGain_Q12 = 0; in WebRtcIsacfix_InitPlc()
Dstructs.h144 int16_t AvgPitchGain_Q12; member
Ddecode_plc.c767 tmp32a = ISACdec_obj->plcstr_obj.AvgPitchGain_Q12 * 29; // Q18 in WebRtcIsacfix_DecodePlcImpl()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Ddecode.c62 int16_t AvgPitchGain_Q12; in WebRtcIsac_DecodeLb() local
108 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_DecodeLb()
118 len = WebRtcIsac_DecodeSpec(&ISACdecLB_obj->bitstr_obj, AvgPitchGain_Q12, in WebRtcIsac_DecodeLb()
143 AvgPitchGain = ((float)AvgPitchGain_Q12) / 4096; in WebRtcIsac_DecodeLb()
Dentropy_coding.h50 int16_t AvgPitchGain_Q12,
80 int16_t AvgPitchGain_Q12,
Dencode.c209 int16_t AvgPitchGain_Q12; in WebRtcIsac_EncodeLb() local
315 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_EncodeLb()
397 AvgPitchGain_Q12; in WebRtcIsac_EncodeLb()
400 err = WebRtcIsac_EncodeSpec(fre, fim, AvgPitchGain_Q12, kIsacLowerBand, in WebRtcIsac_EncodeLb()
494 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()