Unit Test: VP9/AqSegmentTest. VP9/CpuSpeedTest, AVX2/Loop8Test6Param implicit conversion from type 'int' of value 59741 (32-bit, signed) to type 'int16_t' (aka 'short') changed the value to -5795 (16-bit, signed) BUG=webm:1615
Unified · Split
| @@ -571,7 +571,7 @@ int vpx_vector_var_sse2(const int16_t *ref, const int16_t *src, const int bwl) { · 570 unmodified lines | ||
| 571 | 571 | v1 = _mm_srli_epi64(sse, 32); |
| 572 | 572 | sse = _mm_add_epi32(sse, v1); |
| 573 | 573 | |
| 574 | − mean = _mm_extract_epi16(sum, 0); | |
| 574 | + mean = (int16_t)_mm_extract_epi16(sum, 0); | |
| 575 | 575 | |
| 576 | 576 | return _mm_cvtsi128_si32(sse) - ((mean * mean) >> (bwl + 2)); |
| 577 | 577 | } |