Lines Matching refs:plugins

346 static CvPluginInfo plugins[CV_PLUGIN_MAX];  variable
391 if( plugins[CV_PLUGIN_OPTCV].handle != 0 ) in icvUpdatePluginFuncTab()
395 assert( plugins[i].handle == 0 ); in icvUpdatePluginFuncTab()
396 plugins[i].handle = plugins[CV_PLUGIN_OPTCV].handle; in icvUpdatePluginFuncTab()
427 if( plugins[idx].handle != 0 && name_start ) in icvUpdatePluginFuncTab()
437 addr = (uchar*)GetProcAddress( plugins[idx].handle, name ); in icvUpdatePluginFuncTab()
454 ICV_PRINTF(("%s: \t%s\n", name, plugins[idx].name )); in icvUpdatePluginFuncTab()
479 if( plugins[CV_PLUGIN_OPTCV].handle != 0 ) in icvUpdatePluginFuncTab()
482 plugins[i].handle = 0; in icvUpdatePluginFuncTab()
563 plugins[i].basename = 0; in cvUseOptimized()
564 plugins[CV_PLUGIN_NONE].basename = 0; in cvUseOptimized()
565 plugins[CV_PLUGIN_NONE].name[0] = '\0'; in cvUseOptimized()
566 plugins[CV_PLUGIN_OPTCV].basename = "ippopencv"; in cvUseOptimized()
567 plugins[CV_PLUGIN_IPPCV].basename = "ippcv"; in cvUseOptimized()
568 plugins[CV_PLUGIN_IPPI].basename = "ippi"; in cvUseOptimized()
569 plugins[CV_PLUGIN_IPPS].basename = "ipps"; in cvUseOptimized()
570 plugins[CV_PLUGIN_IPPVM].basename = "ippvm"; in cvUseOptimized()
571 plugins[CV_PLUGIN_IPPCC].basename = "ippcc"; in cvUseOptimized()
572 plugins[CV_PLUGIN_MKL].basename = "mkl_"; in cvUseOptimized()
578 if( plugins[i].handle ) in cvUseOptimized()
580 FreeLibrary( plugins[i].handle ); in cvUseOptimized()
581 plugins[i].handle = 0; in cvUseOptimized()
585 if( i < CV_PLUGIN_MKL && load_flag && plugins[CV_PLUGIN_OPTCV].handle != 0 ) in cvUseOptimized()
588 if( load_flag && plugins[i].basename && in cvUseOptimized()
603 sprintf( plugins[i].name, DLL_PREFIX "%s%s" DLL_DEBUG_FLAG DLL_SUFFIX, in cvUseOptimized()
604 plugins[i].basename, *suffix ); in cvUseOptimized()
606 ICV_PRINTF(("loading %s...\n", plugins[i].name )); in cvUseOptimized()
607 plugins[i].handle = LoadLibrary( plugins[i].name ); in cvUseOptimized()
608 if( plugins[i].handle != 0 ) in cvUseOptimized()
610 ICV_PRINTF(("%s loaded\n", plugins[i].name )); in cvUseOptimized()
616 sprintf( plugins[i].name, DLL_PREFIX "%s%s" DLL_DEBUG_FLAG ".dylib", in cvUseOptimized()
617 plugins[i].basename, *suffix ); in cvUseOptimized()
619 ICV_PRINTF(("loading %s...\n", plugins[i].name )); in cvUseOptimized()
620 plugins[i].handle = LoadLibrary( plugins[i].name ); in cvUseOptimized()
621 if( plugins[i].handle != 0 ) in cvUseOptimized()
623 ICV_PRINTF(("%s loaded\n", plugins[i].name )); in cvUseOptimized()
703 if( plugins[i].handle != 0 ) in cvGetModuleInfo()
705 sprintf( ptr, "%s, ", plugins[i].name ); in cvGetModuleInfo()