Home | History | Annotate | Download | only in dec

Lines Matching refs:k1

28   //    K1 = sqrt(2) * cos (pi/8) ~= 85627 / 2^16
36 // K1 = 85267 => k1 = 20091
42 const __m128i k1 = _mm_set1_epi16(20091);
81 // c = MUL(in1, K2) - MUL(in3, K1) = MUL(in1, k2) - MUL(in3, k1) + in1 - in3
83 const __m128i c2 = _mm_mulhi_epi16(in3, k1);
87 // d = MUL(in1, K1) + MUL(in3, K2) = MUL(in1, k1) + MUL(in3, k2) + in1 + in3
88 const __m128i d1 = _mm_mulhi_epi16(in1, k1);
139 // c = MUL(T1, K2) - MUL(T3, K1) = MUL(T1, k2) - MUL(T3, k1) + T1 - T3
141 const __m128i c2 = _mm_mulhi_epi16(T3, k1);
145 // d = MUL(T1, K1) + MUL(T3, K2) = MUL(T1, k1) + MUL(T3, k2) + T1 + T3
146 const __m128i d1 = _mm_mulhi_epi16(T1, k1);