OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
utility.hpp File Reference
#include "opencv2/core.hpp"
#include "opencv2/core/core_c.h"

Classes

class  cv::AutoBuffer< _Tp, fixed_size >
 Automatically Allocated Buffer Class. More...
 
class  cv::AutoLock
 
class  cv::CommandLineParser
 designed for command line arguments parsing More...
 
class  cv::Mutex
 
class  cv::ParallelLoopBody
 Base class for parallel data processors. More...
 
class  cv::TLSData< T >
 
class  cv::TLSDataContainer
 

Namespaces

 cv
 

Macros

#define CV_IMPL_ADD(impl)
 

Typedefs

typedef int(* cv::ErrorCallback )(int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 

Enumerations

enum  cv::CpuFeatures {
  cv::CPU_MMX = 1,
  cv::CPU_SSE = 2,
  cv::CPU_SSE2 = 3,
  cv::CPU_SSE3 = 4,
  cv::CPU_SSSE3 = 5,
  cv::CPU_SSE4_1 = 6,
  cv::CPU_SSE4_2 = 7,
  cv::CPU_POPCNT = 8,
  cv::CPU_AVX = 10,
  cv::CPU_AVX2 = 11,
  cv::CPU_FMA3 = 12,
  cv::CPU_AVX_512F = 13,
  cv::CPU_AVX_512BW = 14,
  cv::CPU_AVX_512CD = 15,
  cv::CPU_AVX_512DQ = 16,
  cv::CPU_AVX_512ER = 17,
  cv::CPU_AVX_512IFMA512 = 18,
  cv::CPU_AVX_512PF = 19,
  cv::CPU_AVX_512VBMI = 20,
  cv::CPU_AVX_512VL = 21,
  cv::CPU_NEON = 100
}
 Available CPU features. More...
 

Functions

template<typename _Tp >
static _Tp * cv::alignPtr (_Tp *ptr, int n=(int) sizeof(_Tp))
 Aligns a pointer to the specified number of bytes. More...
 
static size_t cv::alignSize (size_t sz, int n)
 Aligns a buffer size to the specified number of bytes. More...
 
bool cv::checkHardwareSupport (int feature)
 Returns true if the specified feature is supported by the host hardware. More...
 
String cv::format (const char *fmt,...)
 Returns a text string formatted using the printf-like expression. More...
 
const String & cv::getBuildInformation ()
 Returns full configuration time cmake output. More...
 
int64 cv::getCPUTickCount ()
 Returns the number of CPU ticks. More...
 
static size_t cv::getElemSize (int type)
 
int cv::getNumberOfCPUs ()
 Returns the number of logical CPUs available for the process. More...
 
int cv::getNumThreads ()
 Returns the number of threads used by OpenCV for parallel regions. More...
 
int cv::getThreadNum ()
 Returns the index of the currently executed thread within the current parallel region. Always returns 0 if called outside of parallel region. More...
 
int64 cv::getTickCount ()
 Returns the number of ticks. More...
 
double cv::getTickFrequency ()
 Returns the number of ticks per second. More...
 
void cv::glob (String pattern, std::vector< String > &result, bool recursive=false)
 
void cv::parallel_for_ (const Range &range, const ParallelLoopBody &body, double nstripes=-1.)
 Parallel data processor. More...
 
ErrorCallback cv::redirectError (ErrorCallback errCallback, void *userdata=0, void **prevUserdata=0)
 Sets the new error handler and the optional user data. More...
 
bool cv::setBreakOnError (bool flag)
 Sets/resets the break-on-error mode. More...
 
void cv::setNumThreads (int nthreads)
 OpenCV will try to set the number of threads for the next parallel region. More...
 
void cv::setUseOptimized (bool onoff)
 Enables or disables the optimized code. More...
 
String cv::tempfile (const char *suffix=0)
 
bool cv::useOptimized ()
 Returns the status of optimized code usage. More...
 

Macro Definition Documentation

#define CV_IMPL_ADD (   impl)