From b229d6b7ac90b9084fb11247fe3a1cb833534a8f Mon Sep 17 00:00:00 2001 From: Olexa Bilaniuk Date: Tue, 3 Mar 2015 08:05:52 -0500 Subject: [PATCH] Moved constants to cv:: namespace. --- modules/calib3d/src/rhorefc.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/calib3d/src/rhorefc.cpp b/modules/calib3d/src/rhorefc.cpp index 8372d251ae..c829bb15ad 100644 --- a/modules/calib3d/src/rhorefc.cpp +++ b/modules/calib3d/src/rhorefc.cpp @@ -56,7 +56,15 @@ #include #include "rhorefc.h" -/* Defines */ + + + + +/* For the sake of cv:: namespace ONLY: */ +namespace cv{/* For C support, replace with extern "C" { */ + + +/* Constants */ const int MEM_ALIGN = 32; const size_t HSIZE = (3*3*sizeof(float)); const double MIN_DELTA_CHNG = 0.1; @@ -74,12 +82,6 @@ const double LM_GAIN_LO = 0.25; /* See sacLMGain(). */ const double LM_GAIN_HI = 0.75; /* See sacLMGain(). */ - - - -/* For the sake of cv:: namespace ONLY: */ -namespace cv{/* For C support, replace with extern "C" { */ - /* Data Structures */ struct RHO_HEST_REFC{ /**