/external/opencv3/modules/core/src/opencl/ |
D | lut.cl | 41 dst = (__global dstT *)(dstptr + dst_index); \ 49 dst = (__global dstT *)(dstptr + dst_index); \ 56 dst = (__global dstT *)(dstptr + dst_index); \ 62 dst = (__global dstT *)(dstptr + dst_index); \ 67 dst = (__global dstT *)(dstptr + dst_index); \ 76 dst = (__global dstT *)(dstptr + dst_index); \ 85 dst = (__global dstT *)(dstptr + dst_index); \ 93 dst = (__global dstT *)(dstptr + dst_index); \ 99 dst = (__global dstT *)(dstptr + dst_index); \ 104 dst = (__global dstT *)(dstptr + dst_index); \ [all …]
|
D | copyset.cl | 48 int dst_index = mad24(y, dst_step, mad24(x, (int)sizeof(T1) * scn, dst_offset)); \ 51 __global T1 * dst = (__global T1 *)(dstptr + dst_index) 109 #define storedst(val) *(__global dstT *)(dstptr + dst_index) = val 112 #define storedst(val) vstore3(val, 0, (__global dstT1 *)(dstptr + dst_index)) 125 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT1) * cn, dstoffset)); 133 dst_index += dststep; 146 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT1) * cn, dstoffset)); 148 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dststep)
|
D | repeat.cl | 36 int dst_index = mad24(ey * src_rows, dst_step, dst_index0); 41 storepix(srcelem, dstptr + dst_index); 42 dst_index = mad24(src_cols, (int)sizeof(T), dst_index);
|
D | copymakeborder.cl | 112 int dst_index = mad24(y0, dst_step, mad24(x, (int)TSIZE, dst_offset)); 117 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step) 118 storepix(scalar, dstptr + dst_index); 125 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step) 132 storepix(scalar, dstptr + dst_index); 137 storepix(loadpix(srcptr + src_index), dstptr + dst_index);
|
D | normalize.cl | 48 int dst_index = mad24(y0, dst_step, mad24(x, dstTSIZE, dst_offset)); 51 ++y, src_index += src_step, dst_index += dst_step, mask_index += mask_step) 68 storepix(convertToDT(value), dstptr + dst_index);
|
D | reduce2.cl | 143 int dst_index = mad24(y, dst_step, dst_offset); 145 __global dstT * dst = (__global dstT *)(dstptr + dst_index); 185 int dst_index = mad24(x, (int)sizeof(dstT0) * cn, dst_offset); 187 __global dstT0 * dst = (__global dstT0 *)(dstptr + dst_index); 217 int dst_index = mad24(y, dst_step, dst_offset); 220 __global dstT * dst = (__global dstT *)(dstptr + dst_index);
|
D | arithm.cl | 94 #define storedst(val) *(__global dstT *)(dstptr + dst_index) = val 97 #define storedst(val) vstore3(val, 0, (__global dstT_C1 *)(dstptr + dst_index)) 416 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset)); 419 … y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index += dststep) 446 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset)); 449 … mask_index += maskstep, dst_index += dststep) 469 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset)); 471 … y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index += dststep) 492 int dst_index = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset)); 494 …y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, mask_index += maskstep, dst_index += dststep)
|
D | inrange.cl | 68 int dst_index = mad24(y0, dst_step, mad24(x, colsPerWI, dst_offset)); 74 …0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src1_index += src1_step, dst_index += dst_step) 80 __global dstT * dst = (__global dstT *)(dstptr + dst_index); 94 __global uchar * dst = dstptr + dst_index;
|
D | convert.cl | 64 int dst_index = mad24(y0, dst_step, mad24(x, (int)sizeof(dstT), dst_offset)); 66 … y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index += dst_step) 69 __global dstT * dst = (__global dstT *)(dstptr + dst_index);
|
D | mulspectrums.cl | 68 int dst_index = mad24(y0, dst_step, mad24(x, (int)sizeof(float2), dst_offset)); 71 src1_index += src1_step, src2_index += src2_step, dst_index += dst_step) 75 __global float2 * dst = (__global float2 *)(dstptr + dst_index);
|
D | split_merge.cl | 63 int dst_index = mad24(dst_step, y0, mad24(x, (int)sizeof(T) * cn, dst_offset)); 65 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dst_step) 67 __global T * dst = (__global T *)(dstptr + dst_index);
|
D | transpose.cl | 129 int dst_index = mad24(x, src_step, mad24(y, TSIZE, src_offset)); 133 for (int i = 0; i < rowsPerWI; ++i, ++y, src_index += src_step, dst_index += TSIZE) 137 __global uchar * dst = srcptr + dst_index;
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | cvtcolor.cl | 143 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); 151 __global DATA_TYPE* dst = (__global DATA_TYPE*)(dstptr + dst_index); 160 dst_index += dst_step; 176 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); 184 __global DATA_TYPE* dst = (__global DATA_TYPE*)(dstptr + dst_index); 195 dst_index += dst_step; 217 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset)); 225 __global DATA_TYPE* dst = (__global DATA_TYPE*)(dstptr + dst_index); 247 dst_index += dst_step; 267 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset)); [all …]
|
D | remap.cl | 158 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); 162 map1_index += map1_step, map2_index += map2_step, dst_index += dst_step) 167 __global T * dst = (__global T *)(dstptr + dst_index); 201 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); 206 map_index += map_step, dst_index += dst_step) 210 __global T * dst = (__global T *)(dstptr + dst_index); 241 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); 246 map_index += map_step, dst_index += dst_step) 250 __global T * dst = (__global T *)(dstptr + dst_index); 282 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); [all …]
|
D | warp_affine.cl | 103 int dst_index = mad24(dy0, dst_step, mad24(dx, pixsize, dst_offset)); 105 … for (int dy = dy0, dy1 = min(dst_rows, dy0 + rowsPerWI); dy < dy1; ++dy, dst_index += dst_step) 116 storepix(loadpix(srcptr + src_index), dstptr + dst_index); 119 storepix(scalar, dstptr + dst_index); 177 int dst_index = mad24(dy, dst_step, mad24(dx, pixsize, dst_offset)); 186 …convertToT((val + (1 << (INTER_REMAP_COEF_BITS-1))) >> INTER_REMAP_COEF_BITS), dstptr + dst_index); 190 storepix(convertToT(val), dstptr + dst_index); 196 int dst_index = mad24(dy, dst_step, mad24(dx, pixsize, dst_offset)); 230 storepix(convertToT(sum), dstptr + dst_index); 313 int dst_index = mad24(dy, dst_step, mad24(dx, pixsize, dst_offset)); [all …]
|
D | corner.cl | 194 … int dst_index = mad24(dst_step, dst_startY, (int)sizeof(float) * (dst_startX + col - anX)); 195 *(__global float *)(dst + dst_index) = 200 … int dst_index = mad24(dst_step, dst_startY + 1, (int)sizeof(float) * (dst_startX + col - anX)); 201 *(__global float *)(dst + dst_index) = 207 … int dst_index = mad24(dst_step, dst_startY, (int)sizeof(float) * (dst_startX + col - anX)); 211 *(__global float *)(dst + dst_index) = (float)((a+c) - native_sqrt((a-c)*(a-c) + b*b)); 215 … int dst_index = mad24(dst_step, dst_startY + 1, (int)sizeof(float) * (dst_startX + col - anX)); 219 *(__global float *)(dst + dst_index) = (float)((a+c) - native_sqrt((a-c)*(a-c) + b*b));
|
D | warp_perspective.cl | 105 int dst_index = mad24(dy, dst_step, dx * pixsize + dst_offset); 110 storepix(loadpix(srcptr + src_index), dstptr + dst_index); 113 storepix(scalar, dstptr + dst_index); 151 int dst_index = mad24(dy, dst_step, dst_offset + dx * pixsize); 160 …convertToT((val + (1 << (INTER_REMAP_COEF_BITS-1))) >> INTER_REMAP_COEF_BITS), dstptr + dst_index); 164 storepix(convertToT(val), dstptr + dst_index); 216 int dst_index = mad24(dy, dst_step, dst_offset + dx * pixsize); 229 …nvertToT( (sum + (1 << (INTER_REMAP_COEF_BITS-1))) >> INTER_REMAP_COEF_BITS ), dstptr + dst_index); 234 storepix(convertToT( sum ), dstptr + dst_index);
|
D | accumulate.cl | 47 int dst_index = mad24(y, dst_step, mad24(x, DST_TSIZE, dst_offset)); 57 __global dstT1 * dst = (__global dstT1 *)(dstptr + dst_index); 86 dst_index += dst_step;
|
D | morph.cl | 159 int dst_index = mad24(gidy, dst_step, mad24(gidx, TSIZE, dst_offset)); 166 storepix(convertToT(convertToWT(res) - convertToWT(value)), dstptr + dst_index); 168 storepix(convertToT(convertToWT(value) - convertToWT(res)), dstptr + dst_index); 170 storepix(convertToT(convertToWT(res) - convertToWT(value)), dstptr + dst_index); 173 storepix(res, dstptr + dst_index);
|
D | integral_sum.cl | 166 …//int dst_index = dst_offset + dst_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) … 167 …int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset… 176 dst = (__global sumT *)(dst_ptr + dst_index); 178 dst_index += dst_step;
|
D | bilateral.cl | 69 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); 92 storepix(convert_uchar_t(sum / (float_t)(wsum)), dst + dst_index); 108 int dst_index = (y * dst_step) + x * 4 + dst_offset ; 120 vstore4(convert_uchar4_rtz(sum), 0, dst + dst_index);
|
D | calc_back_project.cl | 83 int dst_index = mad24(y, dst_step, dst_offset + x); 86 dst[dst_index] = value == OUT_OF_RANGE ? 0 : convert_uchar(value); 126 int dst_index = mad24(y, dst_step, dst_offset + x); 130 dst[dst_index] = bin1 == OUT_OF_RANGE || bin2 == OUT_OF_RANGE ? 0 :
|
D | threshold.cl | 64 int dst_index = mad24(gy, dst_step, mad24(gx, (int)sizeof(T), dst_offset)); 72 __global T * dst = (__global T *)(dstptr + dst_index); 88 dst_index += dst_step;
|
D | medianFilter.cl | 144 int dst_index = mad24( gy+k, dstStep, xdst); \ 145 STORE4(p4, dst_index); \ 268 int dst_index = mad24( gy+k, dstStep, xdst); 270 STORE4(p12, dst_index); 322 int dst_index = mad24( gy, dst_step, mad24(gx, TSIZE, dst_offset)); 325 storepix(p4, dstptr + dst_index); 389 int dst_index = mad24(gy, dst_step, mad24(gx, TSIZE, dst_offset)); 392 storepix(p12, dstptr + dst_index);
|
D | precornerdetect.cl | 64 int dst_index = mad24(dst_step, y, (int)sizeof(float) * x + dst_offset); 71 __global float * dst = (__global float *)(dstptr + dst_index);
|