add SSE2 version of Sum of Square error for 16x16, 16x8 and 8x8 case

+ replace mm_set1_ps(0) by _mm_setzero_si128()

Change-Id: I4601033c27466532373f5dabfaf349ce5e5039da
This commit is contained in:
skal
2012-11-14 06:16:49 +01:00
parent a7305c2ef0
commit 35bfd4c08f
2 changed files with 103 additions and 10 deletions

View File

@ -194,7 +194,7 @@ static void TransformSSE2(const int16_t* in, uint8_t* dst, int do_two) {
// Add inverse transform to 'dst' and store.
{
const __m128i zero = _mm_set1_epi16(0);
const __m128i zero = _mm_setzero_si128();
// Load the reference(s).
__m128i dst0, dst1, dst2, dst3;
if (do_two) {