Home
last modified time | relevance | path

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

/external/webrtc/modules/third_party/g722/
Dg722_decode.c66 int wd3; in block4() local
84 wd3 = (s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128; in block4()
85 wd3 += (wd2 >> 7); in block4()
86 wd3 += (s->band[band].a[2]*32512) >> 15; in block4()
87 if (wd3 > 12288) in block4()
88 wd3 = 12288; in block4()
89 else if (wd3 < -12288) in block4()
90 wd3 = -12288; in block4()
91 s->band[band].ap[2] = wd3; in block4()
100 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
[all …]
Dg722_encode.c64 int wd3; in block4() local
82 wd3 = (wd2 >> 7) + ((s->band[band].sg[0] == s->band[band].sg[2]) ? 128 : -128); in block4()
83 wd3 += (s->band[band].a[2]*32512) >> 15; in block4()
84 if (wd3 > 12288) in block4()
85 wd3 = 12288; in block4()
86 else if (wd3 < -12288) in block4()
87 wd3 = -12288; in block4()
88 s->band[band].ap[2] = wd3; in block4()
97 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
98 if (s->band[band].ap[1] > wd3) in block4()
[all …]