Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
commite757c4a3bec8b0e8d198531a28327332af00a9ba (patch)
tree4707fd51cffdbe932123a29bbcfe4528fc9c2b55 /source/blender/freestyle/intern/image
parentba8d6ca3dd92eed5d679caa28f5446cd07b8a112 (diff)
Cleanup: use colon separator after parameter
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
Diffstat (limited to 'source/blender/freestyle/intern/image')
-rw-r--r--source/blender/freestyle/intern/image/GaussianFilter.h8
-rw-r--r--source/blender/freestyle/intern/image/Image.h48
-rw-r--r--source/blender/freestyle/intern/image/ImagePyramid.h6
3 files changed, 31 insertions, 31 deletions
diff --git a/source/blender/freestyle/intern/image/GaussianFilter.h b/source/blender/freestyle/intern/image/GaussianFilter.h
index f460d56e5a5..56baa3c3d46 100644
--- a/source/blender/freestyle/intern/image/GaussianFilter.h
+++ b/source/blender/freestyle/intern/image/GaussianFilter.h
@@ -65,16 +65,16 @@ public:
/*! Returns the value for pixel x,y of image "map" after a gaussian blur, made using the sigma value.
* The sigma value determines the mask size (~ 2 x sigma).
- * \param map
+ * \param map:
* The image we wish to work on. The Map template must implement the following methods:
* - float pixel(unsigned int x,unsigned int y) const;
* - unsigned width() const;
* - unsigned height() const;
- * \param x
+ * \param x:
* The abscissa of the pixel where we want to evaluate the gaussian blur.
- * \param y
+ * \param y:
* The ordinate of the pixel where we want to evaluate the gaussian blur.
- * \param sigma
+ * \param sigma:
* The sigma value of the gaussian function.
*/
template<class Map>
diff --git a/source/blender/freestyle/intern/image/Image.h b/source/blender/freestyle/intern/image/Image.h
index 2e78e784214..c262da475d6 100644
--- a/source/blender/freestyle/intern/image/Image.h
+++ b/source/blender/freestyle/intern/image/Image.h
@@ -84,17 +84,17 @@ public:
}
/*! Builds a partial-storing image.
- * \param w
+ * \param w:
* The width of the complete image
- * \param h
+ * \param h:
* The height of the complete image
- * \param sw
+ * \param sw:
* The width of the rectangle that will actually be stored.
- * \param sh
+ * \param sh:
* The height of the rectangle that will actually be stored.
- * \param ox
+ * \param ox:
* The x-abscissa of the origin of the rectangle that will actually be stored.
- * \param oy
+ * \param oy:
* The x-abscissa of the origin of the rectangle that will actually be stored.
*/
FrsImage(unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy)
@@ -138,22 +138,22 @@ public:
virtual float pixel(unsigned x, unsigned y) const = 0;
/*! Sets the array.
- * \param array
+ * \param array:
* The array containing the values we wish to store.
* Its size is sw*sh.
- * \param width
+ * \param width:
* The width of the complete image
- * \param height
+ * \param height:
* The height of the complete image
- * \param sw
+ * \param sw:
* The width of the rectangle that will actually be stored.
- * \param sh
+ * \param sh:
* The height of the rectangle that will actually be stored.
- * \param ox
+ * \param ox:
* The x-abscissa of the origin of the rectangle that will actually be stored.
- * \param oy
+ * \param oy:
* The x-abscissa of the origin of the rectangle that will actually be stored.
- * \param copy
+ * \param copy:
* If true, the array is copied, otherwise the pointer is copied
*/
virtual void setArray(float *array, unsigned width, unsigned height, unsigned sw, unsigned sh,
@@ -208,16 +208,16 @@ public:
}
/*! Builds an RGB partial image from the useful part buffer.
- * \param rgb
+ * \param rgb:
* The array of size 3*sw*sh containing the RGB values of the sw*sh pixels we need to stored.
* These sw*sh pixels constitute a rectangular part of a bigger RGB image containing w*h pixels.
- * \param w
+ * \param w:
* The width of the complete image
- * \param h
+ * \param h:
* The height of the complete image
- * \param sw
+ * \param sw:
* The width of the part of the image we want to store and work on
- * \param sh
+ * \param sh:
* The height of the part of the image we want to store and work on
*/
RGBImage(float *rgb, unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy)
@@ -341,16 +341,16 @@ public:
}
/*! Builds a partial image from the useful part buffer.
- * \param lvl
+ * \param lvl:
* The array of size sw*sh containing the gray values of the sw*sh pixels we need to stored.
* These sw*sh pixels constitute a rectangular part of a bigger gray image containing w*h pixels.
- * \param w
+ * \param w:
* The width of the complete image
- * \param h
+ * \param h:
* The height of the complete image
- * \param sw
+ * \param sw:
* The width of the part of the image we want to store and work on
- * \param sh
+ * \param sh:
* The height of the part of the image we want to store and work on
*/
GrayImage(float *lvl, unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy)
diff --git a/source/blender/freestyle/intern/image/ImagePyramid.h b/source/blender/freestyle/intern/image/ImagePyramid.h
index 9a24ac6e1c8..fa55081646a 100644
--- a/source/blender/freestyle/intern/image/ImagePyramid.h
+++ b/source/blender/freestyle/intern/image/ImagePyramid.h
@@ -62,11 +62,11 @@ public:
virtual GrayImage *getLevel(int l);
/*! Returns the pixel x,y using bilinear interpolation.
- * \param x
+ * \param x:
* the abscissa specified in the finest level coordinate system
- * \param y
+ * \param y:
* the ordinate specified in the finest level coordinate system
- * \param level
+ * \param level:
* the level from which we want the pixel to be evaluated
*/
virtual float pixel(int x, int y, int level=0);