Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Dg722_decode.c71 int wd3; in block4() local
89 wd3 = (s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128; in block4()
90 wd3 += (wd2 >> 7); in block4()
91 wd3 += (s->band[band].a[2]*32512) >> 15; in block4()
92 if (wd3 > 12288) in block4()
93 wd3 = 12288; in block4()
94 else if (wd3 < -12288) in block4()
95 wd3 = -12288; in block4()
96 s->band[band].ap[2] = wd3; in block4()
105 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
[all …]
Dg722_encode.c69 int wd3; in block4() local
87 wd3 = (wd2 >> 7) + ((s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128); in block4()
88 wd3 += (s->band[band].a[2]*32512) >> 15; in block4()
89 if (wd3 > 12288) in block4()
90 wd3 = 12288; in block4()
91 else if (wd3 < -12288) in block4()
92 wd3 = -12288; in block4()
93 s->band[band].ap[2] = wd3; in block4()
102 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
103 if (s->band[band].ap[1] > wd3) in block4()
[all …]