downsample.cpp
Go to the documentation of this file.
00001 /*
00002  * downsample.cpp
00003  *
00004  * Code generation for function 'downsample'
00005  *
00006  * C source code generated on: Thu Jul 11 13:34:17 2013
00007  *
00008  */
00009 
00010 /* Include files */
00011 #include "rt_nonfinite.h"
00012 #include "Optimal_affine_tracking_3d16_fast_realtime.h"
00013 #include "downsample.h"
00014 
00015 /* Type Definitions */
00016 
00017 /* Named Constants */
00018 
00019 /* Variable Declarations */
00020 
00021 /* Variable Definitions */
00022 
00023 /* Function Declarations */
00024 
00025 /* Function Definitions */
00026 void b_downsample(const real_T x[84231], real_T y[42211])
00027 {
00028   int32_T ystart;
00029   int32_T i;
00030   int32_T iy;
00031   int32_T k;
00032   ystart = 0;
00033   for (i = 0; i < 191; i++) {
00034     iy = ystart;
00035     for (k = 0; k < 221; k++) {
00036       y[iy] = 1.0;
00037       iy++;
00038     }
00039 
00040     ystart += 221;
00041   }
00042 }
00043 
00044 void downsample(const real_T x[168021], real_T y[84231])
00045 {
00046   int32_T ystart;
00047   int32_T i;
00048   int32_T iy;
00049   int32_T k;
00050   ystart = 0;
00051   for (i = 0; i < 441; i++) {
00052     iy = ystart;
00053     for (k = 0; k < 191; k++) {
00054       y[iy] = 1.0;
00055       iy++;
00056     }
00057 
00058     ystart += 191;
00059   }
00060 }
00061 
00062 /* End of code generation (downsample.cpp) */


depth_tracker_ros_vr8
Author(s): shusain
autogenerated on Fri Dec 6 2013 20:45:46