Wondercoll
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
cxrand.cpp File Reference
#include "_cxcore.h"

Macros

#define ICV_RNG_NEXT(x)   ((uint64)(unsigned)(x)*1554115554 + ((x) >> 32))
 
#define ICV_CVT_FLT(x)   (((unsigned)(x) >> 9)|CV_1F)
 
#define ICV_1D   CV_BIG_INT(0x3FF0000000000000)
 
#define ICV_CVT_DBL(x)   (((uint64)(unsigned)(x) << 20)|((x) >> 44)|ICV_1D)
 
#define ICV_IMPL_RAND_BITS(flavor, arrtype, cast_macro)
 
#define ICV_IMPL_RAND(flavor, arrtype, worktype, cast_macro1, cast_macro2)
 
#define RAND_BUF_SIZE   96
 
#define ICV_IMPL_RANDN(flavor, arrtype, worktype, cast_macro1, cast_macro2)
 

Functions

CV_IMPL void cvRandArr (CvRNG *rng, CvArr *arr, int disttype, CvScalar param1, CvScalar param2)
 

Macro Definition Documentation

#define ICV_1D   CV_BIG_INT(0x3FF0000000000000)
#define ICV_CVT_DBL (   x)    (((uint64)(unsigned)(x) << 20)|((x) >> 44)|ICV_1D)
#define ICV_CVT_FLT (   x)    (((unsigned)(x) >> 9)|CV_1F)
#define ICV_IMPL_RAND (   flavor,
  arrtype,
  worktype,
  cast_macro1,
  cast_macro2 
)
#define ICV_IMPL_RAND_BITS (   flavor,
  arrtype,
  cast_macro 
)
#define ICV_IMPL_RANDN (   flavor,
  arrtype,
  worktype,
  cast_macro1,
  cast_macro2 
)
#define ICV_RNG_NEXT (   x)    ((uint64)(unsigned)(x)*1554115554 + ((x) >> 32))
#define RAND_BUF_SIZE   96

Function Documentation

CV_IMPL void cvRandArr ( CvRNG rng,
CvArr arr,
int  disttype,
CvScalar  param1,
CvScalar  param2 
)