1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 12:55:15 +08:00

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2025-09-10 09:34:12 +03:00
13 changed files with 77 additions and 44 deletions

View File

@@ -47,11 +47,14 @@
#define OPENCV_CUDEV_UTIL_TYPE_TRAITS_DETAIL_HPP
#include "../../common.hpp"
#include "opencv2/core/cuda/cuda_compat.hpp"
namespace cv { namespace cudev {
namespace type_traits_detail
{
using cv::cuda::device::compat::double4;
template <typename T> struct IsSignedIntergral { enum {value = 0}; };
template <> struct IsSignedIntergral<schar> { enum {value = 1}; };
template <> struct IsSignedIntergral<short> { enum {value = 1}; };

View File

@@ -48,9 +48,12 @@
#include "vec_traits.hpp"
#include "saturate_cast.hpp"
#include "opencv2/core/cuda/cuda_compat.hpp"
namespace cv { namespace cudev {
using cv::cuda::device::compat::double4;
//! @addtogroup cudev
//! @{

View File

@@ -47,8 +47,14 @@
#define OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP
#include "../common.hpp"
#include "opencv2/core/cuda/cuda_compat.hpp"
namespace cv { namespace cudev {
namespace cv {
using cv::cuda::device::compat::double4;
using cv::cuda::device::compat::make_double4;
namespace cudev {
//! @addtogroup cudev
//! @{