Home
last modified time | relevance | path

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

/system/bt/embdrv/g722/
Dg722_decode.cc82 int ap1, ap2; in block4() local
104 ap2 = (sg[0] == sg[2]) ? 128 : -128; in block4()
105 ap2 += (wd2 >> 7); in block4()
106 ap2 += (band->a[2]*32512) >> 15; in block4()
107 if (ap2 > 12288) in block4()
108 ap2 = 12288; in block4()
109 else if (ap2 < -12288) in block4()
110 ap2 = -12288; in block4()
111 band->ap[2] = ap2; in block4()
Dg722_encode.cc79 int ap1, ap2; in block4() local
99 ap2 = (wd2 >> 7) + ((sg[0] == sg[2]) ? 128 : -128); in block4()
100 ap2 += (band->a[2]*32512) >> 15; in block4()
101 if (ap2 > 12288) in block4()
102 ap2 = 12288; in block4()
103 else if (ap2 < -12288) in block4()
104 ap2 = -12288; in block4()
105 band->ap[2] = ap2; in block4()