/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_tiling.c | 43 for (unsigned srcx = 0; srcx < width; ++srcx) { \ 44 unsigned dstx = basex + srcx; \ 47 ((type *)src)[srcy * src_stride + srcx]; \ 59 unsigned srcx = basex + dstx; \ 61 ((type *)src)[sy + (srcx / TEX_TILE_WIDTH) * TEX_TILE_WORDS + \ 62 (srcx % TEX_TILE_WIDTH)]; \
|
/external/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 50 regions_overlap(GLint srcx, GLint srcy, in regions_overlap() argument 56 return _mesa_regions_overlap(srcx, srcy, srcx + width, srcy + height, in regions_overlap() 61 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) { in regions_overlap() 65 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) { in regions_overlap() 88 copy_rgba_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in copy_rgba_pixels() argument 104 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height, in copy_rgba_pixels() 140 width, srcx, sy + row, p ); in copy_rgba_pixels() 164 width, srcx, sy, rgba ); in copy_rgba_pixels() 232 copy_depth_pixels( struct gl_context *ctx, GLint srcx, GLint srcy, in copy_depth_pixels() argument 255 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height, in copy_depth_pixels() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_copy.c | 52 GLint srcx, GLint srcy, in do_blit_copypixels() argument 158 srcx += dstx - orig_dstx; in do_blit_copypixels() 162 orig_srcx = srcx; in do_blit_copypixels() 166 &srcx, &srcy, &width, &height)) in do_blit_copypixels() 169 dstx += srcx - orig_srcx; in do_blit_copypixels() 174 srcx, srcy, _mesa_is_winsys_fbo(read_fb), in do_blit_copypixels() 197 GLint srcx, GLint srcy, in intelCopyPixels() argument 206 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type)) in intelCopyPixels() 210 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type); in intelCopyPixels()
|
D | intel_pixel.h | 53 GLint srcx, GLint srcy,
|
D | intel_blit.h | 49 GLshort srcx, GLshort srcy,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_copy.c | 49 GLint srcx, GLint srcy, in do_blit_copypixels() argument 160 srcx += dstx - orig_dstx; in do_blit_copypixels() 164 orig_srcx = srcx; in do_blit_copypixels() 168 &srcx, &srcy, &width, &height)) in do_blit_copypixels() 171 dstx += srcx - orig_srcx; in do_blit_copypixels() 176 srcx, srcy, _mesa_is_winsys_fbo(read_fb), in do_blit_copypixels() 198 GLint srcx, GLint srcy, in intelCopyPixels() argument 207 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type)) in intelCopyPixels() 211 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type); in intelCopyPixels()
|
D | intel_pixel.h | 51 GLint srcx, GLint srcy,
|
D | intel_blit.h | 42 GLshort srcx, GLshort srcy,
|
/external/libvpx/libvpx/vp8/common/ |
D | extend.c | 92 int srcx, int srch, int srcw) { in vp8_copy_and_extend_frame_with_rect() argument 97 int src_y_offset = srcy * src->y_stride + srcx; in vp8_copy_and_extend_frame_with_rect() 98 int dst_y_offset = srcy * dst->y_stride + srcx; in vp8_copy_and_extend_frame_with_rect() 99 int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1); in vp8_copy_and_extend_frame_with_rect() 100 int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1); in vp8_copy_and_extend_frame_with_rect() 104 if (srcx) el = 0; in vp8_copy_and_extend_frame_with_rect() 106 if (srcx + srcw != src->y_width) er = 0; in vp8_copy_and_extend_frame_with_rect()
|
D | extend.h | 26 int srcx, int srch, int srcw);
|
/external/libaom/libaom/av1/encoder/ |
D | extend.c | 155 int srcx, int srch, int srcw) { in av1_copy_and_extend_frame_with_rect() argument 158 const int el_y = srcx ? 0 : dst->border; in av1_copy_and_extend_frame_with_rect() 162 const int er_y = srcx + srcw != src->y_width in av1_copy_and_extend_frame_with_rect() 165 const int src_y_offset = srcy * src->y_stride + srcx; in av1_copy_and_extend_frame_with_rect() 166 const int dst_y_offset = srcy * dst->y_stride + srcx; in av1_copy_and_extend_frame_with_rect() 172 const int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1); in av1_copy_and_extend_frame_with_rect() 173 const int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1); in av1_copy_and_extend_frame_with_rect()
|
D | extend.h | 27 int srcx, int srch, int srcw);
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_extend.c | 158 int srcx, int srch, int srcw) { in vp9_copy_and_extend_frame_with_rect() argument 161 const int el_y = srcx ? 0 : dst->border; in vp9_copy_and_extend_frame_with_rect() 165 const int er_y = srcx + srcw != src->y_width in vp9_copy_and_extend_frame_with_rect() 168 const int src_y_offset = srcy * src->y_stride + srcx; in vp9_copy_and_extend_frame_with_rect() 169 const int dst_y_offset = srcy * dst->y_stride + srcx; in vp9_copy_and_extend_frame_with_rect() 175 const int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1); in vp9_copy_and_extend_frame_with_rect() 176 const int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1); in vp9_copy_and_extend_frame_with_rect()
|
D | vp9_extend.h | 26 int srcx, int srch, int srcw);
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_test_dma.c | 306 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local 317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma() 333 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7; in r600_test_dma() 345 srcx = rand() % (tsrc.width0 - width + 1); in r600_test_dma() 356 srcx = 0; in r600_test_dma() 363 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in r600_test_dma() 376 srcx, srcy, srcz); in r600_test_dma()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_test_dma.c | 306 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_dma() local 317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in si_test_dma() 333 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7; in si_test_dma() 345 srcx = rand() % (tsrc.width0 - width + 1); in si_test_dma() 356 srcx = 0; in si_test_dma() 363 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in si_test_dma() 376 srcx, srcy, srcz); in si_test_dma()
|
D | cik_sdma.c | 178 unsigned srcx = src_box->x / rsrc->surface.blk_w; in cik_sdma_copy_texture() local 201 if (srcx >= (1 << 14) || in cik_sdma_copy_texture() 231 (srcx + copy_width != (1 << 14) && in cik_sdma_copy_texture() 242 radeon_emit(cs, srcx | (srcy << 16)); in cik_sdma_copy_texture() 266 unsigned tiled_x = tiled == rsrc ? srcx : dstx; in cik_sdma_copy_texture() 267 unsigned linear_x = linear == rsrc ? srcx : dstx; in cik_sdma_copy_texture() 435 srcx % 8 == 0 && in cik_sdma_copy_texture() 458 srcx + copy_width == src_width && in cik_sdma_copy_texture() 487 (srcx + copy_width_aligned != (1 << 14) && in cik_sdma_copy_texture() 498 radeon_emit(cs, srcx | (srcy << 16)); in cik_sdma_copy_texture()
|
/external/mesa3d/src/mesa/main/ |
D | drawpix.c | 191 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, in _mesa_CopyPixels() argument 201 srcx, srcy, width, height, in _mesa_CopyPixels() 270 ctx->Driver.CopyPixels( ctx, srcx, srcy, width, height, destx, desty, in _mesa_CopyPixels()
|
D | drawpix.h | 36 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
|
/external/ImageMagick/MagickCore/ |
D | accelerate-kernels-private.h | 2971 int srcx = ix + j; 2972 srcx = (srcx < 0) ? -srcx : srcx; 2973 srcx = (srcx >= columns) ? (2 * columns - srcx - 1) : srcx; 2974 value += filter[i + j] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel); 2981 int srcx = (ix < 0) ? -ix : ix; // mirror pad 2982 srcx = (srcx >= columns) ? (2 * columns - srcx - 1) : srcx; 2983 value += filter[i] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel); 3039 …int srcx = (get_group_id(0) + get_global_offset(0) / tileSize) * (tileSize - 2 * pad) - pad + get_… 3043 int pos = (mirrorTop(mirrorBottom(srcx), imageWidth) * number_channels) + 3112 …if ((get_local_id(0) >= pad) && (get_local_id(0) < tileSize - pad) && (srcx >= 0) && (srcx < image… [all …]
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | surface.c | 350 short srcx, short srcy, unsigned short srcw, unsigned short srch, in XvMCPutSurface() argument 365 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch}; in XvMCPutSurface() 384 assert(srcx + srcw - 1 < surface->width); in XvMCPutSurface()
|
D | subpicture.c | 412 short srcx, short srcy, unsigned short width, unsigned short height, in XvMCCompositeSubpicture() argument 445 upload_sampler_convert(pipe, subpicture_priv->sampler, &dst_box, image, srcx, srcy); in XvMCCompositeSubpicture() 448 upload_sampler(pipe, subpicture_priv->sampler, &dst_box, image->data, src_stride, srcx, srcy); in XvMCCompositeSubpicture()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawpixels.c | 1191 copy_stencil_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in copy_stencil_pixels() argument 1214 _mesa_readpixels(ctx, srcx, srcy, width, height, in copy_stencil_pixels() 1299 blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in blit_copy_pixels() argument 1335 readX = srcx; in blit_copy_pixels() 1423 st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, in st_CopyPixels() argument 1451 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL); in st_CopyPixels() 1452 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH); in st_CopyPixels() 1458 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty); in st_CopyPixels() 1462 if (blit_copy_pixels(ctx, srcx, srcy, width, height, dstx, dsty, type)) in st_CopyPixels() 1565 readX = srcx; in st_CopyPixels()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_blit.h | 41 short srcx, short srcy,
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 321 nir_ssa_def *srcx = ptn_channel(b, src[0], X); in ptn_exp() local 323 ptn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), WRITEMASK_X); in ptn_exp() 324 ptn_move_dest_masked(b, dest, nir_fsub(b, srcx, nir_ffloor(b, srcx)), WRITEMASK_Y); in ptn_exp() 325 ptn_move_dest_masked(b, dest, nir_fexp2(b, srcx), WRITEMASK_Z); in ptn_exp()
|