/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_image.cpp | 292 int32_t src_offset = 0; in SetImage() local 294 src_offset = row * src_pitch; in SetImage() 296 FX_FLOAT alpha = src_buf[src_offset + 3] / 255.0f; in SetImage() 297 dst_buf[src_offset] = (uint8_t)(src_buf[src_offset] * alpha); in SetImage() 298 dst_buf[src_offset + 1] = in SetImage() 299 (uint8_t)(src_buf[src_offset + 1] * alpha); in SetImage() 300 dst_buf[src_offset + 2] = in SetImage() 301 (uint8_t)(src_buf[src_offset + 2] * alpha); in SetImage() 302 dst_buf[src_offset + 3] = (uint8_t)(src_buf[src_offset + 3]); in SetImage() 303 src_offset += 4; in SetImage() [all …]
|
/external/opencv3/modules/photo/src/opencl/ |
D | 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 …_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset))); 144 inline void calcElementInFirstRow(__global const uchar * src, int src_step, int src_offset, 154 …_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))); 176 inline void calcElement(__global const uchar * src, int src_step, int src_offset, 184 …t up_value = *(__global const pixel_t *)(src + mad24(sy_up, src_step, mad24(psz, sx, src_offset))); 185 …wn_value = *(__global const pixel_t *)(src + mad24(sy_down, src_step, mad24(psz, sx, src_offset))); 195 … = *(__global const pixel_t *)(src + mad24(sy_up + wy, src_step, mad24(psz, sx + wx, src_offset))); [all …]
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | resize.cl | 133 __kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, i… 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, 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)))); 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 …]
|
D | remap.cl | 85 …ertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \ 99 …ertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \ 133 …ertToWT(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_ro… 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… 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… 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 sr… [all …]
|
D | 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)); 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)); 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)); 257 __kernel void YUV2RGB(__global const uchar* srcptr, int src_step, int src_offset, 266 int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); 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 | warp_perspective.cl | 89 __kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_… 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_… 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 | warp_affine.cl | 90 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows,… 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,… 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; 267 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows,… 296 … convertToWT(loadpix(srcptr + mad24(sy+y, src_step, mad24(sx+x, pixsize, src_offset)))) : scalar; [all …]
|
/external/v8/test/cctest/ |
D | test-utils.cc | 148 int src_offset, in TestMemMove() argument 155 MemMove(area1 + dest_offset, area1 + src_offset, length); in TestMemMove() 156 memmove(area2 + dest_offset, area2 + src_offset, length); in TestMemMove() 159 src_offset, dest_offset, length); in TestMemMove() 180 for (int src_offset = kMinOffset; src_offset <= kMaxOffset; src_offset++) { in TEST() local 183 TestMemMove(area1, area2, src_offset, dst_offset, length); in TEST()
|
/external/opencv3/modules/core/src/opencl/ |
D | 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)); 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)); 129 __kernel void arithm_flip_cols(__global const uchar * srcptr, int src_step, int src_offset, 138 int src_index0 = mad24(y0, src_step, mad24(x, TSIZE, src_offset)); 139 int src_index1 = mad24(y0, src_step, mad24(cols - x - 1, TSIZE, src_offset));
|
D | transpose.cl | 60 __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, … 93 int index_src = mad24(y, src_step, mad24(x, TSIZE, src_offset)); 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));
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tile_image.c | 161 uint src_offset = (jj / tile_h * tiles_per_row + ii / tile_w) in lp_tiled_to_linear() local 164 untile_4_4_uint32(src32 + src_offset, in lp_tiled_to_linear() 181 uint src_offset = (jj / tile_h * tiles_per_row + ii / tile_w) in lp_tiled_to_linear() local 184 untile_4_4_uint16(src16 + src_offset, in lp_tiled_to_linear() 251 uint src_offset = jj * src_stride + ii; in lp_linear_to_tiled() local 254 tile_4_4_uint32(src32 + src_offset, in lp_linear_to_tiled() 271 uint src_offset = jj * src_stride + ii; in lp_linear_to_tiled() local 274 tile_4_4_uint16(src16 + src_offset, in lp_linear_to_tiled()
|
/external/valgrind/none/tests/s390x/ |
D | mvcl.c | 175 uint32_t dst_offset, dst_len, src_offset, src_len; in main() local 266 for (src_offset = 0; src_offset < sizeof buf; ++src_offset) in main() 267 for (src_len = 0; src_len <= sizeof buf - src_offset; ++src_len) in main() 268 run_test(buf + dst_offset, dst_len, buf + src_offset, src_len, 'x'); in main()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_blit.c | 95 GLuint src_offset, in intelEmitCopyBlit() argument 119 if (src_offset & 4095) in intelEmitCopyBlit() 144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit() 211 src_offset); in intelEmitCopyBlit() 485 unsigned int src_offset, in intel_emit_linear_blit() argument 498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit() 506 src_offset += pitch * height; in intel_emit_linear_blit() 513 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_blit.c | 95 GLuint src_offset, in intelEmitCopyBlit() argument 119 if (src_offset & 4095) in intelEmitCopyBlit() 144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit() 211 src_offset); in intelEmitCopyBlit() 485 unsigned int src_offset, in intel_emit_linear_blit() argument 498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit() 506 src_offset += pitch * height; in intel_emit_linear_blit() 513 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_blit.c | 95 GLuint src_offset, in intelEmitCopyBlit() argument 119 if (src_offset & 4095) in intelEmitCopyBlit() 144 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit() 211 src_offset); in intelEmitCopyBlit() 485 unsigned int src_offset, in intel_emit_linear_blit() argument 498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit() 506 src_offset += pitch * height; in intel_emit_linear_blit() 513 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
|
D | intel_blit.h | 43 GLuint src_offset, 70 unsigned int src_offset,
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_blit.c | 93 unsigned src_offset, in i915_copy_blit() argument 110 src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit() 157 OUT_RELOC_FENCED(src_buffer, I915_USAGE_2D_SOURCE, src_offset); in i915_copy_blit()
|
/external/opencv3/modules/superres/src/opencl/ |
D | superres_btvl1.cl | 82 __kernel void upscale(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, in… 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, 139 src += src_offset; 154 …onst float * src0ptr = (__global const float *)(src + mad24(y, src_step, 3 * sz * x + src_offset)); 161 … * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset)); 162 … * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset));
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.c | 85 if (element->src_offset >= buffer_size) { in util_draw_max_index() 90 buffer_size -= element->src_offset; in util_draw_max_index()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex_copy.c | 84 intptr_t src_offset = rrb->draw_offset; in do_copy_texsubimage() local 92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage() 128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
|
D | radeon_blit.c | 343 intptr_t src_offset, in r100_blit() argument 388 if (src_offset % 32 || dst_offset % 32) { in r100_blit() 395 src_width, src_height, src_pitch, src_offset, in r100_blit() 416 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); in r100_blit()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tex_copy.c | 84 intptr_t src_offset = rrb->draw_offset; in do_copy_texsubimage() local 92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage() 128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | growable_memory_byte_array.h | 40 int32_t src_offset, in CopyTo() argument 42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
|
D | memory_byte_array.h | 52 int32_t src_offset, in CopyTo() argument 54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
|
/external/v8/src/arm64/ |
D | deoptimizer-arm64.cc | 197 int src_offset = kFPRegistersOffset + (i * kDoubleSize); in Generate() local 198 __ Peek(x2, src_offset); in Generate() 267 int src_offset = FrameDescription::double_registers_offset(); in Generate() local 270 __ Ldr(reg, MemOperand(x1, src_offset)); in Generate() 271 src_offset += kDoubleSize; in Generate()
|