downsample2d.cpp
Go to the documentation of this file.
00001 /*
00002  * downsample2d.cpp
00003  *
00004  * Code generation for function 'downsample2d'
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 "downsample2d.h"
00014 #include "downsample.h"
00015 
00016 /* Type Definitions */
00017 
00018 /* Named Constants */
00019 
00020 /* Variable Declarations */
00021 
00022 /* Variable Definitions */
00023 
00024 /* Function Declarations */
00025 
00026 /* Function Definitions */
00027 void downsample2d(const real_T M[168021], real_T Y[42211])
00028 {
00029   static real_T b_M[84231];
00030   static real_T c_M[84231];
00031   int32_T i5;
00032   int32_T i6;
00033   static real_T b_Y[42211];
00034   downsample(M, b_M);
00035   for (i5 = 0; i5 < 191; i5++) {
00036     for (i6 = 0; i6 < 441; i6++) {
00037       c_M[i6 + 441 * i5] = b_M[i5 + 191 * i6];
00038     }
00039   }
00040 
00041   b_downsample(c_M, b_Y);
00042   for (i5 = 0; i5 < 221; i5++) {
00043     for (i6 = 0; i6 < 191; i6++) {
00044       Y[i6 + 191 * i5] = b_Y[i5 + 221 * i6];
00045     }
00046   }
00047 }
00048 
00049 /* End of code generation (downsample2d.cpp) */


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