vpx_variance16x16_sse2: correct cast order
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
This commit is contained in:
parent
b0f1ae1475
commit
85736e616e
@ -222,7 +222,7 @@ unsigned int vpx_variance16x16_sse2(const unsigned char *src, int src_stride,
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user