/external/opencv3/modules/core/src/opencl/ |
set_identity.cl | 56 __kernel void setIdentity(__global uchar * srcptr, int src_step, int src_offset, int rows, int cols, 70 storepix(x == y ? scalar : (T)(0), srcptr + src_index); 74 storepix(x == y0 >> 2 ? (T)(scalar, 0, 0, 0) : (T)(0), srcptr + src_index); 78 storepix(x == y0 >> 2 ? (T)(0, scalar, 0, 0) : (T)(0), srcptr + src_index); 83 storepix(x == y0 >> 2 ? (T)(0, 0, scalar, 0) : (T)(0), srcptr + src_index); 88 storepix(x == y0 >> 2 ? (T)(0, 0, 0, scalar) : (T)(0), srcptr + src_index);
|
flip.cl | 52 __kernel void arithm_flip_rows(__global const uchar * srcptr, int src_step, int src_offset, 69 T src0 = loadpix(srcptr + src_index0); 70 T src1 = loadpix(srcptr + src_index1); 83 __kernel void arithm_flip_rows_cols(__global const uchar * srcptr, int src_step, int src_offset, 100 T src0 = loadpix(srcptr + src_index0); 101 T src1 = loadpix(srcptr + src_index1); 129 __kernel void arithm_flip_cols(__global const uchar * srcptr, int src_step, int src_offset, 146 T src0 = loadpix(srcptr + src_index0); 147 T src1 = loadpix(srcptr + src_index1);
|
convert.cl | 54 __kernel void convertTo(__global const uchar * srcptr, int src_step, int src_offset, 68 __global const srcT * src = (__global const srcT *)(srcptr + src_index);
|
transpose.cl | 60 __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 99 tile[mad24(ly + i, LDS_STEP, lx)] = loadpix(srcptr + index_src); 121 __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_offset, int src_rows) 136 __global uchar * src = srcptr + src_index; 137 __global uchar * dst = srcptr + dst_index;
|
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) 95 __global const T * src = (__global const T *)(srcptr + src_index);
|
reduce2.cl | 94 __kernel void reduce_horz_opt(__global const uchar * srcptr, int src_step, int src_offset, int rows, int cols, 110 __global const srcT * src = (__global const srcT *)(srcptr + src_index); 173 __kernel void reduce(__global const uchar * srcptr, int src_step, int src_offset, int rows, int cols, 195 __global const srcT * src = (__global const srcT *)(srcptr + src_index); 219 __global const srcT * src = (__global const srcT *)(srcptr + src_index);
|
copyset.cl | 50 __global const T1 * src = (__global const T1 *)(srcptr + src_index); \ 53 __kernel void copyToMask(__global const uchar * srcptr, int src_step, int src_offset,
|
/external/opencv3/modules/imgproc/src/opencl/ |
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, 184 storepix(loadpix((__global const T*)(srcptr + src_index)), dst); 190 __kernel void remap_32FC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 224 storepix(loadpix((__global const T *)(srcptr + src_index)), dst); 230 __kernel void remap_16SC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 264 storepix(loadpix((__global const T *)(srcptr + src_index)), dst); 270 __kernel void remap_16SC2_16UC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols [all...] |
resize.cl | 133 __kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 154 WT data0 = convertToWT(loadpix(srcptr + src_index0)); 155 WT data1 = convertToWT(loadpix(srcptr + src_index0 + TSIZE)); 156 WT data2 = convertToWT(loadpix(srcptr + src_index1)); 157 WT data3 = convertToWT(loadpix(srcptr + src_index1 + TSIZE)); 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)))) [all...] |
threshold.cl | 54 __kernel void threshold(__global const uchar * srcptr, int src_step, int src_offset, 71 T sdata = *(__global const T *)(srcptr + src_index);
|
warp_affine.cl | 90 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 116 storepix(loadpix(srcptr + src_index), dstptr + dst_index); 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)))); 209 uchar2 value = vload2(0, srcptr + src_index); 214 xsum = fma(convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))), coeffs_x[x], xsum); 222 convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))) : scalar, coeffs_x[x], xsum) [all...] |
filter2DSmall.cl | 192 __global const uchar* srcptr, int srcstep) 206 __global const uchar* ptr = srcptr + mul24(coord.y, srcstep) + 212 inline WT readSrcPixelSingle(int2 pos, __global const uchar* srcptr, 217 __global const uchar* ptr = srcptr + mul24(pos.y, srcstep) + 224 return getBorderPixel(srcCoords, pos, srcptr, srcstep); 249 inline PX_LOAD_FLOAT_VEC_TYPE readSrcPixelGroup(int2 pos, __global const uchar* srcptr, 253 (srcptr + mul24(pos.y, srcstep) + 278 __kernel void filter2DSmall(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY, 306 PX_LOAD_FLOAT_VEC_TYPE p = readSrcPixelGroup(srcPos, srcptr, src_step, srcCoords); 314 WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords) [all...] |
boxFilter.cl | 130 inline WT readSrcPixel(int2 pos, __global const uchar * srcptr, int src_step, const struct RectCoords srcCoords) 139 WT value = convertToWT(loadpix(srcptr + src_index)); 159 WT value = convertToWT(loadpix(srcptr + src_index)); 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);
|
warp_perspective.cl | 89 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 110 storepix(loadpix(srcptr + src_index), dstptr + dst_index); 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;
|
cvtcolor.cl | 133 __kernel void RGB2Gray(__global const uchar * srcptr, int src_step, int src_offset, 150 __global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index); 166 __kernel void Gray2RGB(__global const uchar * srcptr, int src_step, int src_offset, 183 __global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index); 207 __kernel void RGB2YUV(__global const uchar* srcptr, int src_step, int src_offset, 224 __global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index); 257 __kernel void YUV2RGB(__global const uchar* srcptr, int src_step, int src_offset, 274 __global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index); 307 __kernel void YUV2RGB_NVx(__global const uchar* srcptr, int src_step, int src_offset, 321 __global const uchar* ysrc = srcptr + mad24(y << 1, src_step, (x << 1) + src_offset) [all...] |
gftt.cl | 48 __kernel void maxEigenVal(__global const uchar * srcptr, int src_step, int src_offset, int cols, 69 maxval = max(maxval, *(__global const float *)(srcptr + src_index));
|
filter2D.cl | 170 __kernel void filter2D(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY, 199 data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(srcY, src_step, srcX * SRCSIZE))); 217 data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(tempY, src_step, srcX * SRCSIZE)));
|
/external/opencv3/3rdparty/libjasper/ |
jpc_qmfb.c | 315 register jpc_fix_t *srcptr; local 337 srcptr = &a[1 - parity]; 339 *dstptr = *srcptr; 341 srcptr += 2; 345 srcptr = &a[2 - parity]; 348 *dstptr = *srcptr; 350 srcptr += 2; 354 srcptr = buf; 357 *dstptr = *srcptr; 359 ++srcptr; 383 register jpc_fix_t *srcptr; local 451 jpc_fix_t *srcptr; local 540 jpc_fix_t *srcptr; local 628 register jpc_fix_t *srcptr; local 693 register jpc_fix_t *srcptr; local 758 jpc_fix_t *srcptr; local 844 jpc_fix_t *srcptr; local [all...] |
/external/mesa3d/src/glx/apple/ |
apple_glx_context.h | 83 bool apple_glx_copy_context(void *currentptr, void *srcptr, void *destptr,
|
/external/mesa3d/src/mesa/vbo/ |
vbo_split_copy.c | 260 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB; local 262 memcpy(csr, srcptr, copy->varying[i].size); 268 GLfloat *f = (GLfloat *) srcptr; 278 const GLuint *f = (const GLuint *)srcptr; 434 const GLvoid *srcptr; local 473 srcptr = (const GLubyte *) ADD_POINTERS(copy->ib->obj->Pointer, 482 copy->translated_elt_buf[i] = ((const GLubyte *)srcptr)[i]; 490 copy->translated_elt_buf[i] = ((const GLushort *)srcptr)[i]; 495 copy->srcelt = (const GLuint *)srcptr;
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3convertutf.c | 289 const UTF8 *srcptr = source+length; local 293 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 294 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 295 case 2: if ((a = (*--srcptr)) > 0xBF) return false;
|
/external/google-breakpad/src/common/ |
convert_UTF.c | 315 const UTF8 *srcptr = source+length; local 319 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 320 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 321 case 2: if ((a = (*--srcptr)) > 0xBF) return false;
|
/external/libvncserver/libvncserver/ |
scale.c | 145 unsigned char *srcptr, *dstptr; local 164 srcptr = (unsigned char *)(screen->frameBuffer + 206 srcptr2 = &srcptr[(((x * areaX) + w) * bytesPerPixel) + 250 srcptr += (screen->paddedWidthInBytes * areaY);
|
/external/llvm/lib/Support/ |
ConvertUTF.c | 357 const UTF8 *srcptr = source+length; local 361 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 362 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; 363 case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
|
/external/opencv3/modules/features2d/src/ |
mser.cpp | 710 const uchar* srcptr = src.ptr(); local 711 const uchar* lastptr = srcptr+3; 717 *dxptr = ChiSquaredDistance( srcptr, lastptr ); 719 srcptr += 3; 722 srcptr += srccpt+3; 725 srcptr = src.ptr(); 726 lastptr = srcptr+src.step; 732 *dyptr = ChiSquaredDistance( srcptr, lastptr ); 734 srcptr += 3; 737 srcptr += srccpt [all...] |