Home
last modified time | relevance | path

Searched refs:copy_width (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c120 unsigned copy_width = DIV_ROUND_UP(ssrc->buffer.b.b.width0, ssrc->surface.blk_w); in si_sdma_v4_v5_copy_texture() local
172 copy_width < (1 << 14) && copy_height < (1 << 14))) in si_sdma_v4_v5_copy_texture()
197 radeon_emit((copy_width - 1) | ((copy_height - 1) << 16)); in si_sdma_v4_v5_copy_texture()
249 unsigned copy_width = DIV_ROUND_UP(ssrc->buffer.b.b.width0, ssrc->surface.blk_w); in cik_sdma_copy_texture() local
259 dst_slice_pitch <= (1 << 28) && copy_width <= (1 << 14) && copy_height <= (1 << 14) && in cik_sdma_copy_texture()
262 (copy_width < (1 << 14) && copy_height < (1 << 14))) && in cik_sdma_copy_texture()
265 (copy_width != (1 << 14) && copy_height != (1 << 14)))) { in cik_sdma_copy_texture()
282 radeon_emit(copy_width | (copy_height << 16)); in cik_sdma_copy_texture()
285 radeon_emit((copy_width - 1) | ((copy_height - 1) << 16)); in cik_sdma_copy_texture()
311 unsigned copy_width_aligned = copy_width; in cik_sdma_copy_texture()
[all …]
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c1908 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_get_image() local
1911 int dst_stride = copy_width; in dri2_wl_swrast_get_image()
1916 memset(data, 0, copy_width * h); in dri2_wl_swrast_get_image()
1921 assert(copy_width <= src_stride); in dri2_wl_swrast_get_image()
1927 if (copy_width > src_stride-x_offset) in dri2_wl_swrast_get_image()
1928 copy_width = src_stride-x_offset; in dri2_wl_swrast_get_image()
1933 memcpy(dst, src, copy_width); in dri2_wl_swrast_get_image()
1945 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_put_image2() local
1950 assert(copy_width <= stride); in dri2_wl_swrast_put_image2()
1956 if (copy_width < dst_stride) in dri2_wl_swrast_put_image2()
[all …]
Degl_dri2.c218 int copy_width = src_stride; in dri2_put_image() local
231 if (copy_width > dst_stride - x_offset) in dri2_put_image()
232 copy_width = dst_stride - x_offset; in dri2_put_image()
237 memcpy(dst, src, copy_width); in dri2_put_image()
256 int copy_width = dst_stride; in dri2_get_image() local
261 memset(data, 0, copy_width * h); in dri2_get_image()
269 if (copy_width > src_stride - x_offset) in dri2_get_image()
270 copy_width = src_stride - x_offset; in dri2_get_image()
275 memcpy(dst, src, copy_width); in dri2_get_image()
/third_party/mesa3d/src/gallium/frontends/nine/
Dsurface9.c654 int src_x, src_y, dst_x, dst_y, copy_width, copy_height; in NineSurface9_CopyMemToDefault() local
670 copy_width = pSourceRect->right - pSourceRect->left; in NineSurface9_CopyMemToDefault()
675 copy_width = From->desc.Width; in NineSurface9_CopyMemToDefault()
680 copy_width, copy_height, &dst_box); in NineSurface9_CopyMemToDefault()
682 copy_width, copy_height, &src_box); in NineSurface9_CopyMemToDefault()
693 copy_width, copy_height); in NineSurface9_CopyMemToDefault()
Ddevice9.c1402 int copy_width, copy_height; in NineDevice9_UpdateSurface() local
1430 copy_width = pSourceRect->right - pSourceRect->left; in NineDevice9_UpdateSurface()
1434 copy_width > 0 && in NineDevice9_UpdateSurface()
1441 copy_width = src->desc.Width; in NineDevice9_UpdateSurface()
1445 destRect.right = copy_width; in NineDevice9_UpdateSurface()
1472 if (!(copy_width == src->desc.Width && in NineDevice9_UpdateSurface()
1473 copy_width == dst->desc.Width && in NineDevice9_UpdateSurface()
1476 user_assert(!(copy_width % w) && !(copy_height % h), in NineDevice9_UpdateSurface()
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c345 guint copy_width; in gst_video_crop_transform_planar() local
373 copy_width = GST_VIDEO_FRAME_COMP_WIDTH (out_frame, p) * bytes_per_pixel; in gst_video_crop_transform_planar()
377 memcpy (plane_out, plane_in, copy_width); in gst_video_crop_transform_planar()
/third_party/ffmpeg/libavcodec/mips/
Dhevc_mc_uni_msa.c4044 copy_width##WIDTH##_msa(src, src_stride, dst, dst_stride, height); \
Dvp9_mc_msa.c4400 copy_width##SIZE##_msa(src, srcstride, dst, dststride, h); \