Home
last modified time | relevance | path

Searched refs:srcx (Results 1 – 25 of 47) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_tiling.c43 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/
Ds_copypix.c50 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 …]
Dswrast.h136 GLint srcx, GLint srcy,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_copy.c48 GLint srcx, GLint srcy, in do_blit_copypixels() argument
159 srcx += dstx - orig_dstx; in do_blit_copypixels()
163 orig_srcx = srcx; in do_blit_copypixels()
167 &srcx, &srcy, &width, &height)) in do_blit_copypixels()
170 dstx += srcx - orig_srcx; in do_blit_copypixels()
175 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()
Dintel_pixel.h51 GLint srcx, GLint srcy,
Dintel_blit.h44 GLshort srcx, GLshort srcy,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c51 GLint srcx, GLint srcy, in do_blit_copypixels() argument
157 srcx += dstx - orig_dstx; in do_blit_copypixels()
161 orig_srcx = srcx; in do_blit_copypixels()
165 &srcx, &srcy, &width, &height)) in do_blit_copypixels()
168 dstx += srcx - orig_srcx; in do_blit_copypixels()
173 srcx, srcy, _mesa_is_winsys_fbo(read_fb), in do_blit_copypixels()
196 GLint srcx, GLint srcy, in intelCopyPixels() argument
205 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type)) in intelCopyPixels()
209 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type); in intelCopyPixels()
Dintel_pixel.h53 GLint srcx, GLint srcy,
Dintel_blit.h49 GLshort srcx, GLshort srcy,
/external/libvpx/libvpx/vp8/common/
Dextend.c93 int srcx, int srch, int srcw) { in vp8_copy_and_extend_frame_with_rect() argument
98 int src_y_offset = srcy * src->y_stride + srcx; in vp8_copy_and_extend_frame_with_rect()
99 int dst_y_offset = srcy * dst->y_stride + srcx; in vp8_copy_and_extend_frame_with_rect()
100 int src_uv_offset = ((srcy * src->uv_stride) >> 1) + (srcx >> 1); in vp8_copy_and_extend_frame_with_rect()
101 int dst_uv_offset = ((srcy * dst->uv_stride) >> 1) + (srcx >> 1); in vp8_copy_and_extend_frame_with_rect()
105 if (srcx) el = 0; in vp8_copy_and_extend_frame_with_rect()
107 if (srcx + srcw != src->y_width) er = 0; in vp8_copy_and_extend_frame_with_rect()
Dextend.h26 int srcx, int srch, int srcw);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c158 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()
Dvp9_extend.h26 int srcx, int srch, int srcw);
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_test_dma.c315 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local
326 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma()
342 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7; in r600_test_dma()
354 srcx = rand() % (tsrc.width0 - width + 1); in r600_test_dma()
365 srcx = 0; in r600_test_dma()
372 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in r600_test_dma()
385 srcx, srcy, srcz); in r600_test_dma()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c176 unsigned srcx = src_box->x / rsrc->surface.blk_w; in cik_sdma_copy_texture() local
199 if (srcx >= (1 << 14) || in cik_sdma_copy_texture()
226 (srcx + copy_width != (1 << 14) && in cik_sdma_copy_texture()
237 radeon_emit(cs, srcx | (srcy << 16)); in cik_sdma_copy_texture()
261 unsigned tiled_x = tiled == rsrc ? srcx : dstx; in cik_sdma_copy_texture()
262 unsigned linear_x = linear == rsrc ? srcx : dstx; in cik_sdma_copy_texture()
430 srcx % 8 == 0 && in cik_sdma_copy_texture()
453 srcx + copy_width == src_width && in cik_sdma_copy_texture()
482 (srcx + copy_width_aligned != (1 << 14) && in cik_sdma_copy_texture()
493 radeon_emit(cs, srcx | (srcy << 16)); in cik_sdma_copy_texture()
/external/mesa3d/src/mesa/main/
Ddrawpix.c191 _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()
Ddrawpix.h36 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h2958 int srcx = ix + j;
2959 srcx = (srcx < 0) ? -srcx : srcx;
2960 srcx = (srcx >= columns) ? (2 * columns - srcx - 1) : srcx;
2961 value += filter[i + j] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel);
2968 int srcx = (ix < 0) ? -ix : ix; // mirror pad
2969 srcx = (srcx >= columns) ? (2 * columns - srcx - 1) : srcx;
2970 value += filter[i] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel);
3025 int srcx = get_group_id(0) * (tileSize - 2 * pad) - pad + get_local_id(0);
3029 int pos = (mirrorTop(mirrorBottom(srcx), imageWidth) * number_channels) +
3098 …if ((get_local_id(0) >= pad) && (get_local_id(0) < tileSize - pad) && (srcx >= 0) && (srcx < image…
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c350 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()
Dsubpicture.c338 short srcx, short srcy, unsigned short width, unsigned short height, in XvMCCompositeSubpicture() argument
370 upload_sampler(pipe, subpicture_priv->sampler, &dst_box, image->data, src_stride, srcx, srcy); in XvMCCompositeSubpicture()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c1189 copy_stencil_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in copy_stencil_pixels() argument
1212 _mesa_readpixels(ctx, srcx, srcy, width, height, in copy_stencil_pixels()
1297 blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in blit_copy_pixels() argument
1333 readX = srcx; in blit_copy_pixels()
1421 st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, in st_CopyPixels() argument
1447 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL); in st_CopyPixels()
1448 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH); in st_CopyPixels()
1454 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty); in st_CopyPixels()
1458 if (blit_copy_pixels(ctx, srcx, srcy, width, height, dstx, dsty, type)) in st_CopyPixels()
1561 readX = srcx; in st_CopyPixels()
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.h41 short srcx, short srcy,
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c321 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()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h71 GLint srcx, GLint srcy,
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c604 GLint srcx, GLint srcy, GLsizei width, GLsizei height, in xmesa_CopyPixels() argument
626 srcx, srcy, width, height, destx, desty); in xmesa_CopyPixels()
629 _swrast_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type ); in xmesa_CopyPixels()

12