Lines Matching refs:diff
171 __m128i min, max, diff, thresh; in ideint_cac_8x8_ssse3() local
184 diff = _mm_sub_epi16(max, min); in ideint_cac_8x8_ssse3()
187 mask = _mm_cmpgt_epi16(diff, thresh); in ideint_cac_8x8_ssse3()
188 diff = _mm_and_si128(diff, mask); in ideint_cac_8x8_ssse3()
190 diff_sum = _mm_extract_epi16(diff, 0); in ideint_cac_8x8_ssse3()
191 diff_sum += _mm_extract_epi16(diff, 1); in ideint_cac_8x8_ssse3()
192 diff_sum += _mm_extract_epi16(diff, 2); in ideint_cac_8x8_ssse3()
193 diff_sum += _mm_extract_epi16(diff, 3); in ideint_cac_8x8_ssse3()
197 diff_sum = _mm_extract_epi16(diff, 4); in ideint_cac_8x8_ssse3()
198 diff_sum += _mm_extract_epi16(diff, 5); in ideint_cac_8x8_ssse3()
199 diff_sum += _mm_extract_epi16(diff, 6); in ideint_cac_8x8_ssse3()
200 diff_sum += _mm_extract_epi16(diff, 7); in ideint_cac_8x8_ssse3()
209 __m128i even_avg, odd_avg, diff; in ideint_cac_8x8_ssse3() local
218 diff = _mm_sad_epu8(even_avg, odd_avg); in ideint_cac_8x8_ssse3()
221 diff_sum = _mm_cvtsi128_si32(diff); in ideint_cac_8x8_ssse3()
224 diff_sum = _mm_cvtsi128_si32(_mm_srli_si128(diff, 8)); in ideint_cac_8x8_ssse3()