Lines Matching refs:stereo
242 int stereo)
246 if (stereo && N == 2)
249 /* The upper limit ensures that in a stereo split with itheta==16384, we'll
495 int stereo = !!Y, split = stereo;
510 for (i = 0; i <= stereo; i++) {
529 if (!stereo && level == 0) {
574 if (!stereo && duration >= 0 && b > cache[cache[0]] + 12 && N > 2) {
586 int itheta = quant ? celt_calc_theta(X, Y, stereo, N) : 0;
596 offset = (pulse_cap >> 1) - (stereo && N == 2 ? CELT_QTHETA_OFFSET_TWOPHASE :
598 qn = (stereo && band >= f->intensity_stereo) ? 1 :
599 celt_compute_qn(N, b, offset, pulse_cap, stereo);
605 * time split, a step for stereo, and a triangular one for the rest. */
607 if (stereo && N > 2)
609 else if (stereo || B0 > 1)
614 if (stereo) {
622 if (stereo && N > 2)
624 else if (stereo || B0 > 1)
630 } else if (stereo) {
676 /* This is a special case for N=2 that only works for stereo and takes
679 if (N == 2 && stereo) {
730 if (B0 > 1 && !stereo && (itheta & 0x3fff)) {
743 if (lowband && !stereo)
746 /* Only stereo needs to pass on lowband_out.
748 if (stereo)
755 /* In stereo mode, we do not apply a scaling to the mid
759 stereo ? 1.0f : (gain * mid), lowband_scratch, fill);
764 /* For a stereo split, the high bits of fill are always zero,
769 cm |= cmt << ((B0 >> 1) & (stereo - 1));
771 /* For a stereo split, the high bits of fill are always zero,
776 cm <<= ((B0 >> 1) & (stereo - 1));
781 /* In stereo mode, we do not apply a scaling to the mid because
785 stereo ? 1.0f : (gain * mid), lowband_scratch, fill);
836 if (stereo) {