Home
last modified time | relevance | path

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

12

/third_party/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)]; \
/third_party/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,
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c52 GLint srcx, GLint srcy, in do_blit_copypixels() argument
155 srcx += dstx - orig_dstx; in do_blit_copypixels()
159 orig_srcx = srcx; in do_blit_copypixels()
163 &srcx, &srcy, &width, &height)) in do_blit_copypixels()
166 dstx += srcx - orig_srcx; in do_blit_copypixels()
171 srcx, srcy, _mesa_is_winsys_fbo(read_fb), in do_blit_copypixels()
194 GLint srcx, GLint srcy, in intelCopyPixels() argument
203 if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type)) in intelCopyPixels()
207 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type); in intelCopyPixels()
Dintel_pixel.h53 GLint srcx, GLint srcy,
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_pixel_copy.c49 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, read_fb->FlipY, in do_blit_copypixels()
195 GLint srcx, GLint srcy, in brw_copypixels() argument
207 do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type)) in brw_copypixels()
211 _mesa_meta_CopyPixels(ctx, srcx, srcy, width, height, destx, desty, type); in brw_copypixels()
Dbrw_pixel.h51 GLint srcx, GLint srcy,
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_auto.c32 int srcy, srcx; in SDL_Blit_RGB888_RGB888_Scale() local
45 srcx = -1; in SDL_Blit_RGB888_RGB888_Scale()
54 ++srcx; in SDL_Blit_RGB888_RGB888_Scale()
57 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Scale()
127 int srcy, srcx; in SDL_Blit_RGB888_RGB888_Blend_Scale() local
140 srcx = -1; in SDL_Blit_RGB888_RGB888_Blend_Scale()
149 ++srcx; in SDL_Blit_RGB888_RGB888_Blend_Scale()
152 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Blend_Scale()
232 int srcy, srcx; in SDL_Blit_RGB888_RGB888_Modulate_Scale() local
245 srcx = -1; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
[all …]
DSDL_blit_slow.c42 int srcy, srcx; in SDL_Blit_Slow() local
61 srcx = -1; in SDL_Blit_Slow()
70 ++srcx; in SDL_Blit_Slow()
74 (info->src + (srcy * info->src_pitch) + (srcx * srcbpp)); in SDL_Blit_Slow()
DSDL_surface.c562 int srcx, srcy, w, h; in SDL_UpperBlit() local
584 srcx = srcrect->x; in SDL_UpperBlit()
586 if (srcx < 0) { in SDL_UpperBlit()
587 w += srcx; in SDL_UpperBlit()
588 dstrect->x -= srcx; in SDL_UpperBlit()
589 srcx = 0; in SDL_UpperBlit()
591 maxw = src->w - srcx; in SDL_UpperBlit()
607 srcx = srcy = 0; in SDL_UpperBlit()
621 srcx += dx; in SDL_UpperBlit()
646 sr.x = srcx; in SDL_UpperBlit()
/third_party/ffmpeg/libavfilter/
Dvf_lut2.c77 AVFrame *out, *srcx, *srcy; member
253 AVFrame *srcx = td->srcx; \
267 srcxx = (const xtype *)(srcx->data[p] + slice_start * srcx->linesize[p]);\
276 srcxx += srcx->linesize[p] / xdiv; \
297 AVFrame *out, *srcx = NULL, *srcy = NULL; in process_frame() local
300 if ((ret = ff_framesync_get_frame(&s->fs, 0, &srcx, 0)) < 0 || in process_frame()
305 out = av_frame_clone(srcx); in process_frame()
314 av_frame_copy_props(out, srcx); in process_frame()
317 td.srcx = srcx; in process_frame()
404 AVFilterLink *srcx = ctx->inputs[0]; in lut2_config_output() local
[all …]
Dvf_atadenoise.c158 const int srcx = src[x]; \
161 float sum = srcx; \
169 ldiff = FFABS(srcx - srcjx); \
180 rdiff = FFABS(srcx - srcix); \
209 const int srcx = src[x]; \
212 float sum = srcx; \
220 ldiff = FFABS(srcx - srcjx); \
233 rdiff = FFABS(srcx - srcix); \
261 const int srcx = src[x]; \
264 unsigned sum = srcx; \
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c305 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local
316 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma()
332 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7; in r600_test_dma()
344 srcx = rand() % (tsrc.width0 - width + 1); in r600_test_dma()
355 srcx = 0; in r600_test_dma()
362 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in r600_test_dma()
375 srcx, srcy, srcz); in r600_test_dma()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_blit.c308 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_blit() local
319 srcx = srcy = srcz = dstx = dsty = dstz = 0; in si_test_blit()
333 srcx = rand() % (tsrc.width0 - width + 1) & ~0x7; in si_test_blit()
345 srcx = rand() % (tsrc.width0 - width + 1); in si_test_blit()
354 srcx = 0; in si_test_blit()
361 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in si_test_blit()
371 src_cpu.layer_stride, srcx, srcy, srcz); in si_test_blit()
/third_party/mesa3d/src/mesa/main/
Ddrawpix.c197 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, in _mesa_CopyPixels() argument
207 srcx, srcy, width, height, in _mesa_CopyPixels()
291 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,
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DViewableTaggedData.java436 int srcx = ref.srcx - style.marginOffset; in drawRef() local
442 int mx = Math.min(srcx, trgx) - style.marginPad + margin; in drawRef()
450 srcx += metrics.marginWidth; in drawRef()
456 g.drawLine(srcx, srcy, mx, srcy); in drawRef()
614 private int srcx, srcy, trgx, trgy; field in ViewableTaggedData.Reference
621 srcx = x - 1; in setSrc()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DViewableTaggedData.java436 int srcx = ref.srcx - style.marginOffset; in drawRef() local
442 int mx = Math.min(srcx, trgx) - style.marginPad + margin; in drawRef()
450 srcx += metrics.marginWidth; in drawRef()
456 g.drawLine(srcx, srcy, mx, srcy); in drawRef()
614 private int srcx, srcy, trgx, trgy; field in ViewableTaggedData.Reference
621 srcx = x - 1; in setSrc()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_blit.h38 unsigned dst_offset, short srcx, short srcy,
Di915_surface.c233 int srcx = src_box->x / block_width; in i915_surface_copy_blitter() local
239 srcx *= (block_size / 4); in i915_surface_copy_blitter()
248 (short)srcx, (short)srcy, (short)dstx, (short)dsty, in i915_surface_copy_blitter()
/third_party/mesa3d/src/gallium/frontends/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.c410 short srcx, short srcy, unsigned short width, unsigned short height, in XvMCCompositeSubpicture() argument
443 upload_sampler_convert(pipe, subpicture_priv->sampler, &dst_box, image, srcx, srcy); in XvMCCompositeSubpicture()
446 upload_sampler(pipe, subpicture_priv->sampler, &dst_box, image->data, src_stride, srcx, srcy); in XvMCCompositeSubpicture()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c1451 copy_stencil_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in copy_stencil_pixels() argument
1474 _mesa_readpixels(ctx, srcx, srcy, width, height, in copy_stencil_pixels()
1559 blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in blit_copy_pixels() argument
1600 readX = srcx; in blit_copy_pixels()
1709 st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, in st_CopyPixels() argument
1737 if (blit_copy_pixels(ctx, srcx, srcy, width, height, dstx, dsty, type)) in st_CopyPixels()
1743 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL); in st_CopyPixels()
1744 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH); in st_CopyPixels()
1751 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty); in st_CopyPixels()
1826 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty); in st_CopyPixels()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c298 nir_ssa_def *srcx = ptn_channel(b, src[0], X); in ptn_exp() local
300 ptn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), WRITEMASK_X); in ptn_exp()
301 ptn_move_dest_masked(b, dest, nir_fsub(b, srcx, nir_ffloor(b, srcx)), WRITEMASK_Y); in ptn_exp()
302 ptn_move_dest_masked(b, dest, nir_fexp2(b, srcx), WRITEMASK_Z); in ptn_exp()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h71 GLint srcx, GLint srcy,

12