Revision: 56356
          http://sourceforge.net/p/brlcad/code/56356
Author:   mohitdaga
Date:     2013-07-30 19:50:17 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
Sanitizes Indentation

Modified Paths:
--------------
    brlcad/trunk/src/libicv/filter.c

Modified: brlcad/trunk/src/libicv/filter.c
===================================================================
--- brlcad/trunk/src/libicv/filter.c    2013-07-30 19:47:21 UTC (rev 56355)
+++ brlcad/trunk/src/libicv/filter.c    2013-07-30 19:50:17 UTC (rev 56356)
@@ -148,7 +148,7 @@
 
 /* begin public functions */
 
-int icv_filter(icv_image_t* img, ICV_FILTER filter_type)
+int icv_filter(icv_image_t *img, ICV_FILTER filter_type)
 {
     double *kern=NULL, *kern_p=NULL;
     double c_val;
@@ -178,17 +178,17 @@
 
     index = -1;
 
-    for (s = 0; s <= size; s++ ) {
+    for (s = 0; s <= size; s++) {
        index++;
        c_val = 0;
        kern_p = kern;
 
-       for (k = -k_dim/2; k<=k_dim/2; k++ ) {
+       for (k = -k_dim/2; k<=k_dim/2; k++) {
            n_index = index + k*widthstep;
            data_p = in_data + n_index;
            for (i = 0; i<=k_dim; i++ ) {
-          /*Ensures that the arguments are given a zero value for
-          out of bound pixels. Thus behaves similar to zero padding*/
+          /* Ensures that the arguments are given a zero value for
+          out of bound pixels. Thus behaves similar to zero padding */
                if (n_index >= 0 && n_index < size) {
                    c_val  += (*kern_p++)*(*data_p);
                    data_p += img->channels;
@@ -203,9 +203,9 @@
     return 0;
 }
 
-icv_image_t* icv_filter3(icv_image_t* old_img, icv_image_t* curr_img, 
icv_image_t* new_img, ICV_FILTER filter_type)
+icv_image_t *icv_filter3(icv_image_t *old_img, icv_image_t *curr_img, 
icv_image_t *new_img, ICV_FILTER filter_type)
 {
-    icv_image_t* out_img;
+    icv_image_t *out_img;
     double *kern=NULL;
     double *kern_old,*kern_curr,*kern_new;
     double c_val;
@@ -258,8 +258,8 @@
            curr_data_p = curr_data + n_index;
            new_data_p = new_data + n_index;
            for (i = 0; i<=k_dim; i++ ) {
-          /*Ensures that the arguments are given a zero value for
-          out of bound pixels. Thus behaves similar to zero padding*/
+          /* Ensures that the arguments are given a zero value for
+          out of bound pixels. Thus behaves similar to zero padding */
                if (n_index >= 0 && n_index < size) {
                    c_val  += (*kern_old++)*(*old_data_p);
                    c_val  += (*kern_curr++)*(*curr_data_p);
@@ -276,7 +276,7 @@
     return 0;
 }
 
-int icv_fade(icv_image_t* img, double fraction)
+int icv_fade(icv_image_t *img, double fraction)
 {
     size_t size;
     double *data;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to