Home | History | Annotate | Download | only in celt

Lines Matching refs:side

374       /* Side is not encoded, no need to calculate */
394 opus_val32 xp=0, side=0;
403 dual_inner_prod(Y, X, Y, N, &xp, &side);
406 /* mid and side are in Q15, not Q14 like X and Y */
408 El = MULT16_16(mid2, mid2) + side - 2*xp;
409 Er = MULT16_16(mid2, mid2) + side + 2*xp;
436 /* Apply mid scaling (side is already scaled) */
624 side; otherwise it would collapse, since it doesn't get folded. */
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;
936 side = iside;
939 side = (1.f/32768)*iside;
970 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
974 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
1201 opus_val16 mid=0, side=0;
1237 side = iside;
1240 side = (1.f/32768)*iside;
1244 advantage of the fact that mid and side are orthogonal to encode
1245 the side with just one bit. */
1253 /* Only need one bit for the side. */
1266 /* Here we only need to encode a sign for the side. */
1274 /* We use orig_fill here because we want to fold the side, but if
1287 Y[0] = MULT16_16_Q15(side, Y[0]);
1288 Y[1] = MULT16_16_Q15(side, Y[1]);
1317 folding will be done to the side. */
1320 side, NULL, fill>>B);
1323 folding will be done to the side. */
1326 side, NULL, fill>>B);