/third_party/mesa3d/src/intel/isl/ |
H A D | isl_tiled_memcpy.c | 253 int32_t src_pitch, in linear_to_xtiled() 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() 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, x in linear_to_ytiled() 250 linear_to_xtiled(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_mem_copy_fn mem_copy, isl_mem_copy_fn mem_copy_align16) linear_to_xtiled() argument 292 linear_to_ytiled(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y3, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_mem_copy_fn mem_copy, isl_mem_copy_fn mem_copy_align16) linear_to_ytiled() argument 628 linear_to_xtiled_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) linear_to_xtiled_faster() argument 673 linear_to_ytiled_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) linear_to_ytiled_faster() argument 831 linear_to_tiled(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, uint32_t dst_pitch, int32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) linear_to_tiled() argument 922 tiled_to_linear(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, int32_t dst_pitch, uint32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) tiled_to_linear() argument [all...] |
H A D | isl_tiled_memcpy_normal.c | 39 uint32_t dst_pitch, int32_t src_pitch, in _isl_memcpy_linear_to_tiled() 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() 57 tiled_to_linear(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_tiled_to_linear() 36 _isl_memcpy_linear_to_tiled(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, uint32_t dst_pitch, int32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) _isl_memcpy_linear_to_tiled() argument 49 _isl_memcpy_tiled_to_linear(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, int32_t dst_pitch, uint32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) _isl_memcpy_tiled_to_linear() argument
|
H A D | isl_tiled_memcpy_sse41.c | 40 uint32_t dst_pitch, int32_t src_pitch, in _isl_memcpy_linear_to_tiled_sse41() 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() 58 tiled_to_linear(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch, in _isl_memcpy_tiled_to_linear_sse41() 37 _isl_memcpy_linear_to_tiled_sse41(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, uint32_t dst_pitch, int32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) _isl_memcpy_linear_to_tiled_sse41() argument 50 _isl_memcpy_tiled_to_linear_sse41(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, int32_t dst_pitch, uint32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) _isl_memcpy_tiled_to_linear_sse41() argument
|
H A D | isl_priv.h | 168 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,
|
H A D | isl.c | 43 uint32_t dst_pitch, int32_t src_pitch, in isl_memcpy_linear_to_tiled() 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() 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() 40 isl_memcpy_linear_to_tiled(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, uint32_t dst_pitch, int32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) isl_memcpy_linear_to_tiled() argument 63 isl_memcpy_tiled_to_linear(uint32_t xt1, uint32_t xt2, uint32_t yt1, uint32_t yt2, char *dst, const char *src, int32_t dst_pitch, uint32_t src_pitch, bool has_swizzling, enum isl_tiling tiling, isl_memcpy_type copy_type) isl_memcpy_tiled_to_linear() argument
|
H A D | isl.h | 2902 uint32_t dst_pitch, int32_t src_pitch, 2915 int32_t dst_pitch, uint32_t src_pitch,
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_blit.c | 80 unsigned short src_pitch, struct i915_winsys_buffer *src_buffer, in i915_copy_blit() 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() 79 i915_copy_blit(struct i915_context *i915, unsigned cpp, unsigned short src_pitch, struct i915_winsys_buffer *src_buffer, unsigned src_offset, unsigned short dst_pitch, struct i915_winsys_buffer *dst_buffer, unsigned dst_offset, short src_x, short src_y, short dst_x, short dst_y, short w, short h) i915_copy_blit() argument
|
H A D | i915_blit.h | 34 unsigned short src_pitch,
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | transfer.cpp | 184 const vector_t &src_orig, const vector_t &src_pitch, in validate_copy() 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() 330 src_orig, src_pitch, region }; in soft_copy_op() 562 auto src_pitch = pitch(region, {{ 1 }}); 566 validate_object(q, src_mem, src_origin, src_pitch, region); 568 src_mem, src_origin, src_pitch, region); 599 auto src_pitch = pitch(region, {{ 1, src_row_pitch, src_slice_pitch }}); 603 validate_object(q, src_mem, src_origin, src_pitch, regio 181 validate_copy(command_queue &q, buffer &dst_mem, const vector_t &dst_orig, const vector_t &dst_pitch, buffer &src_mem, const vector_t &src_orig, const vector_t &src_pitch, const vector_t ®ion) validate_copy() argument 322 soft_copy_op(command_queue &q, T dst_obj, const vector_t &dst_orig, const vector_t &dst_pitch, S src_obj, const vector_t &src_orig, const vector_t &src_pitch, const vector_t ®ion) soft_copy_op() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_sdma_copy_image.c | 119 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/ |
H A D | crocus_blt.c | 147 int32_t src_pitch, in emit_copy_blt() 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() 143 emit_copy_blt(struct crocus_batch *batch, struct crocus_resource *src, struct crocus_resource *dst, unsigned cpp, int32_t src_pitch, unsigned src_offset, int32_t dst_pitch, unsigned dst_offset, uint16_t src_x, uint16_t src_y, uint16_t dst_x, uint16_t dst_y, uint16_t w, uint16_t h) emit_copy_blt() argument
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
H A D | imgui_freetype.cpp | 276 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/ |
H A D | radv_sdma_copy_image.c | 80 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/ |
H A D | vf_colormatrix.c | 212 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()
|
H A D | vf_yadif_cuda.c | 62 int src_pitch, // Pitch is bytes in call_kernel() 91 .res.pitch2D.pitchInBytes = src_pitch, in call_kernel() 57 call_kernel(AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) call_kernel() argument
|
H A D | vf_thumbnail_cuda.c | 160 int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) in thumbnail_kernel() 181 .res.pitch2D.pitchInBytes = src_pitch, in thumbnail_kernel() 159 thumbnail_kernel(AVFilterContext *ctx, CUfunction func, int channels, int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) thumbnail_kernel() argument
|
/third_party/libdrm/include/drm/ |
H A D | mga_drm.h | 398 int src_pitch, dst_pitch; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state.c | 2964 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() 3016 * dst_pitch == src_pitch 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()
|
H A D | evergreen_state.c | 3896 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() 3962 * dst_pitch == src_pitch 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()
|