Home
last modified time | relevance | path

Searched refs:dst_box (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_texture.c35 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 …]
/external/mesa3d/src/gallium/frontends/xvmc/
Dsubpicture.c207 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 …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c209 struct pipe_box src_box, dst_box; in util_resource_copy_region() local
226 dst_box.x = dst_x; in util_resource_copy_region()
227 dst_box.y = dst_y; in util_resource_copy_region()
228 dst_box.z = dst_z; in util_resource_copy_region()
229 dst_box.width = src_box.width; in util_resource_copy_region()
230 dst_box.height = src_box.height; in util_resource_copy_region()
231 dst_box.depth = src_box.depth; in util_resource_copy_region()
245 dst_box.width /= src_bw; in util_resource_copy_region()
246 dst_box.height /= src_bh; in util_resource_copy_region()
252 dst_box.width *= dst_bw; in util_resource_copy_region()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c258 struct pipe_box dst_box; in util_resource_copy_region() local
284 dst_box.x = dst_x; in util_resource_copy_region()
285 dst_box.y = dst_y; in util_resource_copy_region()
286 dst_box.z = dst_z; in util_resource_copy_region()
287 dst_box.width = src_box->width; in util_resource_copy_region()
288 dst_box.height = src_box->height; in util_resource_copy_region()
289 dst_box.depth = src_box->depth; in util_resource_copy_region()
295 &dst_box, &dst_trans); in util_resource_copy_region()
/external/mesa3d/src/gallium/frontends/nine/
Dvolume9.c431 struct pipe_box dst_box; in NineVolume9_CopyMemToDefault() local
439 dst_box.x = dstx; in NineVolume9_CopyMemToDefault()
440 dst_box.y = dsty; in NineVolume9_CopyMemToDefault()
441 dst_box.z = dstz; in NineVolume9_CopyMemToDefault()
454 dst_box.width = src_box.width; in NineVolume9_CopyMemToDefault()
455 dst_box.height = src_box.height; in NineVolume9_CopyMemToDefault()
456 dst_box.depth = src_box.depth; in NineVolume9_CopyMemToDefault()
463 &dst_box, in NineVolume9_CopyMemToDefault()
Dsurface9.c551 struct pipe_box dst_box, src_box; in NineSurface9_UnlockRect() local
575 This->desc.Width, This->desc.Height, &dst_box); in NineSurface9_UnlockRect()
584 &dst_box, in NineSurface9_UnlockRect()
638 struct pipe_box dst_box, src_box; in NineSurface9_CopyMemToDefault() local
665 copy_width, copy_height, &dst_box); in NineSurface9_CopyMemToDefault()
674 &dst_box, in NineSurface9_CopyMemToDefault()
Dnine_state.h538 const struct pipe_box *dst_box,
581 const struct pipe_box *dst_box,
Dnine_state.c2432 ARG_COPY_REF(struct pipe_box, dst_box), in CSMT_ITEM_NO_WAIT() argument
2444 dst_box->x, dst_box->y, dst_box->z, in CSMT_ITEM_NO_WAIT()
2516 ARG_COPY_REF(struct pipe_box, dst_box), in CSMT_ITEM_NO_WAIT_WITH_COUNTER() argument
2535 dst_box, &transfer); in CSMT_ITEM_NO_WAIT_WITH_COUNTER()
2549 dst_box->width, dst_box->height, in CSMT_ITEM_NO_WAIT_WITH_COUNTER()
2550 dst_box->depth); in CSMT_ITEM_NO_WAIT_WITH_COUNTER()
/external/mesa3d/src/gallium/frontends/vdpau/
Dbitmap.c187 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()
Dsurface.c394 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()
Doutput.c250 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()
494 struct pipe_box dst_box = { in vlVdpOutputSurfacePutBitsYCbCr() local
499 pipe->texture_subdata(pipe, sv->texture, 0, PIPE_MAP_WRITE, &dst_box, in vlVdpOutputSurfacePutBitsYCbCr()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c46 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()
/external/mesa3d/src/gallium/frontends/va/
Dimage.c668 struct pipe_box dst_box = {0, 0, j, width, height, 1}; in vlVaPutImage() local
681 &dst_box, &transfer); in vlVaPutImage()
689 map, dst_box.width, dst_box.height); in vlVaPutImage()
693 PIPE_MAP_WRITE, &dst_box, in vlVaPutImage()
Dsurface.c197 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()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c620 VkRect2D dst_box; in blit_image() local
621 dst_box.offset.x = MIN2(dst_x0, dst_x1); in blit_image()
622 dst_box.offset.y = MIN2(dst_y0, dst_y1); in blit_image()
623 dst_box.extent.width = dst_x1 - dst_x0; in blit_image()
624 dst_box.extent.height = dst_y1 - dst_y0; in blit_image()
687 dst_box, in blit_image()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c1369 struct pipe_box dst_box = (struct pipe_box) { in iris_flush_staging_region() local
1379 dst_box.x, dst_box.y, dst_box.z, map->staging, 0, in iris_flush_staging_region()