/external/opencv3/3rdparty/libjasper/ |
D | jpc_qmfb.c | 315 register jpc_fix_t *srcptr; in jpc_qmfb_split_row() local 337 srcptr = &a[1 - parity]; in jpc_qmfb_split_row() 339 *dstptr = *srcptr; in jpc_qmfb_split_row() 341 srcptr += 2; in jpc_qmfb_split_row() 345 srcptr = &a[2 - parity]; in jpc_qmfb_split_row() 348 *dstptr = *srcptr; in jpc_qmfb_split_row() 350 srcptr += 2; in jpc_qmfb_split_row() 354 srcptr = buf; in jpc_qmfb_split_row() 357 *dstptr = *srcptr; in jpc_qmfb_split_row() 359 ++srcptr; in jpc_qmfb_split_row() [all …]
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | medianFilter.cl | 54 #define LOAD4(val, offs) (val) = vload4(0, (__global T1 *)(srcptr + src_index + (offs))) 68 #define LOAD4(val, offs) (val) = vload8(0, (__global T1 *)(srcptr + src_index + (offs))) 82 #define LOAD4(val, offs) (val) = vload16(0, (__global T1 *)(srcptr + src_index + (offs))) 96 __kernel void medianFilter3_u(__global const uchar* srcptr, int srcStep, int srcOffset, 118 c0 = *(__global T *)(srcptr + src_index + x_left); 120 c2 = *(__global T *)(srcptr + src_index + x_right); 124 c3 = *(__global T *)(srcptr + src_index + x_left); 126 c5 = *(__global T *)(srcptr + src_index + x_right); 131 c6 = *(__global T *)(srcptr + src_index + x_left); \ 133 c8 = *(__global T *)(srcptr + src_index + x_right); \ [all …]
|
D | remap.cl | 85 …v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offs… 99 …v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offs… 133 …v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offs… 143 __kernel void remap_2_32FC1(__global const uchar * srcptr, int src_step, int src_offset, int src_ro… 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… 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… 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 sr… [all …]
|
D | resize.cl | 133 __kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, i… 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, i… 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 …]
|
D | warp_affine.cl | 90 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows,… 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,… 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 …]
|
D | warp_perspective.cl | 89 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_… 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_… 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_… 207 … convertToWT(loadpix(srcptr + mad24(sy+y, src_step, src_offset + (sx+x) * pixsize))) : scalar;
|
D | 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 srcOff… 306 PX_LOAD_FLOAT_VEC_TYPE p = readSrcPixelGroup(srcPos, srcptr, src_step, srcCoords); 314 WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords);
|
D | 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 …]
|
D | filterSmall.cl | 170 inline PX_LOAD_FLOAT_VEC_TYPE readSrcPixelGroup(int2 pos, __global const uchar * srcptr, 174 (srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE)); 296 __global const uchar * srcptr, int srcstep) 315 __global const uchar* ptr = srcptr + mad24(selected_row, srcstep, selected_col * SRCSIZE); 320 inline WT readSrcPixelSingle(int2 pos, __global const uchar * srcptr, 325 __global const uchar * ptr = srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE); 329 return getBorderPixel(srcCoords, pos, srcptr, srcstep); 333 __kernel void filterSmall(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffse… 364 PX_LOAD_FLOAT_VEC_TYPE p = readSrcPixelGroup(srcPos, srcptr, src_step, srcCoords); 376 WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords);
|
D | boxFilter.cl | 130 inline WT readSrcPixel(int2 pos, __global const uchar * srcptr, int src_step, const struct RectCoor… 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… 185 data[sy] = readSrcPixel(srcPos, srcptr, src_step, srcCoords); 222 data[sy_index] = readSrcPixel(srcPos, srcptr, src_step, srcCoords);
|
/external/opencv3/modules/core/src/opencl/ |
D | reduce.cl | 172 dstT temp = convertToDT(loadpix(srcptr + src_index)); \ 180 dstT temp = convertToDT(loadpix(srcptr + src_index)); \ 187 dstT temp = convertToDT(loadpix(srcptr + src_index)); \ 209 …dstTK temp = convertToDT(loadpix(srcptr + src_index)), temp2 = convertToDT(loadpix(src2ptr + src2_… 214 …dstTK temp = convertToDT(loadpix(srcptr + src_index)), temp2 = convertToDT(loadpix(src2ptr + src2_… 220 …dstTK temp = convertToDT(loadpix(srcptr + src_index)), temp2 = convertToDT(loadpix(src2ptr + src2_… 228 …dstTK temp = convertToDT(loadpix(srcptr + src_index)), temp2 = convertToDT(loadpix(src2ptr + src2_… 240 …dstTK temp = convertToDT(loadpix(srcptr + src_index)), temp2 = convertToDT(loadpix(src2ptr + src2_… 264 dstTK temp = convertToDT(loadpix(srcptr + src_index)); \ 272 dstTK temp = convertToDT(loadpix(srcptr + src_index)); \ [all …]
|
D | lut.cl | 40 int idx = *(__global const int *)(srcptr + src_index); \ 48 uchar3 idx = vload3(0, srcptr + src_index); \ 55 short idx = *(__global const short *)(srcptr + src_index); \ 61 uchar idx = (srcptr + src_index)[0]; \ 66 __global const srcT * src = (__global const srcT *)(srcptr + src_index); \ 74 __global const uchar4 * src_pixel = (__global const uchar4 *)(srcptr + src_index); \ 83 uchar3 src_pixel = vload3(0, srcptr + src_index); \ 91 __global const uchar2 * src_pixel = (__global const uchar2 *)(srcptr + src_index); \ 98 uchar idx = (srcptr + src_index)[0]; \ 103 __global const srcT * src = (__global const srcT *)(srcptr + src_index); \ [all …]
|
D | 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);
|
D | 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);
|
D | transpose.cl | 60 __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, … 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;
|
D | meanstddev.cl | 34 __kernel void meanStdDev(__global const uchar * srcptr, int src_step, int src_offset, int cols, 57 srcptr += src_offset; 76 srcT value = loadpix(srcptr + src_index);
|
D | repeat.cl | 18 __kernel void repeat(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int… 31 T srcelem = loadpix(srcptr + src_index);
|
D | reduce2.cl | 94 __kernel void reduce_horz_opt(__global const uchar * srcptr, int src_step, int src_offset, int rows… 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 col… 195 __global const srcT * src = (__global const srcT *)(srcptr + src_index); 219 __global const srcT * src = (__global const srcT *)(srcptr + src_index);
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_split_copy.c | 260 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB; in elt() local 262 memcpy(csr, srcptr, copy->varying[i].size); in elt() 268 GLfloat *f = (GLfloat *) srcptr; in elt() 278 const GLuint *f = (const GLuint *)srcptr; in elt() 434 const GLvoid *srcptr; in replay_init() local 473 srcptr = (const GLubyte *) ADD_POINTERS(copy->ib->obj->Pointer, in replay_init() 482 copy->translated_elt_buf[i] = ((const GLubyte *)srcptr)[i]; in replay_init() 490 copy->translated_elt_buf[i] = ((const GLushort *)srcptr)[i]; in replay_init() 495 copy->srcelt = (const GLuint *)srcptr; in replay_init()
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | 2008-07-12-UnneededSelect1.ll | 9 define void @foo(i32 %count, i32* %srcptr, i32* %dstptr) nounwind { 19 load i32, i32* %srcptr, align 4 ; <i32>:1 [#uses=2]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | cr-spills.ll | 55 …%srcptr.31595 = phi i16* [ getelementptr inbounds ([768 x i16], [768 x i16]* @SetupFastFullPelSear… 65 %srcptr.41591 = phi i16* [ %srcptr.31595, %for.cond290.preheader ], [ undef, %for.body293 ] 81 %7 = load i16, i16* %srcptr.41591, align 2 109 %incdec.ptr341 = getelementptr inbounds i16, i16* %srcptr.41591, i64 4 128 %incdec.ptr355 = getelementptr inbounds i16, i16* %srcptr.41591, i64 5 147 %incdec.ptr369 = getelementptr inbounds i16, i16* %srcptr.41591, i64 6 166 %incdec.ptr383 = getelementptr inbounds i16, i16* %srcptr.41591, i64 7 182 %incdec.ptr397 = getelementptr inbounds i16, i16* %srcptr.41591, i64 8 211 %incdec.ptr425 = getelementptr inbounds i16, i16* %srcptr.41591, i64 10 246 %incdec.ptr453 = getelementptr inbounds i16, i16* %srcptr.41591, i64 12 [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3convertutf.c | 289 const UTF8 *srcptr = source+length; in isLegalUTF8() local 293 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; in isLegalUTF8() 294 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; in isLegalUTF8() 295 case 2: if ((a = (*--srcptr)) > 0xBF) return false; in isLegalUTF8()
|
/external/google-breakpad/src/common/ |
D | convert_UTF.c | 315 const UTF8 *srcptr = source+length; in isLegalUTF8() local 319 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; in isLegalUTF8() 320 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; in isLegalUTF8() 321 case 2: if ((a = (*--srcptr)) > 0xBF) return false; in isLegalUTF8()
|
/external/opencv3/modules/features2d/src/ |
D | mser.cpp | 710 const uchar* srcptr = src.ptr(); in preprocessMSER_8uC3() local 711 const uchar* lastptr = srcptr+3; in preprocessMSER_8uC3() 717 *dxptr = ChiSquaredDistance( srcptr, lastptr ); in preprocessMSER_8uC3() 719 srcptr += 3; in preprocessMSER_8uC3() 722 srcptr += srccpt+3; in preprocessMSER_8uC3() 725 srcptr = src.ptr(); in preprocessMSER_8uC3() 726 lastptr = srcptr+src.step; in preprocessMSER_8uC3() 732 *dyptr = ChiSquaredDistance( srcptr, lastptr ); in preprocessMSER_8uC3() 734 srcptr += 3; in preprocessMSER_8uC3() 737 srcptr += srccpt; in preprocessMSER_8uC3()
|
/external/libvncserver/libvncserver/ |
D | scale.c | 145 unsigned char *srcptr, *dstptr; in rfbScaledScreenUpdateRect() local 164 srcptr = (unsigned char *)(screen->frameBuffer + in rfbScaledScreenUpdateRect() 206 srcptr2 = &srcptr[(((x * areaX) + w) * bytesPerPixel) + in rfbScaledScreenUpdateRect() 250 srcptr += (screen->paddedWidthInBytes * areaY); in rfbScaledScreenUpdateRect()
|