Searched refs:CV_LOG2 (Results 1 – 11 of 11) sorted by relevance
88 #define CV_LOG2_F ((float)CV_LOG2)
216 blob_count = cvRound(exp(cvtest::randReal(rng)*max_log_blob_count*CV_LOG2)); in prepare_test_case()219 (max_log_img_size - min_log_img_size) + min_log_img_size)*CV_LOG2)); in prepare_test_case()221 (max_log_img_size - min_log_img_size) + min_log_img_size)*CV_LOG2)); in prepare_test_case()
145 hist_size = exp(cvtest::randReal(rng)*max_log_size*CV_LOG2); in get_hist_params()160 img_size.width = cvRound( exp(cvtest::randReal(rng) * img_max_log_size * CV_LOG2) ); in get_hist_params()161 img_size.height = cvRound( exp(cvtest::randReal(rng) * img_max_log_size * CV_LOG2) ); in get_hist_params()
345 …e = cvRound( exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2) ); in prepare_test_case()
110 size.width = cvRound( exp(val*CV_LOG2) ); in get_test_array_types_and_sizes()112 size.height = cvRound( exp(val*CV_LOG2) ); in get_test_array_types_and_sizes()
535 elem_size = cvRound( exp(t * CV_LOG2) ); in test_multi_create()1000 storage.reset(cvCreateMemStorage( cvRound( exp(t * CV_LOG2) ) )); in run()1088 storage.reset(cvCreateMemStorage( cvRound( exp(t * CV_LOG2) ) )); in run()1385 storage.reset(cvCreateMemStorage( cvRound( exp(t * CV_LOG2) ) )); in run()1390 int pure_elem_size = cvRound( exp(t * CV_LOG2) ); in run()1809 int block_size = cvRound( exp(t * CV_LOG2) ); in run()1821 … int pe = cvRound( exp(t * CV_LOG2) ) - 1; // pure_elem_size==0 does also make sense in run()1926 int storage_blocksize = cvRound( exp(t * CV_LOG2) ); in run()
49 alpha = exp(rng.uniform(-0.5, 0.1)*m*2*CV_LOG2); in generateScalars()54 beta = exp(rng.uniform(-0.5, 0.1)*m*2*CV_LOG2); in generateScalars()62 gamma[i] = exp(rng.uniform(-1, 6)*m*CV_LOG2); in generateScalars()
161 …width = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); in prepare_test_case()162 …eight = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); in prepare_test_case()
303 #define CV_LOG2 0.69314718055994530941723212145818 macro
184 #define CV_LOG2 0.69314718055994530941723212145818 macro
5080 newsize = (size_t)1 << cvCeil(std::log((double)newsize)/CV_LOG2); in resizeHashTab()