Ncv8u width;\r
Ncv8u height;\r
__host__ __device__ NcvRect8u() : x(0), y(0), width(0), height(0) {};\r
- __host__ __device__ NcvRect8u(Ncv8u x, Ncv8u y, Ncv8u width, Ncv8u height) : x(x), y(y), width(width), height(height) {}\r
+ __host__ __device__ NcvRect8u(Ncv8u x_, Ncv8u y_, Ncv8u width_, Ncv8u height_) : x(x_), y(y_), width(width_), height(height_) {}\r
};\r
\r
\r
Ncv32s width; ///< Rectangle width.\r
Ncv32s height; ///< Rectangle height.\r
__host__ __device__ NcvRect32s() : x(0), y(0), width(0), height(0) {};\r
- __host__ __device__ NcvRect32s(Ncv32s x, Ncv32s y, Ncv32s width, Ncv32s height) : x(x), y(y), width(width), height(height) {}\r
+ __host__ __device__ NcvRect32s(Ncv32s x_, Ncv32s y_, Ncv32s width_, Ncv32s height_)\r
+ : x(x_), y(y_), width(width_), height(height_) {}\r
};\r
\r
\r
Ncv32u width; ///< Rectangle width.\r
Ncv32u height; ///< Rectangle height.\r
__host__ __device__ NcvRect32u() : x(0), y(0), width(0), height(0) {};\r
- __host__ __device__ NcvRect32u(Ncv32u x, Ncv32u y, Ncv32u width, Ncv32u height) : x(x), y(y), width(width), height(height) {}\r
+ __host__ __device__ NcvRect32u(Ncv32u x_, Ncv32u y_, Ncv32u width_, Ncv32u height_)\r
+ : x(x_), y(y_), width(width_), height(height_) {}\r
};\r
\r
\r
Ncv32s width; ///< Rectangle width.\r
Ncv32s height; ///< Rectangle height.\r
__host__ __device__ NcvSize32s() : width(0), height(0) {};\r
- __host__ __device__ NcvSize32s(Ncv32s width, Ncv32s height) : width(width), height(height) {}\r
+ __host__ __device__ NcvSize32s(Ncv32s width_, Ncv32s height_) : width(width_), height(height_) {}\r
};\r
\r
\r
Ncv32u width; ///< Rectangle width.\r
Ncv32u height; ///< Rectangle height.\r
__host__ __device__ NcvSize32u() : width(0), height(0) {};\r
- __host__ __device__ NcvSize32u(Ncv32u width, Ncv32u height) : width(width), height(height) {}\r
+ __host__ __device__ NcvSize32u(Ncv32u width_, Ncv32u height_) : width(width_), height(height_) {}\r
__host__ __device__ bool operator == (const NcvSize32u &another) const {return this->width == another.width && this->height == another.height;}\r
};\r
\r
Ncv32s x; ///< Point X.\r
Ncv32s y; ///< Point Y.\r
__host__ __device__ NcvPoint2D32s() : x(0), y(0) {};\r
- __host__ __device__ NcvPoint2D32s(Ncv32s x, Ncv32s y) : x(x), y(y) {}\r
+ __host__ __device__ NcvPoint2D32s(Ncv32s x_, Ncv32s y_) : x(x_), y(y_) {}\r
};\r
\r
\r
Ncv32u x; ///< Point X.\r
Ncv32u y; ///< Point Y.\r
__host__ __device__ NcvPoint2D32u() : x(0), y(0) {};\r
- __host__ __device__ NcvPoint2D32u(Ncv32u x, Ncv32u y) : x(x), y(y) {}\r
+ __host__ __device__ NcvPoint2D32u(Ncv32u x_, Ncv32u y_) : x(x_), y(y_) {}\r
};\r
\r
\r
\r
public:\r
\r
- NCVVectorAlloc(INCVMemAllocator &allocator, Ncv32u length)\r
+ NCVVectorAlloc(INCVMemAllocator &allocator_, Ncv32u length)\r
:\r
- allocator(allocator)\r
+ allocator(allocator_)\r
{\r
NCVStatus ncvStat;\r
\r
NCVMatrixAlloc& operator=(const NCVMatrixAlloc &);\r
public:\r
\r
- NCVMatrixAlloc(INCVMemAllocator &allocator, Ncv32u width, Ncv32u height, Ncv32u pitch=0)\r
+ NCVMatrixAlloc(INCVMemAllocator &allocator, Ncv32u width, Ncv32u height, Ncv32u _pitch=0)\r
:\r
allocator(allocator)\r
{\r
Ncv32u widthBytes = width * sizeof(T);\r
Ncv32u pitchBytes = alignUp(widthBytes, allocator.alignment());\r
\r
- if (pitch != 0)\r
+ if (_pitch != 0)\r
{\r
- ncvAssertPrintReturn(pitch >= pitchBytes &&\r
- (pitch & (allocator.alignment() - 1)) == 0,\r
+ ncvAssertPrintReturn(_pitch >= pitchBytes &&\r
+ (_pitch & (allocator.alignment() - 1)) == 0,\r
"NCVMatrixAlloc ctor:: incorrect pitch passed", );\r
- pitchBytes = pitch;\r
+ pitchBytes = _pitch;\r
}\r
\r
Ncv32u requiredAllocSize = pitchBytes * height;\r
\r
\r
\r
-#endif // _ncv_hpp_
\ No newline at end of file
+#endif // _ncv_hpp_\r