vpx_get16x16var_avx2: correct cast order
allow the right shift to operate on 64-bits, this matches the rest of
the implementations
missed in:
6acd061aa variance_avx2: sync variance functions with c-code
Change-Id: Icae436b881251ccb9f9ed64fcbf8d358c58a4617
			
			
This commit is contained in:
		@@ -44,7 +44,7 @@ unsigned int vpx_variance16x16_avx2(const uint8_t *src, int src_stride,
 | 
			
		||||
  int sum;
 | 
			
		||||
  variance_avx2(src, src_stride, ref, ref_stride, 16, 16, sse, &sum,
 | 
			
		||||
                vpx_get16x16var_avx2, 16);
 | 
			
		||||
  return *sse - (((uint32_t)((int64_t)sum * sum)) >> 8);
 | 
			
		||||
  return *sse - (uint32_t)(((int64_t)sum * sum) >> 8);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
unsigned int vpx_mse16x16_avx2(const uint8_t *src, int src_stride,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user