Lines Matching refs:b16
99 int16_t b16 = -17;
120 EXPECT_EQ(104, WebRtcSpl_AddSatW16(a16, b16));
121 EXPECT_EQ(138, WebRtcSpl_SubSatW16(a16, b16));
165 int16_t b16[kVectorSize];
171 WebRtcSpl_MemSetW16(b16, 3, kVectorSize);
173 EXPECT_EQ(3, b16[kk]);
175 WebRtcSpl_ZerosArrayW16(b16, kVectorSize);
177 EXPECT_EQ(0, b16[kk]);
191 WEBRTC_SPL_MEMCPY_W16(b16, bTmp16, kVectorSize);
193 EXPECT_EQ(b16[kk], bTmp16[kk]);
199 WebRtcSpl_CopyFromEndW16(b16, kVectorSize, 2, bTmp16);
206 b16[kk] = (int16_t)B[kk];
212 WebRtcSpl_VectorBitShiftW16(bTmp16, kVectorSize, b16, 1);
221 WebRtcSpl_MemCpyReversedOrder(&bTmp16[3], b16, kVectorSize);
223 EXPECT_EQ(b16[3-kk], bTmp16[kk]);
324 int16_t b16[kVectorSize];
329 b16[kk] = B[kk];
332 WebRtcSpl_AffineTransformVector(bTmp16, b16, 3, 7, 2, kVectorSize);
336 WebRtcSpl_ScaleAndAddVectorsWithRound(b16, 3, b16, 2, 2, bTmp16, kVectorSize);
341 WebRtcSpl_AddAffineVectorToVector(bTmp16, b16, 3, 7, 2, kVectorSize);
343 EXPECT_EQ(((B[kk]*3+B[kk]*2+2)>>2)+((b16[kk]*3+7)>>2), bTmp16[kk]);
346 WebRtcSpl_ScaleVector(b16, bTmp16, 13, kVectorSize, 2);
348 EXPECT_EQ((b16[kk]*13)>>2, bTmp16[kk]);
350 WebRtcSpl_ScaleVectorWithSat(b16, bTmp16, 13, kVectorSize, 2);
352 EXPECT_EQ((b16[kk]*13)>>2, bTmp16[kk]);
354 WebRtcSpl_ScaleAndAddVectors(a16, 13, 2, b16, 7, 2, bTmp16, kVectorSize);
356 EXPECT_EQ(((a16[kk]*13)>>2)+((b16[kk]*7)>>2), bTmp16[kk]);
359 WebRtcSpl_AddVectorsAndShift(bTmp16, a16, b16, kVectorSize, 2);
363 WebRtcSpl_ReverseOrderMultArrayElements(bTmp16, a16, &b16[3], kVectorSize, 2);
365 EXPECT_EQ((a16[kk]*b16[3-kk])>>2, bTmp16[kk]);
367 WebRtcSpl_ElementwiseVectorMult(bTmp16, a16, b16, kVectorSize, 6);
369 EXPECT_EQ((a16[kk]*b16[kk])>>6, bTmp16[kk]);
372 WebRtcSpl_SqrtOfOneMinusXSquared(b16, kVectorSize, bTmp16);
378 EXPECT_EQ(0, WebRtcSpl_GetScalingSquare(b16, kVectorSize, 1));
384 int16_t b16[kVectorSize];
389 b16[kk] = B[kk];
393 EXPECT_EQ(0, WebRtcSpl_LevinsonDurbin(b32, b16, bTmp16, 2));
445 int16_t b16[kVectorSize];
451 EXPECT_EQ(kVectorSize, WebRtcSpl_RandUArray(b16, kVectorSize, &bSeed));
453 EXPECT_EQ(BU[kk], b16[kk]);
513 int16_t b16[kVectorSize];
520 b16[kk] = A[kk];
524 // WebRtcSpl_ReflCoefToLpc(b16, kVectorSize, bTmp16);
528 // WebRtcSpl_LpcToReflCoef(bTmp16, kVectorSize, b16);
530 //// EXPECT_EQ(a16[kk], b16[kk]);
543 b16[kk] = A[kk];
545 EXPECT_EQ(11094 , WebRtcSpl_Energy(b16, kVectorSize, &bScale));