Home
last modified time | relevance | path

Searched refs:index_comb (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c1512 int index_comb, err; in WebRtcIsac_DecodePitchGain() local
1517 err = WebRtcIsac_DecHistBisectMulti(&index_comb, streamdata, in WebRtcIsac_DecodePitchGain()
1521 if ((err < 0) || (index_comb < 0) || (index_comb > 144)) { in WebRtcIsac_DecodePitchGain()
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()
1541 int index_comb; in WebRtcIsac_EncodePitchGain() local
1572 index_comb = WebRtcIsac_kIndexMultsGain[0] * index[0] + in WebRtcIsac_EncodePitchGain()
1576 PitchGains_Q12[0] = WebRtcIsac_kQMeanGain1Q12[index_comb]; in WebRtcIsac_EncodePitchGain()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c1585 WebRtc_Word16 index_comb; in WebRtcIsacfix_DecodePitchGain() local
1590 …err = WebRtcIsacfix_DecHistBisectMulti(&index_comb, streamdata, pitch_gain_cdf_ptr, WebRtcIsacfix_… in WebRtcIsacfix_DecodePitchGain()
1592 if ((err<0) || (index_comb<0) || (index_comb>144)) in WebRtcIsacfix_DecodePitchGain()
1596 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1597 PitchGains_Q12[1] = WebRtcIsacfix_kPitchGain2[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1598 PitchGains_Q12[2] = WebRtcIsacfix_kPitchGain3[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1599 PitchGains_Q12[3] = WebRtcIsacfix_kPitchGain4[index_comb]; in WebRtcIsacfix_DecodePitchGain()
1611 WebRtc_Word16 index_comb; in WebRtcIsacfix_EncodePitchGain() local
1640 index_comb = (WebRtc_Word16)(WEBRTC_SPL_MUL(WebRtcIsacfix_kMultsGain[0], index[0]) + in WebRtcIsacfix_EncodePitchGain()
1645 PitchGains_Q12[0] = WebRtcIsacfix_kPitchGain1[index_comb]; in WebRtcIsacfix_EncodePitchGain()
[all …]