HomeSort by relevance Sort by last modified time
    Searched full:src_step (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/opencv3/modules/core/src/opencl/
flip.cl 52 __kernel void arithm_flip_rows(__global const uchar * srcptr, int src_step, int src_offset,
61 int src_index0 = mad24(y0, src_step, mad24(x, TSIZE, src_offset));
62 int src_index1 = mad24(rows - y0 - 1, src_step, mad24(x, TSIZE, src_offset));
75 src_index0 += src_step;
76 src_index1 -= src_step;
83 __kernel void arithm_flip_rows_cols(__global const uchar * srcptr, int src_step, int src_offset,
92 int src_index0 = mad24(y0, src_step, mad24(x, TSIZE, src_offset));
93 int src_index1 = mad24(rows - y0 - 1, src_step, mad24(cols - x - 1, TSIZE, src_offset));
121 src_index0 += src_step;
122 src_index1 -= src_step;
    [all...]
repeat.cl 18 __kernel void repeat(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
26 int src_index = mad24(y0, src_step, mad24(x, (int)sizeof(T), src_offset));
29 for (int y = y0, y1 = min(src_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index0 += dst_step)
set_identity.cl 56 __kernel void setIdentity(__global uchar * srcptr, int src_step, int src_offset, int rows, int cols,
64 int src_index = mad24(y0, src_step, mad24(x, TSIZE, src_offset));
68 for (int y = y0, i = 0, y1 = min(rows, y0 + rowsPerWI); i < rowsPerWI; ++y, ++i, src_index += src_step)
77 src_index += src_step;
82 src_index += src_step;
87 src_index += src_step;
normalize.cl 30 __kernel void normalizek(__global const uchar * srcptr, int src_step, int src_offset,
46 int src_index = mad24(y0, src_step, mad24(x, srcTSIZE, src_offset));
51 ++y, src_index += src_step, dst_index += dst_step, mask_index += mask_step)
transpose.cl 60 __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
93 int index_src = mad24(y, src_step, mad24(x, TSIZE, src_offset));
100 index_src = mad24(BLOCK_ROWS, src_step, index_src);
121 __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_offset, int src_rows)
128 int src_index = mad24(y, src_step, mad24(x, TSIZE, src_offset));
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)
lut.cl 110 __kernel void LUT(__global const uchar * srcptr, int src_step, int src_offset,
127 int src_index = mad24(y, src_step, mad24(x, (int)sizeof(srcT) * dcn, src_offset));
136 src_index += src_step;
142 src_index += src_step;
148 src_index += src_step;
convert.cl 54 __kernel void convertTo(__global const uchar * srcptr, int src_step, int src_offset,
63 int src_index = mad24(y0, src_step, mad24(x, (int)sizeof(srcT), src_offset));
66 for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index += dst_step)
split_merge.cl 83 __kernel void split(__global uchar* srcptr, int src_step, int src_offset, int rows, int cols DECLARE_DST_PARAMS, int rowsPerWI)
91 int src_index = mad24(y0, src_step, mad24(x, cn * (int)sizeof(T), src_offset));
93 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step)
  /external/opencv/cv/src/
cvsamplers.cpp 88 icvAdjustRect( const void* srcptr, int src_step, int pix_size,
122 src += ip.y * src_step;
135 src += rect.height*src_step;
148 ( const srctype* src, int src_step, CvSize src_size, \
171 src_step /= sizeof(src[0]); \
178 src += ip.y * src_step + ip.x; \
181 icvCopySubpix_##flavor##_C1R_p( src, src_step*sizeof(src[0]), \
186 for( i = 0; i < win_size.height; i++, src += src_step, \
193 cast_macro(src[j+src_step])*a21 + \
194 cast_macro(src[j+src_step+1])*a22;
548 int cn, src_step, dst_step; local
    [all...]
cvthresh.cpp 45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step,
87 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step,
125 src_step /= sizeof(src[0]);
131 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step )
142 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step )
153 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
167 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step )
178 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step )
306 int src_step, dst_step local
    [all...]
_cvimgproc.h 52 void icvSepConvSmall3_32f( float* src, int src_step, float* dst, int dst_step,
104 ( const uchar* src, int src_step, CvSize src_size,
107 ( const uchar* src, int src_step, CvSize src_size,
110 ( const float* src, int src_step, CvSize src_size,
114 ( const uchar* src, int src_step, CvSize src_size,
117 ( const uchar* src, int src_step, CvSize src_size,
120 ( const float* src, int src_step, CvSize src_size,
  /external/opencv3/modules/photo/
opencl_kernels_photo.cpp 91 "inline void calcFirstElementInRow(__global const uchar * src, int src_step, int src_offset,\n"
102 "mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));\n"
103 "__global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));\n"
117 "src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);\n"
118 "src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);\n"
127 "inline void calcElementInFirstRow(__global const uchar * src, int src_step, int src_offset,\n"
136 "__global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));\n"
138 "mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));\n"
145 "src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);\n"
146 "src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);\n
    [all...]
  /external/opencv3/modules/photo/src/opencl/
nlmeans.cl 99 inline void calcFirstElementInRow(__global const uchar * src, int src_step, int src_offset,
112 mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));
113 __global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));
131 src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);
132 src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);
144 inline void calcElementInFirstRow(__global const uchar * src, int src_step, int src_offset,
154 __global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));
156 mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));
166 src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);
167 src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);
    [all...]
  /external/opencv3/modules/imgproc/src/opencl/
resize.cl 133 __kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
152 int src_index0 = mad24(sy0, src_step, mad24(sx0, TSIZE, src_offset)),
153 src_index1 = mad24(sy1, src_step, mad24(sx0, TSIZE, src_offset));
169 __kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
200 WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));
201 WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset))));
202 WT data2 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x, TSIZE, src_offset))));
203 WT data3 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x_, TSIZE, src_offset))));
212 WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));
213 WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset))))
    [all...]
cvtcolor.cl 133 __kernel void RGB2Gray(__global const uchar * srcptr, int src_step, int src_offset,
142 int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset));
159 src_index += src_step;
166 __kernel void Gray2RGB(__global const uchar * srcptr, int src_step, int src_offset,
175 int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset));
196 src_index += src_step;
207 __kernel void RGB2YUV(__global const uchar* srcptr, int src_step, int src_offset,
216 int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset));
248 src_index += src_step;
257 __kernel void YUV2RGB(__global const uchar* srcptr, int src_step, int src_offset
    [all...]
remap.cl 85 v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \
99 v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \
133 v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \
143 __kernel void remap_2_32FC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
183 int src_index = mad24(gy, src_step, mad24(gx, TSIZE, src_offset));
190 __kernel void remap_32FC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
223 int src_index = mad24(gy, src_step, mad24(gx, TSIZE, src_offset));
230 __kernel void remap_16SC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
263 int src_index = mad24(gy, src_step, mad24(gx, TSIZE, src_offset));
270 __kernel void remap_16SC2_16UC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols
    [all...]
accumulate.cl 21 __kernel void accumulate(__global const uchar * srcptr, int src_step, int src_offset,
39 int src_index = mad24(y, src_step, mad24(x, SRC_TSIZE, src_offset));
79 src_index += src_step;
warp_affine.cl 90 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
115 int src_index = mad24(sy, src_step, mad24(sx, pixsize, src_offset));
134 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
162 v0 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx, pixsize, src_offset))));
164 v2 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx, pixsize, src_offset))));
169 v1 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx+1, pixsize, src_offset))));
171 v3 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx+1, pixsize, src_offset))));
195 int src_index0 = mad24(sy, src_step, mad24(sx, pixsize, src_offset)), src_index;
202 src_index = mad24(y, src_step, src_index0);
267 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols
    [all...]
warp_perspective.cl 89 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
109 int src_index = mad24(sy, src_step, sx * pixsize + src_offset);
119 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
140 convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + sx * pixsize))) : scalar;
142 convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + (sx+1) * pixsize))) : scalar;
144 convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + sx * pixsize))) : scalar;
146 convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + (sx+1) * pixsize))) : scalar;
181 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
207 convertToWT(loadpix(srcptr + mad24(sy+y, src_step, src_offset + (sx+x) * pixsize))) : scalar;
threshold.cl 54 __kernel void threshold(__global const uchar * srcptr, int src_step, int src_offset,
63 int src_index = mad24(gy, src_step, mad24(gx, (int)sizeof(T), src_offset));
87 src_index += src_step;
boxFilter.cl 130 inline WT readSrcPixel(int2 pos, __global const uchar * srcptr, int src_step, const struct RectCoords srcCoords)
138 int src_index = mad24(pos.y, src_step, pos.x * SRCSIZE);
158 int src_index = mad24(selected_row, src_step, selected_col * SRCSIZE);
166 __kernel void boxFilter(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY,
185 data[sy] = readSrcPixel(srcPos, srcptr, src_step, srcCoords);
222 data[sy_index] = readSrcPixel(srcPos, srcptr, src_step, srcCoords);
  /external/opencv3/modules/imgproc/src/
samplers.cpp 49 adjustRect( const uchar* src, size_t src_step, int pix_size,
82 src += ip.y * src_step;
95 src += rect.height*src_step;
130 void getRectSubPix_Cn_(const _Tp* src, size_t src_step, Size src_size,
155 src_step /= sizeof(src[0]);
162 src += ip.y * src_step + ip.x*cn;
165 for( i = 0; i < win_size.height; i++, src += src_step, dst += dst_step )
169 _WTp s0 = src[j]*a11 + src[j+cn]*a12 + src[j+src_step]*a21 + src[j+src_step+cn]*a22;
170 _WTp s1 = src[j+1]*a11 + src[j+cn+1]*a12 + src[j+src_step+1]*a21 + src[j+src_step+cn+1]*a22
    [all...]
thresh.cpp 56 size_t src_step = _src.step; local
63 src_step = dst_step = roi.width;
86 if (ippiThreshold_GT_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh) >= 0)
101 if (ippiThreshold_LTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh+1, 0) >= 0)
116 if (ippiThreshold_GTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh, 0) >= 0)
175 const uchar* src = _src.ptr() + src_step*i;
296 const uchar* src = _src.ptr() + src_step*i;
307 const uchar* src = _src.ptr() + src_step*i;
318 const uchar* src = _src.ptr() + src_step*i;
329 const uchar* src = _src.ptr() + src_step*i
396 size_t src_step = _src.step\/sizeof(src[0]); local
665 size_t src_step = _src.step\/sizeof(src[0]); local
    [all...]
  /external/opencv3/modules/superres/
opencl_kernels_superres.cpp 43 "__kernel void upscale(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
50 "int src_index = mad24(y, src_step, sz * x * cn + src_offset);\n"
82 "__kernel void calcBtvRegularization(__global const uchar * src, int src_step, int src_offset,\n"
92 "const float srcVal = src_elem_at(src, y, src_step, x);\n"
97 "dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l))\n"
98 "- diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal));\n"
102 "__global const float * src0ptr = (__global const float *)(src + mad24(y, src_step, 3 * sz * x + src_offset));\n"
108 "__global const float * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset));\n"
109 "__global const float * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset));\n"
  /external/opencv3/modules/superres/src/opencl/
superres_btvl1.cl 82 __kernel void upscale(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
90 int src_index = mad24(y, src_step, sz * x * cn + src_offset);
130 __kernel void calcBtvRegularization(__global const uchar * src, int src_step, int src_offset,
142 const float srcVal = src_elem_at(src, y, src_step, x);
148 dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l))
149 - diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal));
154 __global const float * src0ptr = (__global const float *)(src + mad24(y, src_step, 3 * sz * x + src_offset));
161 __global const float * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset));
162 __global const float * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset));

Completed in 440 milliseconds

1 2 3 4