opencv2/cudalegacy/NCV.hpp#
#include <opencv2/core/cvdef.h>
#include <cuda_runtime.h>
#include <opencv2/core/cvstd.hpp>
#include <opencv2/core/utility.hpp>
Include dependency graph for NCV.hpp:
This graph shows which files directly or indirectly include NCV.hpp:
Classes#
struct NcvCTprep::assertTest
struct NcvCTprep::CT_ASSERT_FAILURE< true >
class INCVMemAllocator
class NCVMatrix
class NCVMatrixAlloc
class NCVMatrixReuse
class NCVMemNativeAllocator
struct NCVMemPtr
struct NCVMemSegment
class NCVMemStackAllocator
struct NcvPoint2D32s
struct NcvPoint2D32u
struct NcvRect32s
struct NcvRect32u
struct NcvRect8u
struct NcvSize32s
struct NcvSize32u
class NCVVector
class NCVVectorAlloc
class NCVVectorReuse
Namespaces#
namespace NcvCTprep
Enumerations#
enum 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 }
Functions#
INCVMemAllocator::~INCVMemAllocator ()=0
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, NcvRect32u *h_rects, Ncv32u numRects, Ncv8u color)
double ncvEndQueryTimerMs (NcvTimer t)
double ncvEndQueryTimerUs (NcvTimer t)
NCVStatus ncvGroupRectangles_host (NCVVector< NcvRect32u > &hypotheses, Ncv32u &numHypotheses, Ncv32u minNeighbors, Ncv32f intersectEps, NCVVector< Ncv32u > *hypothesesWeights)
void ncvSetDebugOutputHandler (NCVDebugOutputHandler *func)
NcvTimer ncvStartTimer (void)