Home
last modified time | relevance | path

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

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