AB_SCALE 5234 modules/imgproc/src/imgwarp.cpp const int AB_SCALE = 1 << AB_BITS; AB_SCALE 5235 modules/imgproc/src/imgwarp.cpp int round_delta = interpolation == INTER_NEAREST ? AB_SCALE/2 : AB_SCALE/INTER_TAB_SIZE/2, x, y, x1, y1; AB_SCALE 5260 modules/imgproc/src/imgwarp.cpp int X0 = saturate_cast<int>((M[1]*(y + y1) + M[2])*AB_SCALE) + round_delta; AB_SCALE 5261 modules/imgproc/src/imgwarp.cpp int Y0 = saturate_cast<int>((M[4]*(y + y1) + M[5])*AB_SCALE) + round_delta; AB_SCALE 5607 modules/imgproc/src/imgwarp.cpp const int AB_SCALE = 1 << AB_BITS; AB_SCALE 5675 modules/imgproc/src/imgwarp.cpp adelta[x] = saturate_cast<int>(M[0]*x*AB_SCALE); AB_SCALE 5676 modules/imgproc/src/imgwarp.cpp bdelta[x] = saturate_cast<int>(M[3]*x*AB_SCALE); AB_SCALE 99 modules/imgproc/src/opencl/warp_affine.cl int round_delta = (AB_SCALE >> 1); AB_SCALE 101 modules/imgproc/src/opencl/warp_affine.cl int X0_ = rint(M[0] * dx * AB_SCALE); AB_SCALE 102 modules/imgproc/src/opencl/warp_affine.cl int Y0_ = rint(M[3] * dx * AB_SCALE); AB_SCALE 107 modules/imgproc/src/opencl/warp_affine.cl int X0 = X0_ + rint(fma(M[1], dy, M[2]) * AB_SCALE) + round_delta; AB_SCALE 108 modules/imgproc/src/opencl/warp_affine.cl int Y0 = Y0_ + rint(fma(M[4], dy, M[5]) * AB_SCALE) + round_delta; AB_SCALE 149 modules/imgproc/src/opencl/warp_affine.cl int X0 = X0_ + rint(fma(M[1], dy, M[2]) * AB_SCALE) + ROUND_DELTA; AB_SCALE 150 modules/imgproc/src/opencl/warp_affine.cl int Y0 = Y0_ + rint(fma(M[4], dy, M[5]) * AB_SCALE) + ROUND_DELTA; AB_SCALE 277 modules/imgproc/src/opencl/warp_affine.cl int X0 = rint(M[0] * tmp) + rint(fma(M[1], dy, M[2]) * AB_SCALE) + ROUND_DELTA; AB_SCALE 278 modules/imgproc/src/opencl/warp_affine.cl int Y0 = rint(M[3] * tmp) + rint(fma(M[4], dy, M[5]) * AB_SCALE) + ROUND_DELTA; AB_SCALE 1076 modules/imgproc/test/test_imgwarp_strict.cpp const int AB_SCALE = 1 << AB_BITS; AB_SCALE 1077 modules/imgproc/test/test_imgwarp_strict.cpp int round_delta = (inter == INTER_NEAREST) ? AB_SCALE / 2 : (AB_SCALE / INTER_TAB_SIZE / 2); AB_SCALE 1085 modules/imgproc/test/test_imgwarp_strict.cpp int v1 = saturate_cast<int>(saturate_cast<int>(data_tM[0] * dx * AB_SCALE) + AB_SCALE 1086 modules/imgproc/test/test_imgwarp_strict.cpp saturate_cast<int>((data_tM[1] * dy + data_tM[2]) * AB_SCALE) + round_delta), AB_SCALE 1087 modules/imgproc/test/test_imgwarp_strict.cpp v2 = saturate_cast<int>(saturate_cast<int>(data_tM[3] * dx * AB_SCALE) + AB_SCALE 1088 modules/imgproc/test/test_imgwarp_strict.cpp saturate_cast<int>((data_tM[4] * dy + data_tM[5]) * AB_SCALE) + round_delta);