Function opencv::core::set_use_optimized
[−]
[src]
pub fn set_use_optimized(onoff: bool) -> Result<(), String>
Turns on/off available optimization
The function turns on or off the optimized code in OpenCV. Some optimization can not be enabled or disabled, but, for example, most of SSE code in OpenCV can be temporarily turned on or off this way.
\note{Since optimization may imply using special data structures, it may be unsafe to call this function anywhere in the code. Instead, call it somewhere at the top level.}