Searched refs:sdiv_table (Results 1 – 2 of 2) sorted by relevance
4135 static int sdiv_table[256]; in operator ()() local4146 sdiv_table[0] = hdiv_table180[0] = hdiv_table256[0] = 0; in operator ()()4149 sdiv_table[i] = saturate_cast<int>((255 << hsv_shift)/(1.*i)); in operator ()()4172 s = (diff * sdiv_table[v] + (1 << (hsv_shift-1))) >> hsv_shift; in operator ()()7037 static int sdiv_table[256]; in ocl_cvtColor() local7048 sdiv_table[0] = hdiv_table180[0] = hdiv_table256[0] = 0; in ocl_cvtColor()7054 sdiv_table[i] = saturate_cast<int>(v/(1.*i)); in ocl_cvtColor()7055 Mat(1, 256, CV_32SC1, sdiv_table).copyTo(sdiv_data); in ocl_cvtColor()
1036 __constant int * sdiv_table, __constant int * hdiv_table)1067 s = mad24(diff, sdiv_table[v], (1 << (hsv_shift-1))) >> hsv_shift;