![]() |
OpenCV
Open Source Computer Vision
|
#include "opencv2/core/cvdef.h"
#include <cuda_runtime.h>
#include "opencv2/core/cvstd.hpp"
#include "opencv2/core/utility.hpp"
Classes | |
struct | NcvCTprep::assertTest< x > |
struct | NcvCTprep::CT_ASSERT_FAILURE< x > |
struct | NcvCTprep::CT_ASSERT_FAILURE< true > |
class | INCVMemAllocator |
class | NCVMatrix< T > |
class | NCVMatrixAlloc< T > |
class | NCVMatrixReuse< T > |
class | NCVMemNativeAllocator |
struct | NCVMemPtr |
struct | NCVMemSegment |
class | NCVMemStackAllocator |
struct | NcvPoint2D32s |
struct | NcvPoint2D32u |
struct | NcvRect32s |
struct | NcvRect32u |
struct | NcvRect8u |
struct | NcvSize32s |
struct | NcvSize32u |
class | NCVVector< T > |
class | NCVVectorAlloc< T > |
class | NCVVectorReuse< T > |
Namespaces | |
NcvCTprep | |
Macros | |
#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) |
Concatenation macro. More... | |
#define | NCV_CT_PREP_PASTE_AUX(a, b) a##b |
Concatenation indirection macro. More... | |
#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; |
Typedefs | |
typedef short | Ncv16s |
typedef unsigned short | Ncv16u |
typedef float | Ncv32f |
typedef int | Ncv32s |
typedef unsigned int | Ncv32u |
typedef double | Ncv64f |
typedef long long | Ncv64s |
typedef unsigned long long | Ncv64u |
typedef signed char | Ncv8s |
typedef unsigned char | Ncv8u |
typedef bool | NcvBool |
typedef void | NCVDebugOutputHandler(const cv::String &msg) |
typedef Ncv32u | NCVStatus |
typedef struct _NcvTimer * | NcvTimer |
Functions | |
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) |
Variables | |
const Ncv32u | K_LOG2_WARP_SIZE = 5 |
const Ncv32u | K_WARP_SIZE = 32 |