Code cleanup: Mostly whitespace
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 9 Oct 2014 20:17:46 +0000 (02:17 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 9 Oct 2014 20:17:46 +0000 (02:17 +0600)
extern/libmv/intern/camera_intrinsics.cc
extern/libmv/intern/image.cc
extern/libmv/intern/reconstruction.cc

index e8b99970ff7041f99655f82f638620bf68b37780..0ce757cc93b3644db0028b8c79711823b4c85e27 100644 (file)
@@ -349,6 +349,7 @@ CameraIntrinsics* libmv_cameraIntrinsicsCreateFromOptions(
     default:
       assert(!"Unknown distortion model");
   }
-  libmv_cameraIntrinsicsFillFromOptions(camera_intrinsics_options, camera_intrinsics);
+  libmv_cameraIntrinsicsFillFromOptions(camera_intrinsics_options,
+                                        camera_intrinsics);
   return camera_intrinsics;
 }
index 7e623bdbec71652644f0b938e6d942889b22010c..df9a01ee8de0fbfb3004194b832fa0cad1e67155 100644 (file)
@@ -238,7 +238,7 @@ void libmv_samplePlanarPatchFloat(const float* image,
   libmv_floatImageToFloatBuffer(libmv_patch, patch);
 }
 
- void libmv_samplePlanarPatchByte(const unsigned char* image,
+void libmv_samplePlanarPatchByte(const unsigned char* image,
                                   int width,
                                   int height,
                                   int channels,
@@ -268,5 +268,5 @@ void libmv_samplePlanarPatchFloat(const float* image,
                            warped_position_x,
                            warped_position_y);
 
-       libmv_floatImageToByteBuffer(libmv_patch, patch);
+  libmv_floatImageToByteBuffer(libmv_patch, patch);
 }
index eb3677fd206bd27cf7a9c29d4868a3538713b882..f89efd8e8caf438eee5dd76bbd1bf6ed2f93ab36 100644 (file)
@@ -220,8 +220,7 @@ Marker libmv_projectMarker(const EuclideanPoint& point,
 
 void libmv_getNormalizedTracks(const Tracks &tracks,
                                const CameraIntrinsics &camera_intrinsics,
-                               Tracks *normalized_tracks)
-{
+                               Tracks *normalized_tracks) {
   libmv::vector<Marker> markers = tracks.AllMarkers();
   for (int i = 0; i < markers.size(); ++i) {
     Marker &marker = markers[i];