forked from hybridgroup/gocv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arithm.h
37 lines (32 loc) · 1.35 KB
/
arithm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _OPENCV3_CUDA_ARITHM_H_
#define _OPENCV3_CUDA_ARITHM_H_
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
#include <opencv2/opencv.hpp>
#include <opencv2/cudaarithm.hpp>
extern "C" {
#endif
#include "cuda.h"
void GpuAbs(GpuMat src, GpuMat dst, Stream s);
void GpuAbsDiff(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuAdd(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuBitwiseAnd(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuBitwiseNot(GpuMat src, GpuMat dst, Stream s);
void GpuBitwiseOr(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuBitwiseXor(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuDivide(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuExp(GpuMat src, GpuMat dst, Stream s);
void GpuLog(GpuMat src, GpuMat dst, Stream s);
void GpuMax(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuMin(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuMultiply(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuSqr(GpuMat src, GpuMat dst, Stream s);
void GpuSqrt(GpuMat src, GpuMat dst, Stream s);
void GpuSubtract(GpuMat src1, GpuMat src2, GpuMat dst, Stream s);
void GpuThreshold(GpuMat src, GpuMat dst, double thresh, double maxval, int typ, Stream s);
void GpuFlip(GpuMat src, GpuMat dst, int flipCode, Stream s);
#ifdef __cplusplus
}
#endif
#endif //_OPENCV3_CUDA_ARITHM_H_