Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c51 int32_t srcRowStride; in _mesa_texstore_fxt1() local
76 srcRowStride = 4 * srcWidth; in _mesa_texstore_fxt1()
83 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_fxt1()
90 …util_format_fxt1_rgb_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight… in _mesa_texstore_fxt1()
92 …util_format_fxt1_rgba_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeigh… in _mesa_texstore_fxt1()
Dtexstore.c109 const GLint srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_memcpy_texture() local
118 if (dstRowStride == srcRowStride && in _mesa_memcpy_texture()
137 srcRow += srcRowStride; in _mesa_memcpy_texture()
327 const GLint srcRowStride in _mesa_texstore_z24_s8() local
388 src += srcRowStride; in _mesa_texstore_z24_s8()
406 const GLint srcRowStride in _mesa_texstore_s8_z24() local
471 src += srcRowStride; in _mesa_texstore_s8_z24()
493 const GLint srcRowStride in _mesa_texstore_s8() local
521 src += srcRowStride; in _mesa_texstore_s8()
537 const GLint srcRowStride in _mesa_texstore_z32f_x24s8() local
[all …]
Dtexcompress_s3tc_tmp.h111 static void fetch_2d_texel_rgb_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgb_dxt1() argument
118 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1()
123 static void fetch_2d_texel_rgba_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt1() argument
130 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1()
134 static void fetch_2d_texel_rgba_dxt3(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt3() argument
142 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3()
148 static void fetch_2d_texel_rgba_dxt5(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt5() argument
156 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt5()
894 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrccolors() argument
899 curaddr = srcaddr + j * srcRowStride * comps; in extractsrccolors()
Dmipmap.c1473 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument
1489 srcB = srcA + srcRowStride; in make_2d_mipmap()
1503 srcA += srcRowStep * srcRowStride; in make_2d_mipmap()
1504 srcB += srcRowStep * srcRowStride; in make_2d_mipmap()
1565 const GLubyte **srcPtr, GLint srcRowStride, in make_3d_mipmap() argument
1581 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap()
1588 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in make_3d_mipmap()
1606 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1609 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1629 srcImgARowA += srcRowStride + srcRowOffset; in make_3d_mipmap()
[all …]
Dtexgetimage.c93 GLint srcRowStride; in get_tex_depth() local
98 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in get_tex_depth()
105 const GLubyte *src = srcMap + row * srcRowStride; in get_tex_depth()
342 GLint srcRowStride; in get_tex_rgba_compressed() local
349 &srcMap, &srcRowStride); in get_tex_rgba_compressed()
352 srcMap, srcRowStride, tempSlice); in get_tex_rgba_compressed()
655 GLint srcRowStride; in get_tex_memcpy() local
660 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy()
663 if (bytesPerRow == dstRowStride && bytesPerRow == srcRowStride) { in get_tex_memcpy()
671 src += srcRowStride; in get_tex_memcpy()
[all …]
Dtexcompress_rgtc.c49 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_u() argument
54 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_u()
63 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_s() argument
68 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_s()
Dtexcompress.h63 const GLubyte *src, GLint srcRowStride,
Dmipmap.h45 GLint srcRowStride,
Ddebug.c606 GLint srcRowStride; in _mesa_print_texture() local
612 &data, &srcRowStride); in _mesa_print_texture()
651 data += (srcRowStride - img->Width) * c; in _mesa_print_texture()
Dtexcompress.c938 const GLubyte *src, GLint srcRowStride, in _mesa_decompress_image() argument
955 stride = srcRowStride * bh / bytes; in _mesa_decompress_image()
/third_party/mesa3d/src/util/
Drgtc.h28 void util_format_unsigned_fetch_texel_rgtc(unsigned srcRowStride, const unsigned char *pixdata,
31 void util_format_signed_fetch_texel_rgtc(unsigned srcRowStride, const signed char *pixdata,
Dtexcompress_rgtc_tmp.h32 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()
/third_party/mesa3d/src/mesa/swrast/
Ds_blit.c141 GLint srcRowStride, dstRowStride; in blit_nearest() local
269 srcRowStride = -rowStride; in blit_nearest()
274 srcRowStride = rowStride; in blit_nearest()
283 GL_MAP_READ_BIT, &srcMap, &srcRowStride, in blit_nearest()
313 GLubyte *srcRowStart = srcMap + srcRowStride * srcRow; in blit_nearest()
548 GLint srcRowStride, dstRowStride; in blit_linear() local
599 &srcMap, &srcRowStride, in blit_linear()
606 dstRowStride = srcRowStride; in blit_linear()
615 GL_MAP_READ_BIT, &srcMap, &srcRowStride, in blit_linear()
662 GLubyte *src = srcMap + srcY1 * srcRowStride + srcXpos * bpp; in blit_linear()
[all …]
Ds_drawpix.c64 const GLint srcRowStride = _mesa_image_row_stride(unpack, width, in fast_draw_rgb_ubyte_pixels() local
90 src += srcRowStride; in fast_draw_rgb_ubyte_pixels()
113 const GLint srcRowStride = in fast_draw_rgba_ubyte_pixels() local
140 src += srcRowStride; in fast_draw_rgba_ubyte_pixels()
164 const GLint srcRowStride = in fast_draw_generic_pixels() local
188 src += srcRowStride; in fast_draw_generic_pixels()
602 GLint srcRowStride, dstRowStride; in fast_draw_depth_stencil() local
607 srcRowStride = _mesa_image_row_stride(unpack, width, format, type); in fast_draw_depth_stencil()
615 src += srcRowStride; in fast_draw_depth_stencil()
Ds_copypix.c443 GLint srcRowStride, dstRowStride; in swrast_fast_copy_pixels() local
520 srcRowStride = -rowStride; in swrast_fast_copy_pixels()
525 srcRowStride = rowStride; in swrast_fast_copy_pixels()
533 GL_MAP_READ_BIT, &srcMap, &srcRowStride, in swrast_fast_copy_pixels()
554 srcMap += srcRowStride; in swrast_fast_copy_pixels()
/third_party/mesa3d/src/util/format/
Du_format_fxt1.c41 const void *source, int32_t srcRowStride,
1145 int32_t comps, const uint8_t *src, int32_t srcRowStride, in upscale_teximage2d() argument
1164 = src[ii * srcRowStride + jj * comps + k]; in upscale_teximage2d()
1173 const void *source, int32_t srcRowStride, in fxt1_encode() argument
1192 srcRowStride, (uint8_t *) newSource); in fxt1_encode()
1196 srcRowStride = comps * newWidth; in fxt1_encode()
1202 uint32_t offs = 0 + (y + 0) * srcRowStride; in fxt1_encode()
1206 lines[1] = lines[0] + srcRowStride; in fxt1_encode()
1207 lines[2] = lines[1] + srcRowStride; in fxt1_encode()
1208 lines[3] = lines[2] + srcRowStride; in fxt1_encode()