Home
last modified time | relevance | path

Searched refs:dsty (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_tiling.c40 unsigned dsty = basey + srcy; \
41 unsigned ty = (dsty / TEX_TILE_HEIGHT) * dst_stride + \
42 (dsty % TEX_TILE_HEIGHT) * TEX_TILE_WIDTH; \
54 for (unsigned dsty = 0; dsty < height; ++dsty) { \
55 unsigned srcy = basey + dsty; \
60 ((type *)dest)[dsty * dst_stride + dstx] = \
Detnaviv_clear_blit.c125 unsigned dsty, unsigned width, unsigned height, in etna_clear_render_target() argument
133 util_blitter_clear_render_target(ctx->blitter, dst, color, dstx, dsty, width, height); in etna_clear_render_target()
139 unsigned dstx, unsigned dsty, unsigned width, in etna_clear_depth_stencil() argument
148 stencil, dstx, dsty, width, height); in etna_clear_depth_stencil()
153 unsigned dst_level, unsigned dstx, unsigned dsty, in etna_resource_copy_region() argument
162 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in etna_resource_copy_region()
165 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in etna_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_surface.c76 unsigned dst_level, unsigned dstx, unsigned dsty, in i915_surface_copy_render() argument
116 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in i915_surface_copy_render()
125 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src, in i915_surface_copy_render()
133 unsigned dstx, unsigned dsty, unsigned width, in i915_clear_render_target_render() argument
151 i915_clear_emit(pipe, PIPE_CLEAR_COLOR, color, 0.0, 0x0, dstx, dsty, width, in i915_clear_render_target_render()
163 unsigned dsty, unsigned width, unsigned height, in i915_clear_depth_stencil_render() argument
181 stencil, dstx, dsty, width, height); in i915_clear_depth_stencil_render()
197 unsigned dst_level, unsigned dstx, unsigned dsty, in i915_surface_copy_blitter() argument
203 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src, in i915_surface_copy_blitter()
232 dsty /= block_height; in i915_surface_copy_blitter()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c257 unsigned dstx, unsigned dsty, unsigned dstz, in blit() argument
272 u_box_3d(dstx, dsty, dstz, src_box->width, src_box->height, in blit()
284 unsigned dstx, unsigned dsty, unsigned dstz, in swizzled_copy() argument
334 blit(pipe, dst, blit_dst_format, dst_level, dstx, dsty, dstz, in swizzled_copy()
403 unsigned dstx, unsigned dsty, unsigned dstz, in handle_complex_copy() argument
432 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
439 blit(pipe, dst, canon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
456 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy()
465 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
480 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, temp, in handle_complex_copy()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c54 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument
149 orig_dsty = dsty; in do_blit_copypixels()
152 &dstx, &dsty, &width, &height)) in do_blit_copypixels()
156 srcy += dsty - orig_dsty; in do_blit_copypixels()
167 dsty += srcy - orig_srcy; in do_blit_copypixels()
173 dstx, dsty, _mesa_is_winsys_fbo(fb), in do_blit_copypixels()
Dintel_pixel_bitmap.c175 GLint dstx, GLint dsty, in do_blit_bitmap() argument
191 GLint orig_dsty = dsty; in do_blit_bitmap()
251 &dstx, &dsty, &width, &height)) in do_blit_bitmap()
254 dsty = y_flip(fb, dsty, height); in do_blit_bitmap()
280 -orig_dsty + y_flip(fb, dsty + py, h), in do_blit_bitmap()
298 dsty + py, in do_blit_bitmap()
Dintel_tex_copy.c51 GLint dstx, GLint dsty, GLint slice, in intel_copy_texsubimage() argument
72 dstx, dsty, false, in intel_copy_texsubimage()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_pixel_copy.c51 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument
151 orig_dsty = dsty; in do_blit_copypixels()
154 &dstx, &dsty, &width, &height)) in do_blit_copypixels()
158 srcy += dsty - orig_dsty; in do_blit_copypixels()
169 dsty += srcy - orig_srcy; in do_blit_copypixels()
175 dstx, dsty, fb->FlipY, in do_blit_copypixels()
Dbrw_pixel_bitmap.c174 GLint dstx, GLint dsty, in do_blit_bitmap() argument
190 GLint orig_dsty = dsty; in do_blit_bitmap()
250 &dstx, &dsty, &width, &height)) in do_blit_bitmap()
253 dsty = y_flip(fb, dsty, height); in do_blit_bitmap()
284 -orig_dsty + y_flip(fb, dsty + py, h), in do_blit_bitmap()
302 dsty + py, in do_blit_bitmap()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c42 unsigned dstx, unsigned dsty, unsigned dstz, in lp_resource_copy_ms() argument
49 dst_box.y = dsty; in lp_resource_copy_ms()
87 unsigned dstx, unsigned dsty, unsigned dstz, in lp_resource_copy() argument
107 lp_resource_copy_ms(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy()
111 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy()
305 unsigned dstx, unsigned dsty, in llvmpipe_clear_render_target() argument
316 u_box_2d(dstx, dsty, width, height, &box); in llvmpipe_clear_render_target()
327 dstx, dsty, width, height); in llvmpipe_clear_render_target()
373 unsigned dstx, unsigned dsty, in llvmpipe_clear_depth_stencil() argument
385 u_box_2d(dstx, dsty, width, height, &box); in llvmpipe_clear_depth_stencil()
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_surface.c99 unsigned dstx, unsigned dsty, in softpipe_clear_render_target() argument
109 dstx, dsty, width, height); in softpipe_clear_render_target()
119 unsigned dstx, unsigned dsty, in softpipe_clear_depth_stencil() argument
130 dstx, dsty, width, height); in softpipe_clear_depth_stencil()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tex_copy.c43 GLint dstx, GLint dsty, in do_copy_texsubimage() argument
82 assert(timg->base.Base.Height >= dsty + height); in do_copy_texsubimage()
90 fprintf(stderr, "to: x %d, y %d, offset %d\n", dstx, dsty, (uint32_t) dst_offset); in do_copy_texsubimage()
133 dstx, dsty, width, height, flip_y); in do_copy_texsubimage()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex_copy.c43 GLint dstx, GLint dsty, in do_copy_texsubimage() argument
82 assert(timg->base.Base.Height >= dsty + height); in do_copy_texsubimage()
90 fprintf(stderr, "to: x %d, y %d, offset %d\n", dstx, dsty, (uint32_t) dst_offset); in do_copy_texsubimage()
133 dstx, dsty, width, height, flip_y); in do_copy_texsubimage()
/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()
336 dsty = rand() % (tdst.height0 - height + 1) & ~0x7; in r600_test_dma()
348 dsty = rand() % (tdst.height0 - height + 1); in r600_test_dma()
363 rctx->dma_copy(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in r600_test_dma()
372 dstx, dsty, dstz, width, height, depth, in r600_test_dma()
/third_party/ffmpeg/libavcodec/
Dmidivid.c110 uint8_t *dsty = frame->data[0] + y * frame->linesize[0]; in decode_mvdv() local
134 dsty[x +frame->linesize[0]] = vec[idx * 12 + 0]; in decode_mvdv()
135 dsty[x+1+frame->linesize[0]] = vec[idx * 12 + 3]; in decode_mvdv()
136 dsty[x] = vec[idx * 12 + 6]; in decode_mvdv()
137 dsty[x+1] = vec[idx * 12 + 9]; in decode_mvdv()
Dnotchlc.c156 uint16_t *dsty, *dstu, *dstv, *dsta; in decode_blocks() local
235 dsty = (uint16_t *)p->data[0]; in decode_blocks()
263dsty[x + i * ylinesize + 0] = av_clip_uintp2(y_min + ((y_diff * get_bits(&bit, nb_bits) + add) / d… in decode_blocks()
264dsty[x + i * ylinesize + 1] = av_clip_uintp2(y_min + ((y_diff * get_bits(&bit, nb_bits) + add) / d… in decode_blocks()
265dsty[x + i * ylinesize + 2] = av_clip_uintp2(y_min + ((y_diff * get_bits(&bit, nb_bits) + add) / d… in decode_blocks()
266dsty[x + i * ylinesize + 3] = av_clip_uintp2(y_min + ((y_diff * get_bits(&bit, nb_bits) + add) / d… in decode_blocks()
270 dsty += 4 * ylinesize; in decode_blocks()
/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()
337 dsty = rand() % (tdst.height0 - height + 1) & ~0x7; in si_test_blit()
349 dsty = rand() % (tdst.height0 - height + 1); in si_test_blit()
362 si_resource_copy_region(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in si_test_blit()
369 util_copy_box(dst_cpu.ptr, tdst.format, dst_cpu.stride, dst_cpu.layer_stride, dstx, dsty, in si_test_blit()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c318 unsigned dst_level, unsigned dstx, unsigned dsty, in fd_blitter_pipe_copy_region() argument
337 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in fd_blitter_pipe_copy_region()
350 unsigned dst_level, unsigned dstx, unsigned dsty, in fd_resource_copy_region() argument
374 info.dst.box.y = dsty; in fd_resource_copy_region()
395 if (fd_blitter_pipe_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src, in fd_resource_copy_region()
401 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in fd_resource_copy_region()
/third_party/mesa3d/src/mesa/swrast/
Ds_copypix.c51 GLint dstx, GLint dsty, in regions_overlap() argument
57 dstx, dsty, dstx + width, dsty + 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()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.h96 unsigned dstx, unsigned dsty,
105 unsigned dstx, unsigned dsty,
Du_surface.c385 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_color_texture() argument
395 dstx, dsty, dstz, in util_clear_color_texture()
424 unsigned dstx, unsigned dsty, in util_clear_render_target() argument
458 dst->u.tex.level, dstx, dsty, in util_clear_render_target()
580 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_depth_stencil_texture() argument
597 dstx, dsty, dstz, in util_clear_depth_stencil_texture()
672 unsigned dstx, unsigned dsty, in util_clear_depth_stencil() argument
686 dstx, dsty, dst->u.tex.first_layer, in util_clear_depth_stencil()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.h79 unsigned dsty, unsigned width, unsigned height,
85 unsigned dstx, unsigned dsty, unsigned width, unsigned height,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_clear.c467 unsigned dstx, unsigned dsty, in svga_blitter_clear_render_target() argument
474 dstx, dsty, width, height); in svga_blitter_clear_render_target()
495 unsigned dstx, unsigned dsty, in svga_clear_render_target() argument
502 if (!svga_have_vgpu10(svga) || dstx != 0 || dsty != 0 || in svga_clear_render_target()
504 svga_blitter_clear_render_target(svga, dst, color, dstx, dsty, width, in svga_clear_render_target()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c434 unsigned dstx, unsigned dsty, in r300_clear_render_target() argument
443 dstx, dsty, width, height); in r300_clear_render_target()
453 unsigned dstx, unsigned dsty, in r300_clear_depth_stencil() argument
471 dstx, dsty, width, height); in r300_clear_depth_stencil()
536 unsigned dstx, unsigned dsty, unsigned dstz, in r300_resource_copy_region() argument
557 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
641 dsty /= 4; in r300_resource_copy_region()
656 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
672 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in r300_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c678 unsigned dstx, unsigned dsty, unsigned dstz, in crocus_copy_region() argument
692 dst_level, dstx, dsty, dstz, in crocus_copy_region()
745 src_box->x, src_box->y, dstx, dsty, in crocus_copy_region()
781 unsigned dstx, unsigned dsty, unsigned dstz, in crocus_resource_copy_region() argument
814 util_resource_copy_region(ctx, p_dst, dst_level, dstx, dsty, dstz, in crocus_resource_copy_region()
818 crocus_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in crocus_resource_copy_region()
829 dsty, dstz, &s_src_res->base.b, src_level, src_box); in crocus_resource_copy_region()

1234