Home
last modified time | relevance | path

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

/external/libopus/celt/
Dbands.c696 int itheta; member
706 int itheta=0; in compute_theta() local
740 itheta = stereo_itheta(X, Y, stereo, N, ctx->arch); in compute_theta()
749 itheta = (itheta*(opus_int32)qn+8192)>>14; in compute_theta()
750 if (!stereo && ctx->avoid_split_noise && itheta > 0 && itheta < qn) in compute_theta()
755 int unquantized = celt_udiv((opus_int32)itheta*16384, qn); in compute_theta()
760 itheta = qn; in compute_theta()
762 itheta = 0; in compute_theta()
767 int bias = itheta > 8192 ? 32767/qn : -32767/qn; in compute_theta()
768 down = IMIN(qn-1, IMAX(0, (itheta*(opus_int32)qn + bias)>>14)); in compute_theta()
[all …]
Dvq.c413 int itheta; in stereo_itheta() local
436 itheta = MULT16_16_Q15(QCONST16(0.63662f,15),celt_atan2p(side, mid)); in stereo_itheta()
438 itheta = (int)floor(.5f+16384*0.63662f*fast_atan2f(side,mid)); in stereo_itheta()
441 return itheta; in stereo_itheta()