Lines Matching refs:itheta
657 int itheta; member
667 int itheta=0; in compute_theta() local
701 itheta = stereo_itheta(X, Y, stereo, N); in compute_theta()
707 itheta = (itheta*qn+8192)>>14; in compute_theta()
714 int x = itheta; in compute_theta()
729 itheta = x; in compute_theta()
734 ec_enc_uint(ec, itheta, qn+1); in compute_theta()
736 itheta = ec_dec_uint(ec, qn+1); in compute_theta()
744 fs = itheta <= (qn>>1) ? itheta + 1 : qn + 1 - itheta; in compute_theta()
745 fl = itheta <= (qn>>1) ? itheta*(itheta + 1)>>1 : in compute_theta()
746 ft - ((qn + 1 - itheta)*(qn + 2 - itheta)>>1); in compute_theta()
757 itheta = (isqrt32(8*(opus_uint32)fm + 1) - 1)>>1; in compute_theta()
758 fs = itheta + 1; in compute_theta()
759 fl = itheta*(itheta + 1)>>1; in compute_theta()
763 itheta = (2*(qn + 1) in compute_theta()
765 fs = qn + 1 - itheta; in compute_theta()
766 fl = ft - ((qn + 1 - itheta)*(qn + 2 - itheta)>>1); in compute_theta()
772 itheta = (opus_int32)itheta*16384/qn; in compute_theta()
775 if (itheta==0) in compute_theta()
785 inv = itheta > 8192; in compute_theta()
802 itheta = 0; in compute_theta()
807 if (itheta == 0) in compute_theta()
813 } else if (itheta == 16384) in compute_theta()
820 imid = bitexact_cos((opus_int16)itheta); in compute_theta()
821 iside = bitexact_cos((opus_int16)(16384-itheta)); in compute_theta()
831 sctx->itheta = itheta; in compute_theta()
914 int itheta; in quant_partition() local
932 itheta = sctx.itheta; in quant_partition()
943 if (B0>1 && (itheta&0x3fff)) in quant_partition()
945 if (itheta > 8192) in quant_partition()
966 if (rebalance > 3<<BITRES && itheta!=0) in quant_partition()
976 if (rebalance > 3<<BITRES && itheta!=16384) in quant_partition()
1209 int itheta; in quant_band_stereo() local
1233 itheta = sctx.itheta; in quant_band_stereo()
1254 if (itheta != 0 && itheta != 16384) in quant_band_stereo()
1257 c = itheta > 8192; in quant_band_stereo()
1313 if (rebalance > 3<<BITRES && itheta!=0) in quant_band_stereo()
1328 if (rebalance > 3<<BITRES && itheta!=16384) in quant_band_stereo()