/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 35 const struct pipe_box *dst_box, in virgl_copy_region_with_blit() argument 50 blit.dst.box.x = dst_box->x; in virgl_copy_region_with_blit() 51 blit.dst.box.y = dst_box->y; in virgl_copy_region_with_blit() 52 blit.dst.box.z = dst_box->z; in virgl_copy_region_with_blit() 53 blit.dst.box.width = dst_box->width; in virgl_copy_region_with_blit() 54 blit.dst.box.height = dst_box->height; in virgl_copy_region_with_blit() 55 blit.dst.box.depth = dst_box->depth; in virgl_copy_region_with_blit() 145 struct pipe_box dst_box = *box; in texture_transfer_map_resolve() local 146 dst_box.x = dst_box.y = dst_box.z = 0; in texture_transfer_map_resolve() 149 dst_box.width = align(dst_box.width, in texture_transfer_map_resolve() [all …]
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
D | subpicture.c | 207 const struct pipe_box *dst_box, const void *src, unsigned src_stride, in upload_sampler() argument 214 dst_box, &transfer); in upload_sampler() 219 dst_box->width, dst_box->height, in upload_sampler() 227 const struct pipe_box *dst_box, const XvImage *image, in upload_sampler_convert() argument 235 dst_box, &transfer); in upload_sampler_convert() 245 for (i = 0; i < dst_box->height; i++, map += transfer->stride, src += image->width) in upload_sampler_convert() 246 for (j = 0; j < dst_box->width; j++) in upload_sampler_convert() 252 for (i = 0; i < dst_box->height; i++, map += transfer->stride, src += image->width) in upload_sampler_convert() 253 for (j = 0; j < dst_box->width; j++) in upload_sampler_convert() 377 struct pipe_box dst_box = {x, y, 0, width, height, 1}; in XvMCClearSubpicture() local [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_surface.c | 215 struct pipe_box src_box, dst_box; in util_resource_copy_region() local 232 dst_box.x = dst_x; in util_resource_copy_region() 233 dst_box.y = dst_y; in util_resource_copy_region() 234 dst_box.z = dst_z; in util_resource_copy_region() 235 dst_box.width = src_box.width; in util_resource_copy_region() 236 dst_box.height = src_box.height; in util_resource_copy_region() 237 dst_box.depth = src_box.depth; in util_resource_copy_region() 251 dst_box.width /= src_bw; in util_resource_copy_region() 252 dst_box.height /= src_bh; in util_resource_copy_region() 258 dst_box.width *= dst_bw; in util_resource_copy_region() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_blit.cpp | 468 struct pipe_box *dst_box, in create_staging_resource() argument 495 dst_box->x = 0; in create_staging_resource() 496 dst_box->y = 0; in create_staging_resource() 497 dst_box->z = 0; in create_staging_resource() 498 dst_box->width = copy_src.width; in create_staging_resource() 499 dst_box->height = copy_src.height; in create_staging_resource() 500 dst_box->depth = copy_src.depth; in create_staging_resource() 502 d3d12_direct_copy(ctx, d3d12_resource(staging_res), 0, dst_box, in create_staging_resource() 506 dst_box->x = dst_box->width; in create_staging_resource() 507 dst_box->width = src_box->width; in create_staging_resource() [all …]
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | volume9.c | 430 struct pipe_box dst_box; in NineVolume9_CopyMemToDefault() local 438 dst_box.x = dstx; in NineVolume9_CopyMemToDefault() 439 dst_box.y = dsty; in NineVolume9_CopyMemToDefault() 440 dst_box.z = dstz; in NineVolume9_CopyMemToDefault() 453 dst_box.width = src_box.width; in NineVolume9_CopyMemToDefault() 454 dst_box.height = src_box.height; in NineVolume9_CopyMemToDefault() 455 dst_box.depth = src_box.depth; in NineVolume9_CopyMemToDefault() 462 &dst_box, in NineVolume9_CopyMemToDefault()
|
D | surface9.c | 558 struct pipe_box dst_box, src_box; in NineSurface9_UnlockRect() local 586 This->desc.Width, This->desc.Height, &dst_box); in NineSurface9_UnlockRect() 595 &dst_box, in NineSurface9_UnlockRect() 653 struct pipe_box dst_box, src_box; in NineSurface9_CopyMemToDefault() local 680 copy_width, copy_height, &dst_box); in NineSurface9_CopyMemToDefault() 703 &dst_box, in NineSurface9_CopyMemToDefault()
|
D | nine_state.h | 552 const struct pipe_box *dst_box, 596 const struct pipe_box *dst_box,
|
D | nine_state.c | 2474 ARG_COPY_REF(struct pipe_box, dst_box), in CSMT_ITEM_NO_WAIT() argument 2486 dst_box->x, dst_box->y, dst_box->z, in CSMT_ITEM_NO_WAIT() 2559 ARG_COPY_REF(struct pipe_box, dst_box), in CSMT_ITEM_NO_WAIT_WITH_COUNTER() argument 2582 if (dst_box->width < bw || dst_box->height < bh) in CSMT_ITEM_NO_WAIT_WITH_COUNTER() 2590 dst_box, &transfer); in CSMT_ITEM_NO_WAIT_WITH_COUNTER() 2604 dst_box->width, dst_box->height, in CSMT_ITEM_NO_WAIT_WITH_COUNTER() 2605 dst_box->depth); in CSMT_ITEM_NO_WAIT_WITH_COUNTER()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | bitmap.c | 187 struct pipe_box dst_box; in vlVdpBitmapSurfacePutBitsNative() local 201 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpBitmapSurfacePutBitsNative() 203 PIPE_MAP_WRITE, &dst_box, *source_data, in vlVdpBitmapSurfacePutBitsNative()
|
D | surface.c | 394 struct pipe_box dst_box = { in vlVdpVideoSurfacePutBitsYCbCr() local 404 &dst_box, &transfer); in vlVdpVideoSurfacePutBitsYCbCr() 412 map, dst_box.width, dst_box.height); in vlVdpVideoSurfacePutBitsYCbCr() 417 PIPE_MAP_WRITE, &dst_box, in vlVdpVideoSurfacePutBitsYCbCr()
|
D | output.c | 250 struct pipe_box dst_box; in vlVdpOutputSurfacePutBitsNative() local 266 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpOutputSurfacePutBitsNative() 269 if (!dst_box.width || !dst_box.height) { in vlVdpOutputSurfacePutBitsNative() 275 PIPE_MAP_WRITE, &dst_box, *source_data, in vlVdpOutputSurfacePutBitsNative() 500 struct pipe_box dst_box = { in vlVdpOutputSurfacePutBitsYCbCr() local 505 pipe->texture_subdata(pipe, sv->texture, 0, PIPE_MAP_WRITE, &dst_box, in vlVdpOutputSurfacePutBitsYCbCr()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_surface.c | 46 struct pipe_box dst_box = *src_box; in lp_resource_copy_ms() local 48 dst_box.x = dstx; in lp_resource_copy_ms() 49 dst_box.y = dsty; in lp_resource_copy_ms() 50 dst_box.z = dstz; in lp_resource_copy_ms() 65 &dst_box, in lp_resource_copy_ms()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | image.c | 711 struct pipe_box dst_box = {0, 0, j, width, height, 1}; in vlVaPutImage() local 724 &dst_box, &transfer); in vlVaPutImage() 732 map, dst_box.width, dst_box.height); in vlVaPutImage() 736 PIPE_MAP_WRITE, &dst_box, in vlVaPutImage()
|
D | surface.c | 197 const struct pipe_box *dst_box, const void *src, unsigned src_stride, in upload_sampler() argument 204 dst_box, &transfer); in upload_sampler() 209 dst_box->width, dst_box->height, in upload_sampler()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 540 VkRect2D dst_box; in blit_image() local 541 dst_box.offset.x = MIN2(dst_x0, dst_x1); in blit_image() 542 dst_box.offset.y = MIN2(dst_y0, dst_y1); in blit_image() 543 dst_box.extent.width = dst_x1 - dst_x0; in blit_image() 544 dst_box.extent.height = dst_y1 - dst_y0; in blit_image() 602 dst_offset_1, dst_box, sampler); in blit_image()
|
/third_party/ffmpeg/libavcodec/ |
D | videotoolboxenc.c | 1777 uint8_t *dst_box; in copy_replace_length_codes() local 1850 dst_box = dst_data + sizeof(start_code); in copy_replace_length_codes() 1856 dst_box); in copy_replace_length_codes() 1869 old_sei_length = find_sei_end(avctx, dst_box, box_len, &new_sei); in copy_replace_length_codes() 1884 extra_bytes = wrote_bytes - (dst_box + box_len - new_sei); in copy_replace_length_codes()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 1210 struct pipe_box dst_box = (struct pipe_box) { in crocus_flush_staging_region() local 1220 dst_box.x, dst_box.y, dst_box.z, map->staging, 0, in crocus_flush_staging_region()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 1967 struct pipe_box dst_box = (struct pipe_box) { in iris_flush_staging_region() local 1977 dst_box.x, dst_box.y, dst_box.z, map->staging, 0, in iris_flush_staging_region()
|