Home
last modified time | relevance | path

Searched refs:PitchGains_Q12 (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode.c53 int16_t PitchGains_Q12[PITCH_SUBFRAMES]; in WebRtcIsacfix_DecodeImpl() local
90 err = WebRtcIsacfix_DecodePitchGain(&(ISACdec_obj->bitstr_obj), PitchGains_Q12); in WebRtcIsacfix_DecodeImpl()
94 err = WebRtcIsacfix_DecodePitchLag(&ISACdec_obj->bitstr_obj, PitchGains_Q12, PitchLags_Q7); in WebRtcIsacfix_DecodeImpl()
98 …AvgPitchGain_Q12 = (int16_t)(((int32_t)PitchGains_Q12[0] + PitchGains_Q12[1] + PitchGains_Q12[2] +… in WebRtcIsacfix_DecodeImpl()
133 PitchGains_Q12[0] = (int16_t)(PitchGains_Q12[0] * 700 >> 10); in WebRtcIsacfix_DecodeImpl()
157 (ISACdec_obj->plcstr_obj).AvgPitchGain_Q12 = PitchGains_Q12[3]; in WebRtcIsacfix_DecodeImpl()
158 (ISACdec_obj->plcstr_obj).lastPitchGain_Q12 = PitchGains_Q12[3]; in WebRtcIsacfix_DecodeImpl()
170 …Vector_Word16_1, Vector_Word16_2, &ISACdec_obj->pitchfiltstr_obj, PitchLags_Q7, PitchGains_Q12, 4); in WebRtcIsacfix_DecodeImpl()
Dencode.c53 int16_t PitchGains_Q12[PITCH_SUBFRAMES]; in WebRtcIsacfix_EncodeImpl() local
161 …&ISACenc_obj->pitchanalysisstr_obj, PitchLags_Q7, PitchGains_Q12); /* LPandHP = LP_lookahead_pfQ0… in WebRtcIsacfix_EncodeImpl()
176 …status = WebRtcIsacfix_EncodePitchGain(PitchGains_Q12, &ISACenc_obj->bitstr_obj, ISACenc_obj->Sav… in WebRtcIsacfix_EncodeImpl()
187 …status = WebRtcIsacfix_EncodePitchLag(PitchLags_Q7 , PitchGains_Q12, &ISACenc_obj->bitstr_obj, IS… in WebRtcIsacfix_EncodeImpl()
198 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsacfix_EncodeImpl()
199 PitchGains_Q12[2] + PitchGains_Q12[3]) >> 2; in WebRtcIsacfix_EncodeImpl()
203 ISACenc_obj->s2nr, PitchGains_Q12, in WebRtcIsacfix_EncodeImpl()
232 …Filter(LPandHP, LP16a, &ISACenc_obj->pitchfiltstr_obj, PitchLags_Q7, PitchGains_Q12, 1);/* LPandHP… in WebRtcIsacfix_EncodeImpl()
Dentropy_coding.c1572 int WebRtcIsacfix_DecodePitchGain(Bitstr_dec *streamdata, int16_t *PitchGains_Q12) in WebRtcIsacfix_DecodePitchGain() argument
1586 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1587 PitchGains_Q12[1] = WebRtcIsacfix_kPitchGain2[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1588 PitchGains_Q12[2] = WebRtcIsacfix_kPitchGain3[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1589 PitchGains_Q12[3] = WebRtcIsacfix_kPitchGain4[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1596 int WebRtcIsacfix_EncodePitchGain(int16_t* PitchGains_Q12, in WebRtcIsacfix_EncodePitchGain() argument
1610 SQ15[k] = (int16_t)(PitchGains_Q12[k] * 33 >> 2); // Q15 in WebRtcIsacfix_EncodePitchGain()
1636 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_EncodePitchGain()
1637 PitchGains_Q12[1] = WebRtcIsacfix_kPitchGain2[index_comb]; in WebRtcIsacfix_EncodePitchGain()
1638 PitchGains_Q12[2] = WebRtcIsacfix_kPitchGain3[index_comb]; in WebRtcIsacfix_EncodePitchGain()
[all …]
Dpitch_estimator.c407 int16_t *PitchGains_Q12) in WebRtcIsacfix_PitchAnalysis() argument
417 WebRtcIsacfix_PitchFilterGains(inn, &(State->PFstr_wght), PitchLags_Q7, PitchGains_Q12); in WebRtcIsacfix_PitchAnalysis()
428 WebRtcIsacfix_PitchFilter(inbufQ0, outQ0, &(State->PFstr), PitchLags_Q7,PitchGains_Q12, 2); in WebRtcIsacfix_PitchAnalysis()
Dpitch_estimator.h27 int16_t *PitchGains_Q12);
Dentropy_coding.h78 int WebRtcIsacfix_EncodePitchGain(int16_t *PitchGains_Q12,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Ddecode.c62 int16_t PitchGains_Q12[4]; in WebRtcIsac_DecodeLb() local
98 PitchGains_Q12); in WebRtcIsac_DecodeLb()
103 err = WebRtcIsac_DecodePitchLag(&ISACdecLB_obj->bitstr_obj, PitchGains_Q12, in WebRtcIsac_DecodeLb()
109 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_DecodeLb()
110 PitchGains_Q12[2] + PitchGains_Q12[3]) >> 2; in WebRtcIsac_DecodeLb()
131 PitchGains[k] = ((float)PitchGains_Q12[k]) / 4096; in WebRtcIsac_DecodeLb()
Dencode.c206 int16_t PitchGains_Q12[4]; in WebRtcIsac_EncodeLb() local
296 PitchGains_Q12[k] = (int16_t)(PitchGains[k] * 4096.0); in WebRtcIsac_EncodeLb()
307 WebRtcIsac_EncodePitchGain(PitchGains_Q12, &ISACencLB_obj->bitstr_obj, in WebRtcIsac_EncodeLb()
309 WebRtcIsac_EncodePitchLag(PitchLags, PitchGains_Q12, in WebRtcIsac_EncodeLb()
313 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_EncodeLb()
314 PitchGains_Q12[2] + PitchGains_Q12[3]) >> 2; in WebRtcIsac_EncodeLb()
319 PitchGains_Q12, lofilt_coef, hifilt_coef); in WebRtcIsac_EncodeLb()
327 PitchGains[k] = ((float)PitchGains_Q12[k]) / 4096; in WebRtcIsac_EncodeLb()
Dentropy_coding.c1511 int16_t* PitchGains_Q12) { in WebRtcIsac_DecodePitchGain() argument
1525 PitchGains_Q12[0] = WebRtcIsac_kQMeanGain1Q12[index_comb]; in WebRtcIsac_DecodePitchGain()
1526 PitchGains_Q12[1] = WebRtcIsac_kQMeanGain2Q12[index_comb]; in WebRtcIsac_DecodePitchGain()
1527 PitchGains_Q12[2] = WebRtcIsac_kQMeanGain3Q12[index_comb]; in WebRtcIsac_DecodePitchGain()
1528 PitchGains_Q12[3] = WebRtcIsac_kQMeanGain4Q12[index_comb]; in WebRtcIsac_DecodePitchGain()
1534 void WebRtcIsac_EncodePitchGain(int16_t* PitchGains_Q12, in WebRtcIsac_EncodePitchGain() argument
1547 PitchGains[k] = ((float)PitchGains_Q12[k]) / 4096; in WebRtcIsac_EncodePitchGain()
1576 PitchGains_Q12[0] = WebRtcIsac_kQMeanGain1Q12[index_comb]; in WebRtcIsac_EncodePitchGain()
1577 PitchGains_Q12[1] = WebRtcIsac_kQMeanGain2Q12[index_comb]; in WebRtcIsac_EncodePitchGain()
1578 PitchGains_Q12[2] = WebRtcIsac_kQMeanGain3Q12[index_comb]; in WebRtcIsac_EncodePitchGain()
[all …]
Dentropy_coding.h178 void WebRtcIsac_EncodePitchGain(int16_t* PitchGains_Q12,