diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
commit | 2381d803c76105f44717d75f089ec37f51e5cfe4 (patch) | |
tree | 33f40fb4dfd1039ac262d5f1c1065d298578ddc1 /src/dsp/x86/motion_field_projection_sse4.cc | |
parent | e8d277081293b6fb2a5d469616baaa7a06f52496 (diff) | |
download | libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.gz libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.bz2 libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.zip |
New upstream version 0.16.3
Diffstat (limited to 'src/dsp/x86/motion_field_projection_sse4.cc')
-rw-r--r-- | src/dsp/x86/motion_field_projection_sse4.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dsp/x86/motion_field_projection_sse4.cc b/src/dsp/x86/motion_field_projection_sse4.cc index c506941..e3f2cce 100644 --- a/src/dsp/x86/motion_field_projection_sse4.cc +++ b/src/dsp/x86/motion_field_projection_sse4.cc @@ -139,9 +139,9 @@ inline void Store(const __m128i position, const __m128i reference_offset, const ptrdiff_t offset = static_cast<int16_t>(_mm_extract_epi16(position, idx)); if ((idx & 3) == 0) { - dst_mv[offset].mv32 = _mm_cvtsi128_si32(mv); + dst_mv[offset].mv32 = static_cast<uint32_t>(_mm_cvtsi128_si32(mv)); } else { - dst_mv[offset].mv32 = _mm_extract_epi32(mv, idx & 3); + dst_mv[offset].mv32 = static_cast<uint32_t>(_mm_extract_epi32(mv, idx & 3)); } dst_reference_offset[offset] = _mm_extract_epi8(reference_offset, idx); } @@ -386,7 +386,7 @@ void MotionFieldProjectionInit_SSE4_1() { } // namespace dsp } // namespace libgav1 -#else // !LIBGAV1_TARGETING_SSE4_1 +#else // !LIBGAV1_TARGETING_SSE4_1 namespace libgav1 { namespace dsp { |