Home
last modified time | relevance | path

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

/external/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()
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()
Dentropy_coding.c1594 int WebRtcIsacfix_DecodePitchGain(Bitstr_dec *streamdata, int16_t *PitchGains_Q12) in WebRtcIsacfix_DecodePitchGain() argument
1608 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1609 PitchGains_Q12[1] = WebRtcIsacfix_kPitchGain2[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1610 PitchGains_Q12[2] = WebRtcIsacfix_kPitchGain3[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1611 PitchGains_Q12[3] = WebRtcIsacfix_kPitchGain4[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1618 int WebRtcIsacfix_EncodePitchGain(int16_t* PitchGains_Q12, in WebRtcIsacfix_EncodePitchGain() argument
1632 SQ15[k] = (int16_t)(PitchGains_Q12[k] * 33 >> 2); // Q15 in WebRtcIsacfix_EncodePitchGain()
1658 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_EncodePitchGain()
1659 PitchGains_Q12[1] = WebRtcIsacfix_kPitchGain2[index_comb]; in WebRtcIsacfix_EncodePitchGain()
1660 PitchGains_Q12[2] = WebRtcIsacfix_kPitchGain3[index_comb]; in WebRtcIsacfix_EncodePitchGain()
[all …]
Dpitch_estimator.h28 int16_t* PitchGains_Q12);
Dentropy_coding.h73 int WebRtcIsacfix_EncodePitchGain(int16_t* PitchGains_Q12,
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Ddecode.c61 int16_t PitchGains_Q12[4]; in WebRtcIsac_DecodeLb() local
97 PitchGains_Q12); in WebRtcIsac_DecodeLb()
102 err = WebRtcIsac_DecodePitchLag(&ISACdecLB_obj->bitstr_obj, PitchGains_Q12, in WebRtcIsac_DecodeLb()
108 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_DecodeLb()
109 PitchGains_Q12[2] + PitchGains_Q12[3]) >> 2; in WebRtcIsac_DecodeLb()
130 PitchGains[k] = ((float)PitchGains_Q12[k]) / 4096; in WebRtcIsac_DecodeLb()
Dencode.c208 int16_t PitchGains_Q12[4]; in WebRtcIsac_EncodeLb() local
298 PitchGains_Q12[k] = (int16_t)(PitchGains[k] * 4096.0); in WebRtcIsac_EncodeLb()
309 WebRtcIsac_EncodePitchGain(PitchGains_Q12, &ISACencLB_obj->bitstr_obj, in WebRtcIsac_EncodeLb()
311 WebRtcIsac_EncodePitchLag(PitchLags, PitchGains_Q12, in WebRtcIsac_EncodeLb()
315 AvgPitchGain_Q12 = (PitchGains_Q12[0] + PitchGains_Q12[1] + in WebRtcIsac_EncodeLb()
316 PitchGains_Q12[2] + PitchGains_Q12[3]) >> 2; in WebRtcIsac_EncodeLb()
321 PitchGains_Q12, lofilt_coef, hifilt_coef); in WebRtcIsac_EncodeLb()
329 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.h189 void WebRtcIsac_EncodePitchGain(int16_t* PitchGains_Q12,