1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

opencv_version: dump detected HW features

This commit is contained in:
Alexander Alekhin
2018-01-27 13:37:38 +00:00
parent 01f4a173ab
commit c8930cc279
3 changed files with 33 additions and 0 deletions
+5
View File
@@ -663,6 +663,11 @@ bool checkHardwareSupport(int feature)
return currentFeatures->have[feature];
}
String getHardwareFeatureName(int feature)
{
const char* name = getHWFeatureName(feature);
return name ? String(name) : String();
}
volatile bool useOptimizedFlag = true;