SSE2 optimization for Bayer->RGB; added Bayer->Gray with SSE2 optimization; corrected some bugs noted in the yahoogroups forum

This commit is contained in:
Vadim Pisarevsky
2010-12-10 19:06:38 +00:00
parent e834a46ccf
commit da293ee3d9
7 changed files with 279 additions and 67 deletions

View File

@@ -60,7 +60,7 @@ namespace cv
carry = temp / (2^32)
*/
#define RNG_NEXT(x) ((uint64)(unsigned)(x)*RNG::A + ((x) >> 32))
#define RNG_NEXT(x) ((uint64)(unsigned)(x)*CV_RNG_COEFF + ((x) >> 32))
/***************************************************************************************\
* Pseudo-Random Number Generators (PRNGs) *