allow the right shift to operate on 64-bits, this matches the rest of
the implementations
previously:
b0f1ae147 vpx_get16x16var_avx2: correct cast order
Change-Id: I632ee5e418f3f9b30e79ecd05588eb172b0783aa
unsigned int *sse) {
int sum;
vpx_get16x16var_sse2(src, src_stride, ref, ref_stride, sse, &sum);
- return *sse - (((uint32_t)((int64_t)sum * sum)) >> 8);
+ return *sse - (uint32_t)(((int64_t)sum * sum) >> 8);
}
unsigned int vpx_variance32x32_sse2(const uint8_t *src, int src_stride,