/third_party/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 51 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()
|
D | texstore.c | 110 const GLint srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_memcpy_texture() local 119 if (dstRowStride == srcRowStride && in _mesa_memcpy_texture() 138 srcRow += srcRowStride; in _mesa_memcpy_texture() 328 const GLint srcRowStride in _mesa_texstore_z24_s8() local 389 src += srcRowStride; in _mesa_texstore_z24_s8() 407 const GLint srcRowStride in _mesa_texstore_s8_z24() local 474 src += srcRowStride; in _mesa_texstore_s8_z24() 496 const GLint srcRowStride in _mesa_texstore_s8() local 524 src += srcRowStride; in _mesa_texstore_s8() 540 const GLint srcRowStride in _mesa_texstore_z32f_x24s8() local [all …]
|
D | texcompress_s3tc_tmp.h | 111 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()
|
D | mipmap.c | 1474 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument 1490 srcB = srcA + srcRowStride; in make_2d_mipmap() 1504 srcA += srcRowStep * srcRowStride; in make_2d_mipmap() 1505 srcB += srcRowStep * srcRowStride; in make_2d_mipmap() 1566 const GLubyte **srcPtr, GLint srcRowStride, in make_3d_mipmap() argument 1582 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap() 1589 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in make_3d_mipmap() 1607 + srcRowStride * border + bpt * border; in make_3d_mipmap() 1610 + srcRowStride * border + bpt * border; in make_3d_mipmap() 1630 srcImgARowA += srcRowStride + srcRowOffset; in make_3d_mipmap() [all …]
|
D | texgetimage.c | 96 GLint srcRowStride; in get_tex_depth() local 101 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in get_tex_depth() 108 const GLubyte *src = srcMap + row * srcRowStride; in get_tex_depth() 345 GLint srcRowStride; in get_tex_rgba_compressed() local 352 &srcMap, &srcRowStride); in get_tex_rgba_compressed() 355 srcMap, srcRowStride, tempSlice); in get_tex_rgba_compressed() 658 GLint srcRowStride; in get_tex_memcpy() local 663 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy() 666 if (bytesPerRow == dstRowStride && bytesPerRow == srcRowStride) { in get_tex_memcpy() 674 src += srcRowStride; in get_tex_memcpy() [all …]
|
D | texcompress_rgtc.c | 49 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()
|
D | texcompress.h | 63 const GLubyte *src, GLint srcRowStride,
|
D | debug.c | 609 GLint srcRowStride; in _mesa_print_texture() local 615 &data, &srcRowStride); in _mesa_print_texture() 654 data += (srcRowStride - img->Width) * c; in _mesa_print_texture()
|
D | texcompress.c | 906 const GLubyte *src, GLint srcRowStride, in _mesa_decompress_image() argument 923 stride = srcRowStride * bh / bytes; in _mesa_decompress_image()
|
/third_party/mesa3d/src/util/ |
D | rgtc.h | 28 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,
|
D | texcompress_rgtc_tmp.h | 32 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/util/format/ |
D | u_format_fxt1.c | 41 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()
|