CT 24 modules/core/src/opencl/fft.cl CT mul_complex(CT a, CT b) { CT 25 modules/core/src/opencl/fft.cl return (CT)(fma(a.x, b.x, -a.y * b.y), fma(a.x, b.y, a.y * b.x)); CT 29 modules/core/src/opencl/fft.cl CT twiddle(CT a) { CT 30 modules/core/src/opencl/fft.cl return (CT)(a.y, -a.x); CT 34 modules/core/src/opencl/fft.cl void butterfly2(CT a0, CT a1, __local CT* smem, __global const CT* twiddles, CT 46 modules/core/src/opencl/fft.cl void butterfly4(CT a0, CT a1, CT a2, CT a3, __local CT* smem, __global const CT* twiddles, CT 56 modules/core/src/opencl/fft.cl CT b0 = a0 + a2; CT 58 modules/core/src/opencl/fft.cl CT b1 = a1 + a3; CT 68 modules/core/src/opencl/fft.cl void butterfly3(CT a0, CT a1, CT a2, __local CT* smem, __global const CT* twiddles, CT 76 modules/core/src/opencl/fft.cl CT b1 = a1 + a2; CT 78 modules/core/src/opencl/fft.cl CT b0 = a0 - (CT)(0.5f)*b1; CT 86 modules/core/src/opencl/fft.cl void butterfly5(CT a0, CT a1, CT a2, CT a3, CT a4, __local CT* smem, __global const CT* twiddles, CT 96 modules/core/src/opencl/fft.cl __local CT* dst = smem + dst_ind; CT 98 modules/core/src/opencl/fft.cl CT b0, b1, b5; CT 107 modules/core/src/opencl/fft.cl b0 = a0 - (CT)0.25f * a2; CT 110 modules/core/src/opencl/fft.cl a4 = fft5_3 * (CT)(-a1.y - a3.y, a1.x + a3.x); CT 111 modules/core/src/opencl/fft.cl b5 = (CT)(a4.x - fft5_5 * a1.y, a4.y + fft5_5 * a1.x); CT 127 modules/core/src/opencl/fft.cl void fft_radix2(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) CT 129 modules/core/src/opencl/fft.cl CT a0, a1; CT 146 modules/core/src/opencl/fft.cl void fft_radix2_B2(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 149 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3; CT 169 modules/core/src/opencl/fft.cl void fft_radix2_B3(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 173 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5; CT 195 modules/core/src/opencl/fft.cl void fft_radix2_B4(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 201 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7; CT 225 modules/core/src/opencl/fft.cl void fft_radix2_B5(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 232 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; CT 258 modules/core/src/opencl/fft.cl void fft_radix4(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) CT 260 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3; CT 276 modules/core/src/opencl/fft.cl void fft_radix4_B2(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 279 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7; CT 299 modules/core/src/opencl/fft.cl void fft_radix4_B3(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 303 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11; CT 325 modules/core/src/opencl/fft.cl void fft_radix8(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) CT 328 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7; CT 343 modules/core/src/opencl/fft.cl CT b0, b1, b6, b7; CT 349 modules/core/src/opencl/fft.cl a5 = (CT)(SQRT_2) * (CT)(a5.x + a5.y, -a5.x + a5.y); CT 353 modules/core/src/opencl/fft.cl b7 = (CT)(SQRT_2) * (CT)(-b7.x + b7.y, -b7.x - b7.y); CT 372 modules/core/src/opencl/fft.cl __local CT* dst = smem + dst_ind; CT 388 modules/core/src/opencl/fft.cl void fft_radix3(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) CT 390 modules/core/src/opencl/fft.cl CT a0, a1, a2; CT 406 modules/core/src/opencl/fft.cl void fft_radix3_B2(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 409 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5; CT 429 modules/core/src/opencl/fft.cl void fft_radix3_B3(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 433 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7, a8; CT 455 modules/core/src/opencl/fft.cl void fft_radix3_B4(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 461 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11; CT 485 modules/core/src/opencl/fft.cl void fft_radix5(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) CT 488 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4; CT 504 modules/core/src/opencl/fft.cl void fft_radix5_B2(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) CT 507 modules/core/src/opencl/fft.cl CT a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; CT 534 modules/core/src/opencl/fft.cl __global CT* twiddles_ptr, int twiddles_step, int twiddles_offset, const int t, const int nz) CT 541 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; CT 542 modules/core/src/opencl/fft.cl __global const CT* twiddles = (__global const CT*)(twiddles_ptr + twiddles_offset); CT 551 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset))); CT 559 modules/core/src/opencl/fft.cl smem[x+i*block_size] = (CT)(src[i*block_size], 0.f); CT 573 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); CT 582 modules/core/src/opencl/fft.cl dst[dst_cols-i] = (CT)(SCALE_VAL(smem[i].x, scale), SCALE_VAL(-smem[i].y, scale)); CT 601 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); CT 613 modules/core/src/opencl/fft.cl __global CT* twiddles_ptr, int twiddles_step, int twiddles_offset, const int t, const int nz) CT 620 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; CT 621 modules/core/src/opencl/fft.cl __global const uchar* src = src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset)); CT 622 modules/core/src/opencl/fft.cl __global const CT* twiddles = (__global const CT*)(twiddles_ptr + twiddles_offset); CT 629 modules/core/src/opencl/fft.cl smem[y+i*block_size] = *((__global const CT*)(src + i*block_size*src_step)); CT 636 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); CT 639 modules/core/src/opencl/fft.cl *((__global CT*)(dst + i*block_size*dst_step)) = SCALE_VAL(smem[y + i*block_size], scale); CT 674 modules/core/src/opencl/fft.cl __global CT* twiddles_ptr, int twiddles_step, int twiddles_offset, const int t, const int nz) CT 687 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; CT 688 modules/core/src/opencl/fft.cl __global const CT* twiddles = (__global const CT*)(twiddles_ptr + twiddles_offset); CT 692 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset))); CT 702 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(2, (int)sizeof(FT), src_offset))); CT 716 modules/core/src/opencl/fft.cl CT src = vload2(0, (__global const FT*)(src_ptr + mad24(y, src_step, mad24(2*i+1, (int)sizeof(FT), src_offset)))); CT 748 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset))); CT 768 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); CT 780 modules/core/src/opencl/fft.cl __global CT* twiddles_ptr, int twiddles_step, int twiddles_offset, const int t, const int nz) CT 788 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; CT 789 modules/core/src/opencl/fft.cl __global const uchar* src = src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset)); CT 790 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); CT 791 modules/core/src/opencl/fft.cl __global const CT* twiddles = (__global const CT*)(twiddles_ptr + twiddles_offset); CT 798 modules/core/src/opencl/fft.cl CT temp = *((__global const CT*)(src + i*block_size*src_step)); CT 811 modules/core/src/opencl/fft.cl __global CT* res = (__global CT*)(dst + i*block_size*dst_step); CT 819 modules/core/src/opencl/fft.cl __global const CT* twiddles = (__global const CT*)(twiddles_ptr + twiddles_offset); CT 823 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; CT 834 modules/core/src/opencl/fft.cl CT temp = vload2(0, (__global const FT*)(src + i*block_size*src_step)); CT 871 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); CT 876 modules/core/src/opencl/fft.cl __global CT* res = (__global CT*)(dst + i*block_size*dst_step); CT 166 modules/cudalegacy/src/cuda/fgd.hpp template <typename PT, typename CT> CT 172 modules/cudalegacy/src/cuda/fgd.hpp template <typename PT, typename CT> CT 177 modules/cudalegacy/src/cuda/fgd.hpp template <typename PT, typename CT, typename OT> CT 182 modules/cudalegacy/src/cuda/fgd.hpp template <typename PT, typename CT, typename OT> CT 92 modules/imgproc/src/opencl/warp_affine.cl __constant CT * M, ST scalar_) CT 136 modules/imgproc/src/opencl/warp_affine.cl __constant CT * M, ST scalar_) CT 269 modules/imgproc/src/opencl/warp_affine.cl __constant CT * M, ST scalar_) CT 91 modules/imgproc/src/opencl/warp_perspective.cl __constant CT * M, ST scalar_) CT 98 modules/imgproc/src/opencl/warp_perspective.cl CT X0 = M[0] * dx + M[1] * dy + M[2]; CT 99 modules/imgproc/src/opencl/warp_perspective.cl CT Y0 = M[3] * dx + M[4] * dy + M[5]; CT 100 modules/imgproc/src/opencl/warp_perspective.cl CT W = M[6] * dx + M[7] * dy + M[8]; CT 121 modules/imgproc/src/opencl/warp_perspective.cl __constant CT * M, ST scalar_) CT 128 modules/imgproc/src/opencl/warp_perspective.cl CT X0 = M[0] * dx + M[1] * dy + M[2]; CT 129 modules/imgproc/src/opencl/warp_perspective.cl CT Y0 = M[3] * dx + M[4] * dy + M[5]; CT 130 modules/imgproc/src/opencl/warp_perspective.cl CT W = M[6] * dx + M[7] * dy + M[8]; CT 183 modules/imgproc/src/opencl/warp_perspective.cl __constant CT * M, ST scalar_) CT 190 modules/imgproc/src/opencl/warp_perspective.cl CT X0 = M[0] * dx + M[1] * dy + M[2]; CT 191 modules/imgproc/src/opencl/warp_perspective.cl CT Y0 = M[3] * dx + M[4] * dy + M[5]; CT 192 modules/imgproc/src/opencl/warp_perspective.cl CT W = M[6] * dx + M[7] * dy + M[8];