Home | History | Annotate | Download | only in celt

Lines Matching defs:norm

119             /* We're adding one here to ensure the normalized band isn't larger than unity norm */
359 opus_val16 norm;
365 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right));
366 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm);
367 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm);
402 /* Compute the norm of X+Y and X-Y as |X|^2 + |Y|^2 +/- sum(xy) */
699 mid and side because we know that 1) they have unit norm and
1363 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2;
1383 /* No need to allocate norm for the last band because we don't need an
1386 norm = _norm;
1387 norm2 = norm + M*eBands[m->nbEBands-1]-norm_offset;
1444 X=norm;
1446 Y = norm;
1484 norm[j] = HALF32(norm[j]+norm2[j]);
1489 effective_lowband != -1 ? norm+effective_lowband : NULL, LM,
1490 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm);
1498 effective_lowband != -1 ? norm+effective_lowband : NULL, LM,
1499 last?NULL:norm+M*eBands[i]-norm_offset, lowband_scratch, x_cm|y_cm);
1502 effective_lowband != -1 ? norm+effective_lowband : NULL, LM,
1503 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm|y_cm);