Fixed compilation with SIMD disabled or with scalable SIMD

pull/3567/head
Maksim Shabunin 2 years ago
parent 6d78a0b2e9
commit 3f3ee66ea7
  1. 2
      modules/rgbd/src/tsdf_functions.hpp

@ -16,11 +16,13 @@ namespace cv
namespace kinfu
{
#if USE_INTRINSICS
inline v_float32x4 tsdfToFloat_INTR(const v_int32x4& num)
{
v_float32x4 num128 = v_setall_f32(-1.f / 128.f);
return v_cvt_f32(num) * num128;
}
#endif
inline TsdfType floatToTsdf(float num)
{

Loading…
Cancel
Save