Commit 54fcdf4c authored by Alexey Spizhevoy's avatar Alexey Spizhevoy

minor changes in gpu module (comments and warnings)

parent 6702d557
...@@ -640,7 +640,8 @@ namespace cv ...@@ -640,7 +640,8 @@ namespace cv
//! performs a forward or inverse discrete Fourier transform (1D or 2D) of floating point matrix //! performs a forward or inverse discrete Fourier transform (1D or 2D) of floating point matrix
//! //!
//! If the source matrix is not continous, then additional copy will be done, //! If the source matrix is not continous, then additional copy will be done,
//! so to avoid copying ensure the source matrix is continous one. //! so to avoid copying ensure the source matrix is continous one. If you want to use
//! preallocated output ensure it is continuous too, otherwise it will be reallocated.
//! //!
//! Being implemented via CUFFT real-to-complex transform result contains only non-redundant values //! Being implemented via CUFFT real-to-complex transform result contains only non-redundant values
//! in CUFFT's format. Result as full complex matrix for such kind of transform cannot be retrieved. //! in CUFFT's format. Result as full complex matrix for such kind of transform cannot be retrieved.
......
...@@ -226,8 +226,9 @@ struct CV_GpuDftTest: CvTest ...@@ -226,8 +226,9 @@ struct CV_GpuDftTest: CvTest
srand(0); srand(0);
int cols = 2 + rand() % 100, rows = 2 + rand() % 100; int cols = 2 + rand() % 100, rows = 2 + rand() % 100;
for (int inplace = 0; inplace < 2; ++inplace) for (int i = 0; i < 2; ++i)
{ {
bool inplace = i != 0;
testC2C("no flags", cols, rows, 0, inplace); testC2C("no flags", cols, rows, 0, inplace);
testC2C("no flags 0 1", cols, rows + 1, 0, inplace); testC2C("no flags 0 1", cols, rows + 1, 0, inplace);
testC2C("no flags 1 0", cols, rows + 1, 0, inplace); testC2C("no flags 1 0", cols, rows + 1, 0, inplace);
......
...@@ -124,8 +124,8 @@ struct CV_GpuMeanShiftTest : public CvTest ...@@ -124,8 +124,8 @@ struct CV_GpuMeanShiftTest : public CvTest
}; };
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/////////////////// tests registration ///////////////////////////////////// /////////////////// tests registration /////////////////////////////////////
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
CV_GpuMeanShiftTest CV_GpuMeanShift_test; CV_GpuMeanShiftTest CV_GpuMeanShift_test;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment