Home | History | Annotate | Download | only in celt

Lines Matching refs:mid

391 static void stereo_merge(celt_norm *X, celt_norm *Y, opus_val16 mid, int N)
404 /* Compensating for the mid normalization */
405 xp = MULT16_32_Q15(mid, xp);
406 /* mid and side are in Q15, not Q14 like X and Y */
407 mid2 = SHR32(mid, 1);
436 /* Apply mid scaling (side is already scaled) */
437 l = MULT16_16_Q15(mid, X[j]);
698 side and mid. With just that parameter, we can re-scale both
699 mid and side because we know that 1) they have unit norm and
822 /* This is the mid vs side allocation that minimizes squared error
889 opus_val16 mid=0, side=0;
935 mid = imid;
938 mid = (1.f/32768)*imid;
964 MULT16_16_P15(gain,mid), fill);
980 MULT16_16_P15(gain,mid), fill);
1201 opus_val16 mid=0, side=0;
1236 mid = imid;
1239 mid = (1.f/32768)*imid;
1244 advantage of the fact that mid and side are orthogonal to encode
1285 X[0] = MULT16_16_Q15(mid, X[0]);
1286 X[1] = MULT16_16_Q15(mid, X[1]);
1307 /* In stereo mode, we do not apply a scaling to the mid because we need the normalized
1308 mid for folding later. */
1330 /* In stereo mode, we do not apply a scaling to the mid because we need the normalized
1331 mid for folding later. */
1343 stereo_merge(X, Y, mid, N);