Searched refs:hsv_shift (Results 1 – 5 of 5) sorted by relevance
951 const int hsv_shift = 12; in RGB2HSVConvert() local968 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() local1000 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()
618 const int hsv_shift = 12; in operator ()() local638 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 ()()
1155 const int hsv_shift = 12; in icvBGRx2HSV_8u_CnC3R() local1237 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()
80 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;
4133 const int hsv_shift = 12; in operator ()() local4149 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() local7050 int v = 255 << hsv_shift; in ocl_cvtColor()7058 v = hrange << hsv_shift; in ocl_cvtColor()