Home
last modified time | relevance | path

Searched refs:srcRowStride (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexgetimage.c92 GLint srcRowStride; in get_tex_depth() local
97 &srcMap, &srcRowStride); in get_tex_depth()
104 const GLubyte *src = srcMap + row * srcRowStride; in get_tex_depth()
251 GLint srcRowStride; in get_tex_rgba_compressed() local
256 &srcMap, &srcRowStride); in get_tex_rgba_compressed()
259 srcMap, srcRowStride, tempImage); in get_tex_rgba_compressed()
494 GLint srcRowStride; in get_tex_memcpy() local
499 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy()
502 if (bytesPerRow == dstRowStride && bytesPerRow == srcRowStride) { in get_tex_memcpy()
510 src += srcRowStride; in get_tex_memcpy()
[all …]
Dtexcompress_fxt1.c50 const void *source, GLint srcRowStride,
65 GLint srcRowStride; in _mesa_texstore_rgb_fxt1() local
86 srcRowStride = 3 * srcWidth; in _mesa_texstore_rgb_fxt1()
93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1()
99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1()
116 GLint srcRowStride; in _mesa_texstore_rgba_fxt1() local
136 srcRowStride = 4 * srcWidth; in _mesa_texstore_rgba_fxt1()
143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1()
149 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
1290 GLint comps, const GLubyte *src, GLint srcRowStride, in upscale_teximage2d() argument
[all …]
Dtexcompress_rgtc.c56 static void unsigned_fetch_texel_rgtc(unsigned srcRowStride, const GLubyte *pixdata,
59 static void signed_fetch_texel_rgtc(unsigned srcRowStride, const GLbyte *pixdata,
63 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_u() argument
68 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_u()
77 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_s() argument
82 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_s()
Dtexstore.c866 const GLint srcRowStride = in _mesa_swizzle_ubyte_image() local
895 srcRowStride == dstRowStride && in _mesa_swizzle_ubyte_image()
896 srcRowStride == srcWidth * srcComponents && in _mesa_swizzle_ubyte_image()
911 srcRow += srcRowStride; in _mesa_swizzle_ubyte_image()
935 const GLint srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, in memcpy_texture() local
944 if (dstRowStride == srcRowStride && in memcpy_texture()
963 srcRow += srcRowStride; in memcpy_texture()
979 const GLint srcRowStride = srcWidth * 4 * sizeof(GLubyte); in store_ubyte_texture() local
995 src, srcRowStride, in store_ubyte_texture()
997 src += srcHeight * srcRowStride; in store_ubyte_texture()
[all …]
Dmipmap.h38 GLint srcRowStride,
Dtexcompress.h55 const GLubyte *src, GLint srcRowStride,
Dtexcompress.c473 const GLubyte *src, GLint srcRowStride, in _mesa_decompress_image() argument
492 texImage.RowStride = srcRowStride * bh / bytes; in _mesa_decompress_image()
Dformat_unpack.h41 const void *src, GLint srcRowStride,
Dformat_pack.h82 const GLubyte *src, GLint srcRowStride,
Ddebug.c617 GLint srcRowStride; in _mesa_print_texture() local
623 &data, &srcRowStride); in _mesa_print_texture()
663 data += (srcRowStride - img->Width) * c; in _mesa_print_texture()
Dmipmap.c1447 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument
1463 srcB = srcA + srcRowStride; in make_2d_mipmap()
1477 srcA += srcRowStep * srcRowStride; in make_2d_mipmap()
1478 srcB += srcRowStep * srcRowStride; in make_2d_mipmap()
1539 const GLubyte **srcPtr, GLint srcRowStride, in make_3d_mipmap() argument
1621 srcWidth, srcHeight, srcPtr[0], srcRowStride, in make_3d_mipmap()
1625 srcWidth, srcHeight, srcPtr[srcDepth - 1], srcRowStride, in make_3d_mipmap()
1708 GLint srcRowStride, in _mesa_generate_mipmap_level() argument
1729 srcWidth, srcHeight, srcData[0], srcRowStride, in _mesa_generate_mipmap_level()
1735 srcData, srcRowStride, in _mesa_generate_mipmap_level()
[all …]
Dtexcompress_rgtc_tmp.h32 static void TAG(fetch_texel_rgtc)(unsigned srcRowStride, const TYPE *pixdata, in TAG()
36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps); in TAG()
Dformat_pack.c2095 const GLubyte *src, GLint srcRowStride, in _mesa_pack_ubyte_rgba_rect() argument
2103 if (srcRowStride == width * 4 * sizeof(GLubyte) && in _mesa_pack_ubyte_rgba_rect()
2112 src += srcRowStride; in _mesa_pack_ubyte_rgba_rect()
2122 src += srcRowStride; in _mesa_pack_ubyte_rgba_rect()
Dformat_unpack.c2840 const void *src, GLint srcRowStride, in _mesa_unpack_rgba_block() argument
2853 srcRow = ((const GLubyte *) src) + srcRowStride * y + srcPixStride * x; in _mesa_unpack_rgba_block()
2860 srcRow += srcRowStride; in _mesa_unpack_rgba_block()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c135 GLint srcRowStride, dstRowStride; in blit_nearest() local
237 srcRowStride = -rowStride; in blit_nearest()
242 srcRowStride = rowStride; in blit_nearest()
251 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_nearest()
293 GLubyte *srcRowStart = srcMap + srcRowStride * srcRow; in blit_nearest()
523 GLint srcRowStride, dstRowStride; in blit_linear() local
567 &srcMap, &srcRowStride); in blit_linear()
577 dstRowStride = srcRowStride; in blit_linear()
586 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_linear()
642 GLubyte *src = srcMap + srcY1 * srcRowStride + srcXpos * bpp; in blit_linear()
[all …]
Ds_drawpix.c61 const GLint srcRowStride = _mesa_image_row_stride(unpack, width, in fast_draw_rgb_ubyte_pixels() local
86 src += srcRowStride; in fast_draw_rgb_ubyte_pixels()
108 const GLint srcRowStride = in fast_draw_rgba_ubyte_pixels() local
134 src += srcRowStride; in fast_draw_rgba_ubyte_pixels()
157 const GLint srcRowStride = in fast_draw_generic_pixels() local
180 src += srcRowStride; in fast_draw_generic_pixels()
520 GLint srcRowStride, dstRowStride; in fast_draw_depth_stencil() local
525 srcRowStride = _mesa_image_row_stride(unpack, width, format, type); in fast_draw_depth_stencil()
534 src += srcRowStride; in fast_draw_depth_stencil()
Ds_copypix.c454 GLint srcRowStride, dstRowStride; in swrast_fast_copy_pixels() local
531 srcRowStride = -rowStride; in swrast_fast_copy_pixels()
536 srcRowStride = rowStride; in swrast_fast_copy_pixels()
544 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in swrast_fast_copy_pixels()
563 srcMap += srcRowStride; in swrast_fast_copy_pixels()
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c983 int srcRowStride, const ubyte *srcPtr, in reduce_2d() argument
996 if (!srcRowStride) in reduce_2d()
997 srcRowStride = bpt * srcWidth; in reduce_2d()
1005 srcB = srcA + srcRowStride; in reduce_2d()
1014 srcA += 2 * srcRowStride; in reduce_2d()
1015 srcB += 2 * srcRowStride; in reduce_2d()
1024 int srcRowStride, int srcImageStride, const ubyte *srcPtr, in reduce_3d() argument
1042 if (!srcRowStride) in reduce_3d()
1043 srcRowStride = srcWidth * bpt; in reduce_3d()
1051 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in reduce_3d()
[all …]
Du_format_latc.c33 static void u_format_unsigned_fetch_texel_rgtc(unsigned srcRowStride, const uint8_t *pixdata,
39 static void u_format_signed_fetch_texel_rgtc(unsigned srcRowStride, const int8_t *pixdata,
Du_format_rgtc.c32 static void u_format_unsigned_fetch_texel_rgtc(unsigned srcRowStride, const uint8_t *pixdata,
38 static void u_format_signed_fetch_texel_rgtc(unsigned srcRowStride, const int8_t *pixdata,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1149 GLuint srcRowStride = stImage->base.Width * blockSize; in copy_image_data_to_texture() local
1150 GLuint srcSliceStride = stImage->base.Height * srcRowStride; in copy_image_data_to_texture()
1156 srcRowStride, in copy_image_data_to_texture()