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

1 2 3 4 5 6 7 8 9

  /external/pdfium/core/src/fpdfapi/fpdf_edit/
fpdf_edit_image.cpp 292 int32_t src_offset = 0; local
294 src_offset = row * src_pitch;
296 FX_FLOAT alpha = src_buf[src_offset + 3] / 255.0f;
297 dst_buf[src_offset] = (uint8_t)(src_buf[src_offset] * alpha);
298 dst_buf[src_offset + 1] =
299 (uint8_t)(src_buf[src_offset + 1] * alpha);
300 dst_buf[src_offset + 2] =
301 (uint8_t)(src_buf[src_offset + 2] * alpha);
302 dst_buf[src_offset + 3] = (uint8_t)(src_buf[src_offset + 3])
345 int32_t src_offset = 0; local
    [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...]
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...]
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;
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...]
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));
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;
267 __kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
296 convertToWT(loadpix(srcptr + mad24(sy+y, src_step, mad24(sx+x, pixsize, src_offset)))) : scalar
    [all...]
bilateral.cl 59 __kernel void bilateral(__global const uchar * src, int src_step, int src_offset,
68 int src_index = mad24(y + radius, src_step, mad24(x + radius, TSIZE, src_offset));
99 __kernel void bilateral_float4(__global const uchar * src, int src_step, int src_offset,
107 int src_index = ((y + radius) * src_step) + x * 4 + (radius + src_offset);
  /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"
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"
153 "inline void calcElement(__global const uchar * src, int src_step, int src_offset,\n"
160 "pixel_t up_value = *(__global const pixel_t *)(src + mad24(sy_up, src_step, mad24(psz, sx, src_offset)));\n"
161 "pixel_t down_value = *(__global const pixel_t *)(src + mad24(sy_down, src_step, mad24(psz, sx, src_offset)));\n"
168 "pixel_t up_value_t = *(__global const pixel_t *)(src + mad24(sy_up + wy, src_step, mad24(psz, sx + wx, src_offset)));\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)));
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)));
176 inline void calcElement(__global const uchar * src, int src_step, int src_offset,
184 pixel_t up_value = *(__global const pixel_t *)(src + mad24(sy_up, src_step, mad24(psz, sx, src_offset)));
185 pixel_t down_value = *(__global const pixel_t *)(src + mad24(sy_down, src_step, mad24(psz, sx, src_offset)));
195 pixel_t up_value_t = *(__global const pixel_t *)(src + mad24(sy_up + wy, src_step, mad24(psz, sx + wx, src_offset)));
    [all...]
  /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));
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));
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));
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));
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));
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));
reduce2.cl 94 __kernel void reduce_horz_opt(__global const uchar * srcptr, int src_step, int src_offset, int rows, int cols,
108 int src_index = mad24(y, src_step, mad24(x, (int)sizeof(srcT) * cn, src_offset));
173 __kernel void reduce(__global const uchar * srcptr, int src_step, int src_offset, int rows, int cols,
184 int src_index = mad24(x, (int)sizeof(srcT) * cn, src_offset);
216 int src_index = mad24(y, src_step, src_offset);
  /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"
90 "src += src_offset;\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/mesa3d/src/mesa/drivers/dri/intel/
intel_blit.h 43 GLuint src_offset,
70 unsigned int src_offset,
  /external/sfntly/cpp/src/sfntly/data/
growable_memory_byte_array.h 40 int32_t src_offset,
42 return ByteArray::CopyTo(dst_offset, array, src_offset, length);
memory_byte_array.h 52 int32_t src_offset,
54 return ByteArray::CopyTo(dst_offset, array, src_offset, length);
  /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,
139 src += src_offset;
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));
  /external/v8/test/cctest/
test-utils.cc 149 int src_offset,
156 MemMove(area1 + dest_offset, area1 + src_offset, length);
157 memmove(area2 + dest_offset, area2 + src_offset, length);
159 printf("MemMove(): src_offset: %d, dest_offset: %d, length: %d\n",
160 src_offset, dest_offset, length);
181 for (int src_offset = kMinOffset; src_offset <= kMaxOffset; src_offset++) {
184 TestMemMove(area1, area2, src_offset, dst_offset, length);
  /external/mesa3d/src/gallium/drivers/i915/
i915_blit.c 93 unsigned src_offset,
110 src_buffer, src_pitch, src_offset, src_x, src_y,
157 OUT_RELOC_FENCED(src_buffer, I915_USAGE_2D_SOURCE, src_offset);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_tile_image.c 161 uint src_offset = (jj / tile_h * tiles_per_row + ii / tile_w) local
164 untile_4_4_uint32(src32 + src_offset,
181 uint src_offset = (jj / tile_h * tiles_per_row + ii / tile_w) local
184 untile_4_4_uint16(src16 + src_offset,
251 uint src_offset = jj * src_stride + ii; local
254 tile_4_4_uint32(src32 + src_offset,
271 uint src_offset = jj * src_stride + ii; local
274 tile_4_4_uint16(src16 + src_offset,
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_blit.h 37 intptr_t src_offset,
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_blit.h 37 intptr_t src_offset,

Completed in 3857 milliseconds

1 2 3 4 5 6 7 8 9