Home
last modified time | relevance | path

Searched refs:srcy (Results 1 – 25 of 42) sorted by relevance

12

/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()
69 else if ((srcy < dsty) && (srcy + height < dsty + (height * zoomY))) { in regions_overlap()
73 else if ((srcy > dsty) && (srcy + height > dsty + (height * zoomY))) { 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()
112 if (!overlapping && srcy < desty) { in copy_rgba_pixels()
114 sy = srcy + height - 1; in copy_rgba_pixels()
120 sy = srcy; in copy_rgba_pixels()
232 copy_depth_pixels( struct gl_context *ctx, GLint srcx, GLint srcy, in copy_depth_pixels() argument
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_tiling.c39 for (unsigned srcy = 0; srcy < height; ++srcy) { \
40 unsigned dsty = basey + srcy; \
47 ((type *)src)[srcy * src_stride + srcx]; \
55 unsigned srcy = basey + dsty; \
56 unsigned sy = (srcy / TEX_TILE_HEIGHT) * src_stride + \
57 (srcy % TEX_TILE_HEIGHT) * TEX_TILE_WIDTH; \
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c52 GLint srcx, GLint srcy, in do_blit_copypixels() argument
159 srcy += dsty - orig_dsty; in do_blit_copypixels()
163 orig_srcy = srcy; in do_blit_copypixels()
166 &srcx, &srcy, &width, &height)) in do_blit_copypixels()
170 dsty += srcy - orig_srcy; 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()
Dintel_pixel.h53 GLint srcx, GLint srcy,
Dintel_blit.h49 GLshort srcx, GLshort srcy,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_copy.c49 GLint srcx, GLint srcy, in do_blit_copypixels() argument
161 srcy += dsty - orig_dsty; in do_blit_copypixels()
165 orig_srcy = srcy; in do_blit_copypixels()
168 &srcx, &srcy, &width, &height)) in do_blit_copypixels()
172 dsty += srcy - orig_srcy; 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()
Dintel_pixel.h51 GLint srcx, GLint srcy,
Dintel_blit.h42 GLshort srcx, GLshort srcy,
/external/libvpx/libvpx/vp8/common/
Dextend.c91 YV12_BUFFER_CONFIG *dst, int srcy, 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()
103 if (srcy) et = 0; in vp8_copy_and_extend_frame_with_rect()
105 if (srcy + srch != src->y_height) eb = 0; in vp8_copy_and_extend_frame_with_rect()
Dextend.h25 YV12_BUFFER_CONFIG *dst, int srcy,
/external/libaom/libaom/av1/encoder/
Dextend.c154 YV12_BUFFER_CONFIG *dst, int srcy, in av1_copy_and_extend_frame_with_rect() argument
157 const int et_y = srcy ? 0 : dst->border; in av1_copy_and_extend_frame_with_rect()
159 const int eb_y = srcy + srch != src->y_height 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()
Dextend.h26 YV12_BUFFER_CONFIG *dst, int srcy,
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c157 YV12_BUFFER_CONFIG *dst, int srcy, in vp9_copy_and_extend_frame_with_rect() argument
160 const int et_y = srcy ? 0 : dst->border; in vp9_copy_and_extend_frame_with_rect()
162 const int eb_y = srcy + srch != src->y_height 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.h25 YV12_BUFFER_CONFIG *dst, int srcy,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c306 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local
317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma()
334 srcy = rand() % (tsrc.height0 - height + 1) & ~0x7; in r600_test_dma()
346 srcy = rand() % (tsrc.height0 - height + 1); in r600_test_dma()
357 srcy = 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/
Dsi_test_dma.c306 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_dma() local
317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in si_test_dma()
334 srcy = rand() % (tsrc.height0 - height + 1) & ~0x7; in si_test_dma()
346 srcy = rand() % (tsrc.height0 - height + 1); in si_test_dma()
357 srcy = 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()
Dcik_sdma.c179 unsigned srcy = src_box->y / rsrc->surface.blk_h; in cik_sdma_copy_texture() local
202 srcy >= (1 << 14) || in cik_sdma_copy_texture()
232 srcy + copy_height != (1 << 14)))) { in cik_sdma_copy_texture()
242 radeon_emit(cs, srcx | (srcy << 16)); in cik_sdma_copy_texture()
268 unsigned tiled_y = tiled == rsrc ? srcy : dsty; in cik_sdma_copy_texture()
269 unsigned linear_y = linear == rsrc ? srcy : dsty; in cik_sdma_copy_texture()
436 srcy % 8 == 0 && in cik_sdma_copy_texture()
463 srcy + copy_height == src_height && in cik_sdma_copy_texture()
488 srcy + copy_height_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/
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/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c1191 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
1336 readY = srcy; 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()
1555 srcy = ctx->ReadBuffer->Height - srcy - height; in st_CopyPixels()
[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()
385 assert(srcy + srch - 1 < surface->height); in XvMCPutSurface()
Dsubpicture.c412 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/gallium/drivers/i915/
Di915_blit.h41 short srcx, short srcy,
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c605 GLint srcx, GLint srcy, GLsizei width, GLsizei height, in xmesa_CopyPixels() argument
624 srcy = YFLIP(srcXrb, srcy) - height + 1; in xmesa_CopyPixels()
627 srcx, srcy, width, height, destx, desty); in xmesa_CopyPixels()
630 _swrast_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type ); in xmesa_CopyPixels()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h2961 int srcy = (row < 0) ? -row : row; // mirror pad
2962 srcy = (srcy >= rows) ? (2 * rows - srcy - 1) : srcy;
2974 value += filter[i + j] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel);
2983 value += filter[i] * ReadFloat4(image, number_channels, columns, srcx, srcy, channel);
3040 int srcy = (get_group_id(1) + get_global_offset(1) / 4) * (tileSize - 2 * pad) - pad;
3044 (mirrorTop(mirrorBottom(srcy + i), imageHeight)) * imageWidth * number_channels;
3114 if ((i >= pad) && (i < tileSize - pad) && (srcy + i >= 0) && (srcy + i < imageHeight)) {
3115 int pos = (srcx * number_channels) + ((srcy + i) * (imageWidth * number_channels));

12