OpenCV  4.10.0
开源计算机视觉
正在加载...
正在搜索...
无匹配
| 命名空间 | | 类型定义 | 枚举 | 函数 | 变量
NCV.hpp 文件引用
#include "opencv2/core/cvdef.h"
#include <cuda_runtime.h>
#include "opencv2/core/cvstd.hpp"
#include "opencv2/core/utility.hpp"
NCV.hpp 的包含依赖图
此图显示了哪些文件直接或间接包含此文件

结构  NcvCTprep::assertTest< x >
 
结构  NcvCTprep::CT_ASSERT_FAILURE< true >
 
类  INCVMemAllocator
 
类  NCVMatrix< T >
 
类  NCVMatrixAlloc< T >
 
类  NCVMatrixReuse< T >
 
类  NCVMemNativeAllocator
 
结构  NCVMemPtr
 
结构  NCVMemSegment
 
类  NCVMemStackAllocator
 
结构  NcvPoint2D32s
 
结构  NcvPoint2D32u
 
结构  NcvRect32s
 
结构  NcvRect32u
 
结构  NcvRect8u
 
结构  NcvSize32s
 
结构  NcvSize32u
 
类  NCVVector< T >
 
类  NCVVectorAlloc< T >
 
类  NCVVectorReuse< T >
 

命名空间

命名空间  NcvCTprep
 

#define CLAMP(x, a, b)   ( (x) > (b) ? (b) : ( (x) < (a) ? (a) : (x) ) )
 
#define CLAMP_0_255(x)   CLAMP(x,0,255)
 
#define CLAMP_BOTTOM(x, a)   (((x) < (a)) ? (a) : (x))
 
#define CLAMP_TOP(x, a)   (((x) > (a)) ? (a) : (x))
 
#define NCV_CT_ASSERT(X)
 
#define NCV_CT_PREP_PASTE(a, b)   NCV_CT_PREP_PASTE_AUX(a, b)
 连接宏。
 
#define NCV_CT_PREP_PASTE_AUX(a, b)   a##b
 连接间接宏。
 
#define NCV_RESET_SKIP_COND(x)    __ncv_skip_cond = x
 
#define NCV_SET_SKIP_COND(x)    bool __ncv_skip_cond = x
 
#define NCV_SKIP_COND_BEGIN    if (!__ncv_skip_cond) {
 
#define NCV_SKIP_COND_END    }
 
#define ncvAssertCUDALastErrorReturn(errCode)
 
#define ncvAssertCUDAReturn(cudacall, errCode)
 
#define ncvAssertPrintCheck(pred, msg)
 
#define ncvAssertPrintReturn(pred, msg, err)
 
#define ncvAssertReturn(pred, err)
 
#define ncvAssertReturnNcvStat(ncvOp)
 
#define ncvSafeMatAlloc(name, type, alloc, width, height, err)
 
#define SQR(x)   ((x)*(x))
 
#define SUB_BEGIN(type, name)   struct { __inline type name
 
#define SUB_CALL(name)   name.name
 
#define SUB_END(name)   } name;
 

类型定义

typedef short 短整型
 
typedef unsigned short 无符号短整型
 
typedef float 浮点型
 
typedef int 整型
 
typedef unsigned int 无符号整型
 
typedef double 双精度浮点型
 
typedef long long 长整型
 
typedef uint64 无符号长整型
 
typedef signed char 有符号字符
 
typedef unsigned char 无符号字符
 
typedef bool 布尔型
 
typedef void NCVDebugOutputHandler(const cv::String &msg)
 
typedef Ncv32u NCVStatus
 
typedef struct _NcvTimer * NcvTimer
 

枚举

enum  {
  NCV_SUCCESS ,
  NCV_UNKNOWN_ERROR ,
  NCV_CUDA_ERROR ,
  NCV_NPP_ERROR ,
  NCV_FILE_ERROR ,
  NCV_NULL_PTR ,
  NCV_INCONSISTENT_INPUT ,
  NCV_TEXTURE_BIND_ERROR ,
  NCV_DIMENSIONS_INVALID ,
  NCV_INVALID_ROI ,
  NCV_INVALID_STEP ,
  NCV_INVALID_SCALE ,
  NCV_ALLOCATOR_NOT_INITIALIZED ,
  NCV_ALLOCATOR_BAD_ALLOC ,
  NCV_ALLOCATOR_BAD_DEALLOC ,
  NCV_ALLOCATOR_INSUFFICIENT_CAPACITY ,
  NCV_ALLOCATOR_DEALLOC_ORDER ,
  NCV_ALLOCATOR_BAD_REUSE ,
  NCV_MEM_COPY_ERROR ,
  NCV_MEM_RESIDENCE_ERROR ,
  NCV_MEM_INSUFFICIENT_CAPACITY ,
  NCV_HAAR_INVALID_PIXEL_STEP ,
  NCV_HAAR_TOO_MANY_FEATURES_IN_CLASSIFIER ,
  NCV_HAAR_TOO_MANY_FEATURES_IN_CASCADE ,
  NCV_HAAR_TOO_LARGE_FEATURES ,
  NCV_HAAR_XML_LOADING_EXCEPTION ,
  NCV_NOIMPL_HAAR_TILTED_FEATURES ,
  NCV_NOT_IMPLEMENTED ,
  NCV_WARNING_HAAR_DETECTIONS_VECTOR_OVERFLOW ,
  NPPST_SUCCESS = NCV_SUCCESS ,
  NPPST_ERROR ,
  NPPST_CUDA_KERNEL_EXECUTION_ERROR ,
  NPPST_NULL_POINTER_ERROR ,
  NPPST_TEXTURE_BIND_ERROR ,
  NPPST_MEMCPY_ERROR ,
  NPPST_MEM_ALLOC_ERR ,
  NPPST_MEMFREE_ERR ,
  NPPST_INVALID_ROI ,
  NPPST_INVALID_STEP ,
  NPPST_INVALID_SCALE ,
  NPPST_MEM_INSUFFICIENT_BUFFER ,
  NPPST_MEM_RESIDENCE_ERROR ,
  NPPST_MEM_INTERNAL_ERROR ,
  NCV_LAST_STATUS
}
 
enum  NCVMemoryType {
  NCVMemoryTypeNone ,
  NCVMemoryTypeHostPageable ,
  NCVMemoryTypeHostPinned ,
  NCVMemoryTypeDevice
}
 

函数

Ncv32u alignUp (Ncv32u what, Ncv32u alignment)
 
NCVStatus memSegCopyHelper (void *dst, NCVMemoryType dstType, const void *src, NCVMemoryType srcType, size_t sz, cudaStream_t cuStream)
 
NCVStatus memSegCopyHelper2D (void *dst, Ncv32u dstPitch, NCVMemoryType dstType, const void *src, Ncv32u srcPitch, NCVMemoryType srcType, Ncv32u widthbytes, Ncv32u height, cudaStream_t cuStream)
 
void ncvDebugOutput (const cv::String &msg)
 
NCVStatus ncvDrawRects_32u_device (Ncv32u *d_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *d_rects, Ncv32u numRects, Ncv32u color, cudaStream_t cuStream)
 
NCVStatus ncvDrawRects_32u_host (Ncv32u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, Ncv32u color)
 
NCVStatus ncvDrawRects_8u_device (Ncv8u *d_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *d_rects, Ncv32u numRects, Ncv8u color, cudaStream_t cuStream)
 
NCVStatus ncvDrawRects_8u_host (Ncv8u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, #dRects, Ncv32u numRects, #Ncv8u color)
 
double ncvEndQueryTimerMs (NcvTimer t)
 
double ncvEndQueryTimerUs (NcvTimer t)
 
NCVStatus ncvGroupRectangles_host (<structNcvRect32u> &hypotheses, Ncv32u &numHypotheses, Ncv32u minNeighbors, Ncv32f intersectEps, <Ncv32u> *hypothesesWeights)
 
void ncvSetDebugOutputHandler (NCVDebugOutputHandler *func)
 
NcvTimer ncvStartTimer (void)
 

变量

const Ncv32u K_LOG2_WARP_SIZE = 5
 
const Ncv32u K_WARP_SIZE = 32