War on Whitespace, master edition: trailing spaces.
This commit is contained in:
@@ -151,9 +151,9 @@ Returns void
|
||||
:param temp1: Convolution kernel, a single-channel floating point matrix. The size is not greater than the ``image`` size. The type is the same as ``image``.
|
||||
|
||||
:param result: The destination image
|
||||
|
||||
|
||||
:param ccorr: Flags to evaluate cross-correlation instead of convolution.
|
||||
|
||||
|
||||
:param buf: Optional buffer to avoid extra memory allocations and to adjust some specific parameters. See :ocv:struct:`ocl::ConvolveBuf`.
|
||||
|
||||
Convolves an image with the kernel. Supports only CV_32FC1 data types and do not support ROI.
|
||||
|
||||
@@ -1782,7 +1782,7 @@ namespace cv
|
||||
};
|
||||
//! Returns the sorted result of all the elements in input based on equivalent keys.
|
||||
//
|
||||
// The element unit in the values to be sorted is determined from the data type,
|
||||
// The element unit in the values to be sorted is determined from the data type,
|
||||
// i.e., a CV_32FC2 input {a1a2, b1b2} will be considered as two elements, regardless its
|
||||
// matrix dimension.
|
||||
// both keys and values will be sorted inplace
|
||||
|
||||
@@ -189,7 +189,7 @@ void cv::ocl::oclMat::upload(const Mat &m)
|
||||
temp = clCreateBuffer((cl_context)clCxt->oclContext(), CL_MEM_READ_WRITE,
|
||||
(pitch * wholeSize.height + tail_padding - 1) / tail_padding * tail_padding, 0, &err);
|
||||
openCLVerifyCall(err);
|
||||
openCLMemcpy2D(clCxt, temp, pitch, m.datastart, m.step,
|
||||
openCLMemcpy2D(clCxt, temp, pitch, m.datastart, m.step,
|
||||
wholeSize.width * m.elemSize(), wholeSize.height, clMemcpyHostToDevice, 3);
|
||||
}
|
||||
else{
|
||||
@@ -198,7 +198,7 @@ void cv::ocl::oclMat::upload(const Mat &m)
|
||||
openCLVerifyCall(err);
|
||||
}
|
||||
|
||||
|
||||
|
||||
convert_C3C4(temp, *this);
|
||||
openCLSafeCall(clReleaseMemObject(temp));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user