[Bf-blender-cvs] [86d52ade62] soc-2016-multiview: * fix code style

Tianwei Shen noreply at git.blender.org
Sun Jan 29 15:18:30 CET 2017


Commit: 86d52ade62dbee4d370bb732e93a9be66c5a256f
Author: Tianwei Shen
Date:   Sun Jan 29 22:15:38 2017 +0800
Branches: soc-2016-multiview
https://developer.blender.org/rB86d52ade62dbee4d370bb732e93a9be66c5a256f

* fix code style

- In Blender and C-API we follow Type *foo NOT Type* foo. Might be
different in Libmv itself.

===================================================================

M	intern/libmv/intern/reconstructionN.h

===================================================================

diff --git a/intern/libmv/intern/reconstructionN.h b/intern/libmv/intern/reconstructionN.h
index 29bf55b83b..4e4e330f07 100644
--- a/intern/libmv/intern/reconstructionN.h
+++ b/intern/libmv/intern/reconstructionN.h
@@ -42,24 +42,24 @@ typedef struct libmv_MultiviewReconstructionOptions {
   int *all_refine_intrinsics;		/* this should be an array since each clip has its own refine_flags */
 } libmv_MultiviewReconstructionOptions;
 
-typedef void (*multiview_reconstruct_progress_update_cb) (void* customdata,
+typedef void (*multiview_reconstruct_progress_update_cb) (void *customdata,
                                                           double progress,
-                                                          const char* message);
+                                                          const char *message);
 
-void libmv_reconstructionNDestroy(libmv_ReconstructionN* libmv_reconstructionN);
+void libmv_reconstructionNDestroy(libmv_ReconstructionN *libmv_reconstructionN);
 
 libmv_ReconstructionN** libmv_solveMultiviewReconstruction(const int clip_num,
         const struct libmv_TracksN **all_libmv_tracks,
         const libmv_CameraIntrinsicsOptions *all_libmv_camera_intrinsics_options,
         const libmv_CorrespondencesN *libmv_correspondences,
-        libmv_MultiviewReconstructionOptions* libmv_reconstruction_options,
+        libmv_MultiviewReconstructionOptions *libmv_reconstruction_options,
         multiview_reconstruct_progress_update_cb progress_update_callback,
-        void* callback_customdata);
+        void *callback_customdata);
 
 bool libmv_multiviewReconstructionIsValid(const int clip_num,
                                           const libmv_ReconstructionN **all_libmv_reconstruction);
 double libmv_multiviewReprojectionError(const int clip_num,
-                                        const libmv_ReconstructionN** all_libmv_reconstruction);
+                                        const libmv_ReconstructionN **all_libmv_reconstruction);
 
 libmv_CameraIntrinsics *libmv_reconstructionNExtractIntrinsics(libmv_ReconstructionN *libmv_reconstruction);




More information about the Bf-blender-cvs mailing list