yidx 6683 modules/imgproc/src/color.cpp int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; yidx 6886 modules/imgproc/src/color.cpp yidx = (code==COLOR_YUV2RGB_UYVY || code==COLOR_YUV2RGBA_UYVY || code==COLOR_YUV2BGR_UYVY || code==COLOR_YUV2BGRA_UYVY) ? 1 : 0; yidx 6889 modules/imgproc/src/color.cpp uidx = 1 - yidx + uidx; yidx 6895 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D uidx=%d -D yidx=%d%s", dcn, bidx, uidx, yidx, yidx 118 modules/imgproc/src/opencl/cvtcolor.cl #ifndef yidx yidx 581 modules/imgproc/src/opencl/cvtcolor.cl float y00 = max(0.f, ((float) src[yidx]) - 16.f) * coeffs[0]; yidx 582 modules/imgproc/src/opencl/cvtcolor.cl float y01 = max(0.f, ((float) src[yidx + 2]) - 16.f) * coeffs[0]; yidx 588 modules/imgproc/src/opencl/cvtcolor.cl float y00 = max(0.f, vec_src[yidx] - 16.f) * coeffs[0]; yidx 589 modules/imgproc/src/opencl/cvtcolor.cl float y01 = max(0.f, vec_src[yidx + 2] - 16.f) * coeffs[0];