Lines Matching defs:src_pitch

2433         int src_pitch = 0;
2446 src_pitch = format->byte_count * surface->pow2Width;
2448 src_pitch = (src_pitch + alignment - 1) & ~(alignment - 1);
2449 mem = HeapAlloc(GetProcessHeap(), 0, src_pitch * surface->pow2Height);
2534 TRACE("(%p) : Repacking the surface data from pitch %d to pitch %d\n", surface, src_pitch, dst_pitch);
2538 src_data += src_pitch;
2554 const struct wined3d_format *format, const RECT *src_rect, UINT src_pitch, const POINT *dst_point,
2560 TRACE("surface %p, gl_info %p, format %s, src_rect %s, src_pitch %u, dst_point %s, srgb %#x, data {%#x:%p}.\n",
2561 surface, gl_info, debug_d3dformat(format->id), wine_dbgstr_rect(src_rect), src_pitch,
2589 addr += (src_rect->top / format->block_height) * src_pitch;
2603 if (row_length == src_pitch)
2619 addr += src_pitch;
2628 addr += src_rect->top * src_pitch;
2638 gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ROW_LENGTH, src_pitch / format->byte_count);
2831 UINT src_pitch;
2919 src_pitch = wined3d_surface_get_pitch(src_surface);
2921 surface_upload_data(dst_surface, gl_info, src_format, src_rect, src_pitch, dst_point, FALSE, &data);
6356 UINT src_pitch, dst_pitch;
6359 src_pitch = wined3d_surface_get_pitch(surface);
6373 src_pitch, width, height, dst_pitch, convert, surface);
6400 UINT width, src_pitch, dst_pitch;
6492 src_pitch = wined3d_surface_get_pitch(surface);
6518 format.convert(surface->resource.allocatedMemory, mem, src_pitch, width, height);
6520 src_pitch = dst_pitch;
6537 d3dfmt_convert_surface(surface->resource.allocatedMemory, mem, src_pitch,
6540 src_pitch = dst_pitch;
6549 surface_upload_data(surface, gl_info, &format, &src_rect, src_pitch, &dst_point, srgb, &data);
6932 UINT src_pitch, UINT dst_pitch, UINT update_w, UINT update_h,
6950 src_row += src_pitch;
6959 src_row += (((update_h / format->block_height) - 1) * src_pitch);
6984 src_row -= src_pitch;
7015 src_row -= src_pitch;