Home
last modified time | relevance | path

Searched refs:v3_half (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl1597 uchar v3 = src_pix.w, v3_half = v3 / 2;
1603 (uchar4)(mad24(src_pix.x, MAX_NUM, v3_half) / v3,
1604 mad24(src_pix.y, MAX_NUM, v3_half) / v3,
1605 mad24(src_pix.z, MAX_NUM, v3_half) / v3, v3);
/external/opencv3/modules/imgproc/src/
Dcolor.cpp6666 _Tp v3_half = v3 / 2; in operator ()() local
6668 *dst++ = (v3==0)? 0 : (v0 * max_val + v3_half) / v3; in operator ()()
6669 *dst++ = (v3==0)? 0 : (v1 * max_val + v3_half) / v3; in operator ()()
6670 *dst++ = (v3==0)? 0 : (v2 * max_val + v3_half) / v3; in operator ()()