Home
last modified time | relevance | path

Searched refs:hsv_shift (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp951 const int hsv_shift = 12; in RGB2HSVConvert() local
968 s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; in RGB2HSVConvert()
970 h = (h * hdiv_table[diff] + (1 << (hsv_shift-1))) >> hsv_shift; in RGB2HSVConvert()
980 const int hsv_shift = 12; in RGB2HSVConvert() local
1000 s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; in RGB2HSVConvert()
1002 h = (h * hdiv_table[diff] + (1 << (hsv_shift-1))) >> hsv_shift; in RGB2HSVConvert()
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp618 const int hsv_shift = 12; in operator ()() local
638 s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; in operator ()()
640 h = (h * hdiv_table[diff] + (1 << (hsv_shift-1))) >> hsv_shift; in operator ()()
/external/opencv/cv/src/
Dcvcolor.cpp1155 const int hsv_shift = 12; in icvBGRx2HSV_8u_CnC3R() local
1237 s = diff * div_table[v] >> hsv_shift; in icvBGRx2HSV_8u_CnC3R()
1240 h = ((h * div_table[diff] * 15 + (1 << (hsv_shift + 6))) >> (7 + hsv_shift))\ in icvBGRx2HSV_8u_CnC3R()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl80 hsv_shift = 12,
1067 s = mad24(diff, sdiv_table[v], (1 << (hsv_shift-1))) >> hsv_shift;
1070 h = mad24(h, hdiv_table[diff], (1 << (hsv_shift-1))) >> hsv_shift;
/external/opencv3/modules/imgproc/src/
Dcolor.cpp4133 const int hsv_shift = 12; in operator ()() local
4149 sdiv_table[i] = saturate_cast<int>((255 << hsv_shift)/(1.*i)); in operator ()()
4150 hdiv_table180[i] = saturate_cast<int>((180 << hsv_shift)/(6.*i)); in operator ()()
4151 hdiv_table256[i] = saturate_cast<int>((256 << hsv_shift)/(6.*i)); in operator ()()
4172 s = (diff * sdiv_table[v] + (1 << (hsv_shift-1))) >> hsv_shift; in operator ()()
4175 h = (h * hdiv_table[diff] + (1 << (hsv_shift-1))) >> hsv_shift; in operator ()()
7045 … int * const hdiv_table = hrange == 180 ? hdiv_table180 : hdiv_table256, hsv_shift = 12; in ocl_cvtColor() local
7050 int v = 255 << hsv_shift; in ocl_cvtColor()
7058 v = hrange << hsv_shift; in ocl_cvtColor()