Home
last modified time | relevance | path

Searched refs:dst_pitch (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c40 void * const dst, unsigned dst_pitch, in micro_tile_8_x_4_8bit() argument
55 uint8_t *dst2 = (uint8_t *)dst + row * dst_pitch + in micro_tile_8_x_4_8bit()
71 void * const dst, unsigned dst_pitch, in micro_tile_4_x_4_16bit() argument
86 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_4_x_4_16bit()
102 void * const dst, unsigned dst_pitch, in micro_tile_8_x_2_16bit() argument
117 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_8_x_2_16bit()
133 void * const dst, unsigned dst_pitch, in micro_tile_4_x_2_32bit() argument
148 uint32_t *dst2 = (uint32_t *)dst + row * dst_pitch + in micro_tile_4_x_2_32bit()
164 void * const dst, unsigned dst_pitch, in micro_tile_2_x_2_64bit() argument
179 uint64_t *dst2 = (uint64_t *)dst + row * dst_pitch + in micro_tile_2_x_2_64bit()
[all …]
Dradeon_blit.c42 unsigned r100_check_blit(mesa_format mesa_format, uint32_t dst_pitch) in r100_check_blit() argument
70 if (dst_pitch < 32) in r100_check_blit()
160 uint32_t dst_pitch = pitch; in emit_cb_setup() local
195 dst_pitch |= RADEON_COLOR_TILE_ENABLE; in emit_cb_setup()
198 dst_pitch |= RADEON_COLOR_MICROTILE_ENABLE; in emit_cb_setup()
211 OUT_BATCH_RELOC(bo, dst_pitch, 0, RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0); in emit_cb_setup()
336 unsigned dst_pitch, in r100_blit() argument
347 if (!r100_check_blit(dst_mesaformat, dst_pitch)) in r100_blit()
351 if (dst_pitch % 2 > 0) in r100_blit()
352 ++dst_pitch; in r100_blit()
[all …]
Dradeon_tile.h31 void *dst, unsigned dst_pitch,
35 void *dst, unsigned dst_pitch,
Dradeon_blit.h33 unsigned r100_check_blit(mesa_format mesa_format, uint32_t dst_pitch);
47 unsigned dst_pitch,
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c40 void * const dst, unsigned dst_pitch, in micro_tile_8_x_4_8bit() argument
55 uint8_t *dst2 = (uint8_t *)dst + row * dst_pitch + in micro_tile_8_x_4_8bit()
71 void * const dst, unsigned dst_pitch, in micro_tile_4_x_4_16bit() argument
86 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_4_x_4_16bit()
102 void * const dst, unsigned dst_pitch, in micro_tile_8_x_2_16bit() argument
117 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_8_x_2_16bit()
133 void * const dst, unsigned dst_pitch, in micro_tile_4_x_2_32bit() argument
148 uint32_t *dst2 = (uint32_t *)dst + row * dst_pitch + in micro_tile_4_x_2_32bit()
164 void * const dst, unsigned dst_pitch, in micro_tile_2_x_2_64bit() argument
179 uint64_t *dst2 = (uint64_t *)dst + row * dst_pitch + in micro_tile_2_x_2_64bit()
[all …]
Dr200_blit.c42 unsigned r200_check_blit(mesa_format mesa_format, uint32_t dst_pitch) in r200_check_blit() argument
73 if (dst_pitch < 32) in r200_check_blit()
308 uint32_t dst_pitch = pitch; local
345 dst_pitch |= R200_COLOR_TILE_ENABLE;
347 dst_pitch |= R200_COLOR_MICROTILE_ENABLE;
362 OUT_BATCH_RELOC(bo, dst_pitch, 0, RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0);
484 unsigned dst_pitch, argument
495 if (!r200_check_blit(dst_mesaformat, dst_pitch))
499 if (dst_pitch % 2 > 0)
500 ++dst_pitch;
[all …]
Dradeon_tile.h31 void *dst, unsigned dst_pitch,
35 void *dst, unsigned dst_pitch,
Dr200_blit.h33 unsigned r200_check_blit(mesa_format mesa_format, uint32_t dst_pitch);
47 unsigned dst_pitch,
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_blit.c35 unsigned short dst_pitch, struct i915_winsys_buffer *dst_buffer, in i915_fill_blit() argument
42 dst_buffer, dst_pitch, dst_offset, x, y, w, h); in i915_fill_blit()
53 BR13 = (((int)dst_pitch) & 0xffff) | (0xF0 << 16) | (1 << 24); in i915_fill_blit()
57 BR13 = (((int)dst_pitch) & 0xffff) | (0xF0 << 16) | (1 << 24) | (1 << 25); in i915_fill_blit()
81 unsigned src_offset, unsigned short dst_pitch, in i915_copy_blit() argument
94 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in i915_copy_blit()
105 BR13 = (((int)dst_pitch) & 0xffff) | (0xCC << 16) | (1 << 24); in i915_copy_blit()
109 BR13 = (((int)dst_pitch) & 0xffff) | (0xCC << 16) | (1 << 24) | (1 << 25); in i915_copy_blit()
125 assert(dst_pitch > 0 && src_pitch > 0); in i915_copy_blit()
Di915_blit.h36 unsigned src_offset, unsigned short dst_pitch,
42 unsigned rgba_mask, unsigned short dst_pitch,
/third_party/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c417 int32_t dst_pitch, in xtiled_to_linear() argument
427 dst += (ptrdiff_t)y0 * dst_pitch; in xtiled_to_linear()
446 dst += dst_pitch; in xtiled_to_linear()
459 int32_t dst_pitch, in ytiled_to_linear() argument
492 dst += (ptrdiff_t)y0 * dst_pitch; in ytiled_to_linear()
512 dst += dst_pitch; in ytiled_to_linear()
521 … mem_copy(dst + x0 + 0 * dst_pitch, src + ((xo0 + yo + 0 * column_width) ^ swizzle0), x1 - x0); in ytiled_to_linear()
522 … mem_copy(dst + x0 + 1 * dst_pitch, src + ((xo0 + yo + 1 * column_width) ^ swizzle0), x1 - x0); in ytiled_to_linear()
523 … mem_copy(dst + x0 + 2 * dst_pitch, src + ((xo0 + yo + 2 * column_width) ^ swizzle0), x1 - x0); in ytiled_to_linear()
524 … mem_copy(dst + x0 + 3 * dst_pitch, src + ((xo0 + yo + 3 * column_width) ^ swizzle0), x1 - x0); in ytiled_to_linear()
[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…
79 gint dst_pitch;
99 dst_pitch = GST_VIDEO_FRAME_PLANE_STRIDE (outframe, 0);
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_scale_cuda.cu28 int dst_width, int dst_height, int dst_pitch, in Subsample_Nearest() argument
42 dst[yo*dst_pitch+xo] = tex2D<T>(tex, xi, yi); in Subsample_Nearest()
49 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear() argument
75 vec_set(dst[yo*dst_pitch+xo], r >> 2); in Subsample_Bilinear()
84 int dst_width, int dst_height, int dst_pitch, \
89 dst_width, dst_height, dst_pitch, \
105 int dst_width, int dst_height, int dst_pitch, \
110 dst_width, dst_height, dst_pitch, \
Dvf_yadif_cuda.cu101 int dst_width, int dst_height, int dst_pitch, in yadif_single() argument
115 dst[yo*dst_pitch+xo] = tex2D<T>(cur, xo, yo); in yadif_single()
163 dst[yo*dst_pitch+xo] = spatial_pred; in yadif_single()
171 int dst_width, int dst_height, int dst_pitch, in yadif_double() argument
184 dst[yo*dst_pitch+xo] = tex2D<T>(cur, xo, yo); in yadif_double()
238 dst[yo*dst_pitch+xo] = spatial_pred; in yadif_double()
247 int dst_width, int dst_height, int dst_pitch, in yadif_uchar() argument
252 dst_width, dst_height, dst_pitch, in yadif_uchar()
261 int dst_width, int dst_height, int dst_pitch, in yadif_ushort() argument
266 dst_width, dst_height, dst_pitch, in yadif_ushort()
[all …]
Dvf_scale_cuda_bicubic.cu88 int dst_width, int dst_height, int dst_pitch, in Subsample_Bicubic() argument
113 dst[yo * dst_pitch + xo] = from_floatN<T, floatT>( in Subsample_Bicubic()
131 int dst_width, int dst_height, int dst_pitch, in Subsample_FastBicubic() argument
170 dst[yo * dst_pitch + xo] = from_floatN<T, floatT>( in Subsample_FastBicubic()
184 int dst_width, int dst_height, int dst_pitch, \
189 dst_width, dst_height, dst_pitch, \
206 int dst_width, int dst_height, int dst_pitch, \
211 dst_width, dst_height, dst_pitch, \
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_pixel_read.c83 int dst_pitch; in brw_readpixels_tiled_memcpy() local
173 dst_pitch = _mesa_image_row_stride(pack, width, format, type); in brw_readpixels_tiled_memcpy()
186 pixels += (ptrdiff_t) (height - 1) * dst_pitch; in brw_readpixels_tiled_memcpy()
187 dst_pitch = -dst_pitch; in brw_readpixels_tiled_memcpy()
206 dst_pitch, irb->mt->surf.row_pitch_B, in brw_readpixels_tiled_memcpy()
Dbrw_blit.c258 int32_t dst_pitch, in emit_copy_blit() argument
294 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blit()
304 assert(dst_tiling == ISL_TILING_LINEAR || (dst_pitch % dst_tile_w) == 0); in emit_copy_blit()
333 dst_pitch % 4 != 0 || dst_offset % cpp != 0) in emit_copy_blit()
345 dst_pitch /= 4; in emit_copy_blit()
358 OUT_BATCH(BR13 | (uint16_t)dst_pitch); in emit_copy_blit()
633 GLshort dst_pitch, in brw_emit_immediate_color_expand_blit() argument
653 assert(dst_pitch > 0); in brw_emit_immediate_color_expand_blit()
660 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in brw_emit_immediate_color_expand_blit()
671 dst_pitch /= 4; in brw_emit_immediate_color_expand_blit()
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp166 const vector_t &dst_orig, const vector_t &dst_pitch, in validate_copy() argument
171 auto dst_offset = dot(dst_pitch, dst_orig); in validate_copy()
175 dst_offset, dst_offset + size(dst_pitch, region), in validate_copy()
307 T dst_obj, const vector_t &dst_orig, const vector_t &dst_pitch, in soft_copy_op() argument
312 dst_orig, dst_pitch, region }; in soft_copy_op()
500 auto dst_pitch = pitch(region, {{ 1 }}); in clEnqueueFillBuffer() local
503 validate_object(q, mem, origin, dst_pitch, region); in clEnqueueFillBuffer()
544 auto dst_pitch = pitch(region, {{ 1 }}); in clEnqueueCopyBuffer() local
549 validate_object(q, dst_mem, dst_origin, dst_pitch, region); in clEnqueueCopyBuffer()
551 validate_copy(q, dst_mem, dst_origin, dst_pitch, in clEnqueueCopyBuffer()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_auto.c64 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Scale()
116 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Blend()
189 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Blend_Scale()
220 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate()
272 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
336 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Blend()
421 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale()
464 info->dst += info->dst_pitch; in SDL_Blit_RGB888_BGR888_Scale()
516 info->dst += info->dst_pitch; in SDL_Blit_RGB888_BGR888_Blend()
589 info->dst += info->dst_pitch; in SDL_Blit_RGB888_BGR888_Blend_Scale()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c84 GLshort dst_pitch, in emit_copy_blit() argument
132 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blit()
138 dst_pitch % 4 != 0 || dst_offset % cpp != 0) in emit_copy_blit()
183 OUT_BATCH(BR13 | (uint16_t)dst_pitch); in emit_copy_blit()
501 GLshort dst_pitch, in intelEmitImmediateColorExpandBlit() argument
520 assert(dst_pitch > 0); in intelEmitImmediateColorExpandBlit()
527 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in intelEmitImmediateColorExpandBlit()
538 br13 = dst_pitch | (translate_raster_op(logic_op) << 16) | (1 << 29); in intelEmitImmediateColorExpandBlit()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blt.c149 int32_t dst_pitch, in emit_copy_blt() argument
164 dst, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blt()
174 assert(dst->surf.tiling == ISL_TILING_LINEAR || (dst_pitch % dst_tile_w) == 0); in emit_copy_blt()
198 dst_pitch % 4 != 0 || dst_offset % cpp != 0) in emit_copy_blt()
205 dst_pitch /= 4; in emit_copy_blt()
223 xyblt.DestinationPitch = dst_pitch; in emit_copy_blt()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c118 unsigned dst_pitch = sdst->surface.u.gfx9.surf_pitch; in si_sdma_v4_v5_copy_texture() local
158 unsigned linear_pitch = linear == ssrc ? src_pitch : dst_pitch; in si_sdma_v4_v5_copy_texture()
241 unsigned dst_pitch = sdst->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()
279 radeon_emit((dst_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()

123