Home | History | Annotate | Download | only in dsp

Lines Matching refs:kC2

973 // We use this to our advantage with kC2. The canonical value is 35468.
984 // same issue with kC1 and vqdmulh that we work around by down shifting kC2
987 static const int16_t kC2 = 17734; // half of kC2, actually. See comment above.
1006 // C1 = kC2 * in4 | kC2 * in12
1008 const int16x8_t C1 = vqdmulhq_n_s16(B1, kC2);
1013 // c = kC2 * in4 - kC1 * in12
1014 // d = kC1 * in4 + kC2 * in12
1037 // kC1, kC2. Padded because vld1.16 loads 8 bytes
1038 const int16_t constants[4] = { kC1, kC2, 0, 0 };
1052 * q9 = {in[4], in[12]} * kC2 >> 16
1066 * We avoided this in kC2 by pre-shifting the constant.
1076 /* d20 = c = in[4]*kC2 - in[12]*kC1
1077 * d21 = d = in[4]*kC1 + in[12]*kC2
1098 * q9 = {tmp[4], tmp[12]} * kC2 >> 16
1113 /* d20 = c = in[4]*kC2 - in[12]*kC1
1114 * d21 = d = in[4]*kC1 + in[12]*kC2