Home
last modified time | relevance | path

Searched refs:src_pitch (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c253 int32_t src_pitch, in linear_to_xtiled() argument
263 src += (ptrdiff_t)y0 * src_pitch; in linear_to_xtiled()
282 src += src_pitch; in linear_to_xtiled()
295 int32_t src_pitch, in linear_to_ytiled() argument
328 src += (ptrdiff_t)y0 * src_pitch; in linear_to_ytiled()
348 src += src_pitch; in linear_to_ytiled()
357 … mem_copy(dst + ((xo0 + yo + 0 * column_width) ^ swizzle0), src + x0 + 0 * src_pitch, x1 - x0); in linear_to_ytiled()
358 … mem_copy(dst + ((xo0 + yo + 1 * column_width) ^ swizzle0), src + x0 + 1 * src_pitch, x1 - x0); in linear_to_ytiled()
359 … mem_copy(dst + ((xo0 + yo + 2 * column_width) ^ swizzle0), src + x0 + 2 * src_pitch, x1 - x0); in linear_to_ytiled()
360 … mem_copy(dst + ((xo0 + yo + 3 * column_width) ^ swizzle0), src + x0 + 3 * src_pitch, x1 - x0); in linear_to_ytiled()
[all …]
Disl_tiled_memcpy_sse41.c40 uint32_t dst_pitch, int32_t src_pitch, in _isl_memcpy_linear_to_tiled_sse41() argument
45 linear_to_tiled(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_linear_to_tiled_sse41()
53 int32_t dst_pitch, uint32_t src_pitch, in _isl_memcpy_tiled_to_linear_sse41() argument
58 tiled_to_linear(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_tiled_to_linear_sse41()
Disl_tiled_memcpy_normal.c39 uint32_t dst_pitch, int32_t src_pitch, in _isl_memcpy_linear_to_tiled() argument
44 linear_to_tiled(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_linear_to_tiled()
52 int32_t dst_pitch, uint32_t src_pitch, in _isl_memcpy_tiled_to_linear() argument
57 tiled_to_linear(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_tiled_to_linear()
Disl_priv.h168 uint32_t dst_pitch, int32_t src_pitch,
177 int32_t dst_pitch, uint32_t src_pitch,
186 uint32_t dst_pitch, int32_t src_pitch,
195 int32_t dst_pitch, uint32_t src_pitch,
Disl.c43 uint32_t dst_pitch, int32_t src_pitch, in isl_memcpy_linear_to_tiled() argument
51 xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, has_swizzling, in isl_memcpy_linear_to_tiled()
58 xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, has_swizzling, in isl_memcpy_linear_to_tiled()
66 int32_t dst_pitch, uint32_t src_pitch, in isl_memcpy_tiled_to_linear() argument
74 xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, has_swizzling, in isl_memcpy_tiled_to_linear()
81 xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, has_swizzling, in isl_memcpy_tiled_to_linear()
Disl.h2902 uint32_t dst_pitch, int32_t src_pitch,
2915 int32_t dst_pitch, uint32_t src_pitch,
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_blit.c80 unsigned short src_pitch, struct i915_winsys_buffer *src_buffer, in i915_copy_blit() argument
93 __FUNCTION__, src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit()
125 assert(dst_pitch > 0 && src_pitch > 0); in i915_copy_blit()
137 OUT_BATCH(((int)src_pitch & 0xffff)); in i915_copy_blit()
Di915_blit.h34 unsigned short src_pitch,
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp184 const vector_t &src_orig, const vector_t &src_pitch, in validate_copy() argument
188 auto src_offset = dot(src_pitch, src_orig); in validate_copy()
192 src_offset, src_offset + size(src_pitch, region))) in validate_copy()
324 S src_obj, const vector_t &src_orig, const vector_t &src_pitch, in soft_copy_op() argument
330 src_orig, src_pitch, region }; in soft_copy_op()
562 auto src_pitch = pitch(region, {{ 1 }}); in clEnqueueCopyBuffer() local
566 validate_object(q, src_mem, src_origin, src_pitch, region); in clEnqueueCopyBuffer()
568 src_mem, src_origin, src_pitch, region); in clEnqueueCopyBuffer()
599 auto src_pitch = pitch(region, {{ 1, src_row_pitch, src_slice_pitch }}); in clEnqueueCopyBufferRect() local
603 validate_object(q, src_mem, src_origin, src_pitch, region); in clEnqueueCopyBufferRect()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c119 unsigned src_pitch = ssrc->surface.u.gfx9.surf_pitch; in si_sdma_v4_v5_copy_texture() local
130 unsigned bytes = src_pitch * copy_height * bpp; in si_sdma_v4_v5_copy_texture()
158 unsigned linear_pitch = linear == ssrc ? src_pitch : dst_pitch; in si_sdma_v4_v5_copy_texture()
242 unsigned src_pitch = ssrc->surface.u.legacy.level[0].nblk_x; in cik_sdma_copy_texture() local
258 src_pitch <= (1 << 14) && dst_pitch <= (1 << 14) && src_slice_pitch <= (1 << 28) && in cik_sdma_copy_texture()
274 radeon_emit((src_pitch - 1) << 16); in cik_sdma_copy_texture()
298 unsigned tiled_pitch = tiled == ssrc ? src_pitch : dst_pitch; in cik_sdma_copy_texture()
299 unsigned linear_pitch = linear == ssrc ? src_pitch : dst_pitch; in cik_sdma_copy_texture()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blt.c147 int32_t src_pitch, in emit_copy_blt() argument
163 src, src_pitch, src_offset, src_x, src_y, in emit_copy_blt()
173 assert(src->surf.tiling == ISL_TILING_LINEAR || (src_pitch % src_tile_w) == 0); in emit_copy_blt()
197 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blt()
208 src_pitch /= 4; in emit_copy_blt()
226 xyblt.SourcePitch = src_pitch; in emit_copy_blt()
/third_party/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.cpp276 const uint32_t src_pitch = ft_bitmap->pitch; in BlitGlyph() local
284 for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) in BlitGlyph()
290 for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) in BlitGlyph()
300 for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) in BlitGlyph()
319 for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) in BlitGlyph()
328 for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) in BlitGlyph()
/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c80 unsigned src_pitch = image->planes[0].surface.u.gfx9.surf_pitch; in radv_sdma_v4_v5_copy_image_to_buffer() local
91 unsigned bytes = src_pitch * copy_height * bpp; in radv_sdma_v4_v5_copy_image_to_buffer()
/third_party/ffmpeg/libavfilter/
Dvf_colormatrix.c212 const int src_pitch = src->linesize[0]; in process_slice_uyvy422() local
216 const unsigned char *srcp = src->data[0] + slice_start * src_pitch; in process_slice_uyvy422()
236 srcp += src_pitch; in process_slice_uyvy422()
Dvf_yadif_cuda.c62 int src_pitch, // Pitch is bytes in call_kernel() argument
91 .res.pitch2D.pitchInBytes = src_pitch, in call_kernel()
Dvf_thumbnail_cuda.c160 int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) in thumbnail_kernel() argument
181 .res.pitch2D.pitchInBytes = src_pitch, in thumbnail_kernel()
/third_party/libdrm/include/drm/
Dmga_drm.h398 int src_pitch, dst_pitch; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2964 unsigned dst_pitch, src_pitch, bpp, dst_mode, src_mode, copy_height; in r600_dma_copy() local
2993 src_pitch = rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.bpe; in r600_dma_copy()
3001 if (src_pitch != dst_pitch || src_box->x || dst_x || src_w != dst_w) { in r600_dma_copy()
3006 if (src_pitch % 8 || src_box->y % 8 || dst_y % 8) { in r600_dma_copy()
3020 src_offset += src_y * src_pitch + src_x * bpp; in r600_dma_copy()
3024 size = src_box->height * src_pitch; in r600_dma_copy()
Devergreen_state.c3896 unsigned dst_pitch, src_pitch, bpp, dst_mode, src_mode, copy_height; in evergreen_dma_copy() local
3927 src_pitch = rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.bpe; in evergreen_dma_copy()
3935 if (src_pitch != dst_pitch || src_box->x || dst_x || src_w != dst_w) { in evergreen_dma_copy()
3942 if (src_pitch % 8 || src_box->x % 8 || dst_x % 8 || src_box->y % 8 || dst_y % 8) { in evergreen_dma_copy()
3966 src_offset += src_y * src_pitch + src_x * bpp; in evergreen_dma_copy()
3971 src_box->height * src_pitch); in evergreen_dma_copy()