fix:make zerocolor edge

This commit is contained in:
lennlouisgeek
2026-02-04 03:18:20 +08:00
parent ca3545b8b0
commit 001685b633
157 changed files with 31832 additions and 32681 deletions

View File

@@ -1,38 +0,0 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef OPENCV_CUDA_CUDA_COMPAT_HPP
#define OPENCV_CUDA_CUDA_COMPAT_HPP
#include <cuda.h>
namespace cv { namespace cuda { namespace device { namespace compat
{
#if CUDA_VERSION >= 13000
using ulonglong4 = ::ulonglong4_16a;
using double4 = ::double4_16a;
__host__ __device__ __forceinline__
double4 make_double4(double x, double y, double z, double w)
{
return ::make_double4_16a(x, y, z, w);
}
#else
using ulonglong4 = ::ulonglong4;
using double4 = ::double4;
__host__ __device__ __forceinline__
double4 make_double4(double x, double y, double z, double w)
{
return ::make_double4(x, y, z, w);
}
#endif
using ulonglong4Compat = ulonglong4;
using double4Compat = double4;
__host__ __device__ __forceinline__
double4Compat make_double4_compat(double x, double y, double z, double w)
{
return make_double4(x, y, z, w);
}
}}}}
#endif // OPENCV_CUDA_CUDA_COMPAT_HPP

View File

@@ -45,7 +45,6 @@
#include "vec_traits.hpp"
#include "saturate_cast.hpp"
#include "cuda_compat.hpp"
/** @file
* @deprecated Use @ref cudev instead.
@@ -55,8 +54,6 @@
namespace cv { namespace cuda { namespace device
{
using cv::cuda::device::compat::double4;
using cv::cuda::device::compat::make_double4;
// saturate_cast

View File

@@ -44,7 +44,6 @@
#define OPENCV_CUDA_VEC_TRAITS_HPP
#include "common.hpp"
#include "cuda_compat.hpp"
/** @file
* @deprecated Use @ref cudev instead.
@@ -54,9 +53,6 @@
namespace cv { namespace cuda { namespace device
{
using cv::cuda::device::compat::double4;
using cv::cuda::device::compat::make_double4;
template<typename T, int N> struct TypeVec;
struct __align__(8) uchar8