Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c39 static void micro_tile_8_x_4_8bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_4_8bit() argument
54 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
64 src2 += src_pitch; in micro_tile_8_x_4_8bit()
70 static void micro_tile_4_x_4_16bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_4_16bit() argument
85 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
95 src2 += src_pitch; in micro_tile_4_x_4_16bit()
101 static void micro_tile_8_x_2_16bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_2_16bit() argument
116 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_8_x_2_16bit()
126 src2 += src_pitch; in micro_tile_8_x_2_16bit()
132 static void micro_tile_4_x_2_32bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_2_32bit() argument
[all …]
Dradeon_tile.h30 void tile_image(const void * src, unsigned src_pitch,
34 void untile_image(const void * src, unsigned src_pitch,
Dradeon_blit.c328 unsigned src_pitch, in r100_blit() argument
378 src_width, src_height, src_pitch, src_offset, in r100_blit()
399 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); in r100_blit()
Dradeon_blit.h39 unsigned src_pitch,
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c39 static void micro_tile_8_x_4_8bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_4_8bit() argument
54 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
64 src2 += src_pitch; in micro_tile_8_x_4_8bit()
70 static void micro_tile_4_x_4_16bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_4_16bit() argument
85 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
95 src2 += src_pitch; in micro_tile_4_x_4_16bit()
101 static void micro_tile_8_x_2_16bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_2_16bit() argument
116 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_8_x_2_16bit()
126 src2 += src_pitch; in micro_tile_8_x_2_16bit()
132 static void micro_tile_4_x_2_32bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_2_32bit() argument
[all …]
Dradeon_tile.h30 void tile_image(const void * src, unsigned src_pitch,
34 void untile_image(const void * src, unsigned src_pitch,
Dr200_blit.h39 unsigned src_pitch,
Dr200_blit.c476 unsigned src_pitch, argument
526 src_width, src_height, src_pitch,
547 …_setup(r200, src_mesaformat, dst_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch);
/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,
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/tomsmocomp/
DTomsMoCompAll.inc36 #define SEFUNC(x) Search_Effort_MMXEXT_##x(int src_pitch, int dst_pitch, int rowsize, const unsigne…
38 #define SEFUNC(x) Search_Effort_3DNOW_##x(int src_pitch, int dst_pitch, int rowsize, const unsigned…
40 #define SEFUNC(x) Search_Effort_MMX_##x(int src_pitch, int dst_pitch, int rowsize, const unsigned c…
42 #define SEFUNC(x) Search_Effort_C_##x(int src_pitch, int dst_pitch, int rowsize, const unsigned cha…
55 #define SEFUNC(x) Search_Effort_MMXEXT_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pW…
57 #define SEFUNC(x) Search_Effort_3DNOW_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWe…
59 #define SEFUNC(x) Search_Effort_MMX_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeav…
61 #define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveD…
78 gint src_pitch;
98 src_pitch = GST_VIDEO_FRAME_PLANE_STRIDE (outframe, 0) * 2;
[all …]
/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.cpp168 const vector_t &src_orig, const vector_t &src_pitch, in validate_copy() argument
172 auto src_offset = dot(src_pitch, src_orig); in validate_copy()
176 src_offset, src_offset + size(src_pitch, region))) in validate_copy()
308 S src_obj, const vector_t &src_orig, const vector_t &src_pitch, in soft_copy_op() argument
314 src_orig, src_pitch, region }; in soft_copy_op()
546 auto src_pitch = pitch(region, {{ 1 }}); in clEnqueueCopyBuffer() local
550 validate_object(q, src_mem, src_origin, src_pitch, region); in clEnqueueCopyBuffer()
552 src_mem, src_origin, src_pitch, region); in clEnqueueCopyBuffer()
583 auto src_pitch = pitch(region, {{ 1, src_row_pitch, src_slice_pitch }}); in clEnqueueCopyBufferRect() local
587 validate_object(q, src_mem, src_origin, src_pitch, region); in clEnqueueCopyBufferRect()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_auto.c57 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Scale()
115 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Blend()
152 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Blend_Scale()
219 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Modulate()
257 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Modulate_Scale()
335 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Blend()
376 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale()
454 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_BGR888_Scale()
515 info->src += info->src_pitch; in SDL_Blit_RGB888_BGR888_Blend()
552 src = (Uint32 *)(info->src + (srcy * info->src_pitch) + (srcx * 4)); in SDL_Blit_RGB888_BGR888_Blend_Scale()
[all …]
DSDL_blit.c74 info->src_pitch = src->pitch; in SDL_SoftBlit()
76 info->src_pitch - info->src_w * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
228 map->info.src_pitch = surface->pitch; in SDL_CalculateBlit()
DSDL_surface.c1058 Uint32 src_format, const void * src, int src_pitch, in SDL_ConvertPixels() argument
1102 src = (Uint8*)src + src_pitch; in SDL_ConvertPixels()
1110 src_pitch /= 2; in SDL_ConvertPixels()
1114 src = (Uint8*)src + src_pitch; in SDL_ConvertPixels()
1122 src = (Uint8*)src + src_pitch; in SDL_ConvertPixels()
1130 src_pitch, in SDL_ConvertPixels()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c80 GLshort src_pitch, in emit_copy_blit() argument
131 src_buffer, src_pitch, src_offset, src_x, src_y, in emit_copy_blit()
137 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blit()
190 OUT_BATCH((uint16_t)src_pitch); in emit_copy_blit()
282 int src_pitch = src_mt->region->pitch; in intel_miptree_blit() local
284 src_pitch = -src_pitch; in intel_miptree_blit()
300 src_pitch, in intel_miptree_blit()
/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blit.c254 int32_t src_pitch, in emit_copy_blit() argument
293 src_buffer, src_pitch, src_offset, src_x, src_y, in emit_copy_blit()
303 assert(src_tiling == ISL_TILING_LINEAR || (src_pitch % src_tile_w) == 0); in emit_copy_blit()
332 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blit()
348 src_pitch /= 4; in emit_copy_blit()
367 OUT_BATCH((uint16_t)src_pitch); in emit_copy_blit()
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/
Dtomsmocomp.c60 gint rows, gint dst_pitch, gint src_pitch) in Fieldcopy() argument
66 src += src_pitch; in Fieldcopy()
/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()

12