core: backward compatibility for vx_store/vx_store_aligned calls
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 1 Apr 2021 02:17:08 +0000 (02:17 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 1 Apr 2021 02:17:47 +0000 (02:17 +0000)
modules/core/include/opencv2/core/hal/intrin.hpp

index 13228380ceb3e4fb3ce52403d2b3735397cb6711..16d5284e64828f1f667670b3e208fc137de842d9 100644 (file)
@@ -654,6 +654,20 @@ namespace CV__SIMD_NAMESPACE {
 
     /** @brief SIMD processing state cleanup call */
     inline void vx_cleanup() { VXPREFIX(_cleanup)(); }
+
+
+//! @cond IGNORED
+
+    // backward compatibility
+    template<typename _Tp, typename _Tvec> static inline
+    void vx_store(_Tp* dst, const _Tvec& v) { return v_store(dst, v); }
+    // backward compatibility
+    template<typename _Tp, typename _Tvec> static inline
+    void vx_store_aligned(_Tp* dst, const _Tvec& v) { return v_store_aligned(dst, v); }
+
+//! @endcond
+
+
 //! @}
     #undef VXPREFIX
 } // namespace