Home
last modified time | relevance | path

Searched refs:srcx (Results 1 - 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A 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/ffmpeg/libavfilter/
H A Dvf_lut2.c79 AVFrame *out, *srcx, *srcy; member
255 AVFrame *srcx = td->srcx; \
269 srcxx = (const xtype *)(srcx->data[p] + slice_start * srcx->linesize[p]);\
278 srcxx += srcx->linesize[p] / xdiv; \
299 AVFrame *out, *srcx = NULL, *srcy = NULL; in process_frame() local
302 if ((ret = ff_framesync_get_frame(&s->fs, 0, &srcx, 0)) < 0 || in process_frame()
307 out = av_frame_clone(srcx); in process_frame()
316 av_frame_copy_props(out, srcx); in process_frame()
407 AVFilterLink *srcx = ctx->inputs[0]; lut2_config_output() local
[all...]
H A Dvf_atadenoise.c152 const int srcx = src[x]; \
155 float sum = srcx; \
162 ldiff = FFABS(srcx - srcjx); \
172 rdiff = FFABS(srcx - srcix); \
200 const int srcx = src[x]; \
203 float sum = srcx; \
210 ldiff = FFABS(srcx - srcjx); \
222 rdiff = FFABS(srcx - srcix); \
249 const int srcx = src[x]; \
252 unsigned sum = srcx; \
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A 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()
H A Dr600_buffer_common.c304 unsigned dstx, unsigned srcx, unsigned size) in r600_can_dma_copy_buffer()
306 bool dword_aligned = !(dstx % 4) && !(srcx % 4) && !(size % 4); in r600_can_dma_copy_buffer()
303 r600_can_dma_copy_buffer(struct r600_common_context *rctx, unsigned dstx, unsigned srcx, unsigned size) r600_can_dma_copy_buffer() argument
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c564 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_image_copy_region() local
587 srcx = rand() % (u_minify(tsrc.width0, src_level) - width + 1); in si_test_image_copy_region()
594 srcx &= ~(util_format_get_blockwidth(src->format) - 1); in si_test_image_copy_region()
604 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in si_test_image_copy_region()
615 src_cpu[src_level].layer_stride, srcx, srcy, srcz); in si_test_image_copy_region()
783 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_blit() local
809 srcx = rand() % (u_minify(tsrc.width0, src_level) - src_width + 1); in si_test_blit()
820 srcx += rand() % (max_src_width / 5) - max_src_width / 10; in si_test_blit()
833 srcx &= ~(util_format_get_blockwidth(tsrc.format) - 1); in si_test_blit()
866 srcx in si_test_blit()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DViewableTaggedData.java436 int srcx = ref.srcx - style.marginOffset; in drawRef()
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/mesa/main/
H A Ddrawpix.c199 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, in _mesa_CopyPixels() argument
209 srcx, srcy, width, height, in _mesa_CopyPixels()
293 st_CopyPixels( ctx, srcx, srcy, width, height, destx, desty, in _mesa_CopyPixels()
/third_party/mesa3d/src/gallium/frontends/xvmc/
H A Dsurface.c350 short srcx, short srcy, unsigned short srcw, unsigned short srch, in XvMCPutSurface()
365 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch}; in XvMCPutSurface()
384 assert(srcx + srcw - 1 < surface->width); in XvMCPutSurface()
349 XvMCPutSurface(Display *dpy, XvMCSurface *surface, Drawable drawable, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, int flags) XvMCPutSurface() argument
H A Dsubpicture.c410 short srcx, short srcy, unsigned short width, unsigned short height, in XvMCCompositeSubpicture()
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()
409 XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage *image, short srcx, short srcy, unsigned short width, unsigned short height, short dstx, short dsty) XvMCCompositeSubpicture() argument
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_blit.h38 unsigned dst_offset, short srcx, short srcy,
H A 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/mesa/state_tracker/
H A Dst_cb_drawpixels.h51 void st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy,
H A Dst_cb_drawpixels.c1414 copy_stencil_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in copy_stencil_pixels() argument
1436 _mesa_readpixels(ctx, srcx, srcy, width, height, in copy_stencil_pixels()
1518 blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy, in blit_copy_pixels() argument
1559 readX = srcx; in blit_copy_pixels()
1667 st_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, in st_CopyPixels() argument
1695 if (blit_copy_pixels(ctx, srcx, srcy, width, height, dstx, dsty, type)) in st_CopyPixels()
1701 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL); in st_CopyPixels()
1702 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH); in st_CopyPixels()
1709 copy_stencil_pixels(ctx, srcx, srcy, width, height, dstx, dsty); in st_CopyPixels()
1780 copy_stencil_pixels(ctx, srcx, src in st_CopyPixels()
[all...]
/third_party/mesa3d/src/mesa/program/
H A Dprog_to_nir.c300 nir_ssa_def *srcx = ptn_channel(b, src[0], X); in ptn_exp() local
302 ptn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), WRITEMASK_X); in ptn_exp()
303 ptn_move_dest_masked(b, dest, nir_fsub(b, srcx, nir_ffloor(b, srcx)), WRITEMASK_Y); in ptn_exp()
304 ptn_move_dest_masked(b, dest, nir_fexp2(b, srcx), WRITEMASK_Z); in ptn_exp()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_surface.c1532 int64_t srcx, srcy; in nv50_blit_eng2d() local
1600 srcx = (int64_t)(info->src.box.x + srcx_adj) << (src->ms_x + 32); in nv50_blit_eng2d()
1605 srcx += (int64_t)1 << (src->ms_x + 31); in nv50_blit_eng2d()
1617 srcx -= du_dx * dstx; in nv50_blit_eng2d()
1676 PUSH_DATA (push, srcx); in nv50_blit_eng2d()
1677 PUSH_DATA (push, srcx >> 32); in nv50_blit_eng2d()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_surface.c1439 int64_t srcx, srcy; in nvc0_blit_eng2d() local
1511 srcx = (int64_t)(info->src.box.x + srcx_adj) << (src->ms_x + 32); in nvc0_blit_eng2d()
1516 srcx += (int64_t)1 << (src->ms_x + 31); in nvc0_blit_eng2d()
1528 srcx -= du_dx * dstx; in nvc0_blit_eng2d()
1586 PUSH_DATA (push, srcx); in nvc0_blit_eng2d()
1587 PUSH_DATA (push, srcx >> 32); in nvc0_blit_eng2d()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c56 unsigned srcx, unsigned srcy, unsigned srcz, in svga_transfer_dma_band()
70 box.srcx = srcx; in svga_transfer_dma_band()
51 svga_transfer_dma_band(struct svga_context *svga, struct svga_transfer *st, SVGA3dTransferType transfer, unsigned x, unsigned y, unsigned z, unsigned w, unsigned h, unsigned d, unsigned srcx, unsigned srcy, unsigned srcz, SVGA3dSurfaceDMAFlags flags) svga_transfer_dma_band() argument
H A Dsvga_surface.c67 box.srcx = src_x; in svga_texture_copy_region()
108 box.srcx = src_x; in svga_texture_copy_handle()
H A Dsvga_cmd.h704 unsigned srcx, unsigned dstx, unsigned width);
/third_party/mesa3d/src/glx/
H A Ddrisw_glx.c181 int srcx, int srcy, int x, int y, in swrastXPutImage()
206 XShmPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h, False); in swrastXPutImage()
209 XPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h); in swrastXPutImage()
180 swrastXPutImage(__DRIdrawable * draw, int op, int srcx, int srcy, int x, int y, int w, int h, int stride, int shmid, char *data, void *loaderPrivate) swrastXPutImage() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c591 struct nv04_resource *src, unsigned srcx, unsigned size) in nouveau_copy_buffer()
601 src->bo, src->offset + srcx, src->domain, size); in nouveau_copy_buffer()
611 src_box.x = srcx; in nouveau_copy_buffer()
589 nouveau_copy_buffer(struct nouveau_context *nv, struct nv04_resource *dst, unsigned dstx, struct nv04_resource *src, unsigned srcx, unsigned size) nouveau_copy_buffer() argument
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_types.h109 uint32 srcx; member
124 uint32 srcx; member
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dtgsi_to_nir.c977 nir_ssa_def *srcx = ttn_channel(b, src[0], X); in ttn_exp() local
979 ttn_move_dest_masked(b, dest, nir_fexp2(b, nir_ffloor(b, srcx)), in ttn_exp()
981 ttn_move_dest_masked(b, dest, nir_fsub(b, srcx, nir_ffloor(b, srcx)), in ttn_exp()
983 ttn_move_dest_masked(b, dest, nir_fexp2(b, srcx), TGSI_WRITEMASK_Z); in ttn_exp()
/third_party/mesa3d/src/gallium/frontends/va/
H A Dsurface.c305 vlVaPutSurface(VADriverContextP ctx, VASurfaceID surface_id, void* draw, short srcx, short srcy, in vlVaPutSurface() argument
352 src_rect.x0 = srcx; in vlVaPutSurface()
354 src_rect.x1 = srcw + srcx; in vlVaPutSurface()

Completed in 42 milliseconds

12