endif()\r
\r
if(ENABLE_OPENMP)\r
- set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /openmp")\r
+ set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} /openmp")\r
endif()\r
\r
# Remove unreferenced functions: function level linking\r
#endif /* CV_INLINE */
#ifndef CV_FORCE_INLINE
-#if defined __GNUC__ && __GNUC__*10 + __GNUC_MINOR__ >= 31
- #define CV_FORCE_INLINE __attribute__((always_inline))
-#elif defined _MSC_VER
- #define CV_FORCE_INLINE __forceinline
-#else
#define CV_FORCE_INLINE CV_INLINE
#endif
-#endif
#if (defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 || defined WINCE) && defined CVAPI_EXPORTS
#define CV_EXPORTS __declspec(dllexport)
double CxCore_PerspectiveTransformTest::get_success_error_level( int test_case_idx, int i, int j )
{
int depth = CV_MAT_DEPTH(test_mat[INPUT][0].type);
- return depth == CV_32F ? 1e-4 : depth == CV_64F ? 1e-9 :
+ return depth == CV_32F ? 1e-4 : depth == CV_64F ? 1e-8 :
CxCore_MatrixTest::get_success_error_level(test_case_idx, i, j);
}
if( memory_manager )
memory_manager->start_tracking();
update_context( test, -1, true );
+ current_test_info.rng_seed0 = current_test_info.rng_seed;
+
ostream_testname_mask = 0; // reset "test name was printed" flags
if( output_streams[LOG_IDX].f )
fflush( output_streams[LOG_IDX].f );
if( i != CSV_IDX && !(ostream_testname_mask & (1 << i)) && current_test_info.test )
{
fprintf( f, "-------------------------------------------------\n" );
+ if( i == CONSOLE_IDX || i == SUMMARY_IDX )
+ fprintf( f, "[%08x%08x]\n", (int)(current_test_info.rng_seed0 >> 32),
+ (int)(current_test_info.rng_seed0));
fprintf( f, "%s: ", current_test_info.test->get_name() );
fflush( f );
ostream_testname_mask |= 1 << i;
// seed value right before the data for the failed test case is prepared.
uint64 rng_seed;
+
+ // seed value right before running the test
+ uint64 rng_seed0;
// index of test case, can be then passed to CvTest::proceed_to_test_case()
int test_case_idx;