Home
last modified time | relevance | path

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

/external/virglrenderer/src/gallium/auxiliary/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,
/external/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()
/external/mesa3d/src/mesa/main/
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_fxt1.c46 const void *source, GLint srcRowStride,
61 GLint srcRowStride; in _mesa_texstore_rgb_fxt1() local
87 srcRowStride = 3 * srcWidth; in _mesa_texstore_rgb_fxt1()
94 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1()
100 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1()
116 GLint srcRowStride; in _mesa_texstore_rgba_fxt1() local
145 srcRowStride = 4 * srcWidth; in _mesa_texstore_rgba_fxt1()
152 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1()
158 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
1267 GLint comps, const GLubyte *src, GLint srcRowStride, in upscale_teximage2d() argument
[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()
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()
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 …]
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 …]
Dtexcompress.h63 const GLubyte *src, GLint srcRowStride,
Dmipmap.h45 GLint srcRowStride,
Dformat_unpack.h44 const void *src, int32_t srcRowStride,
Dformat_pack.h85 const uint8_t *src, int32_t 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()
/external/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()
576 GLint srcRowStride, dstRowStride; in fast_draw_depth_stencil() local
581 srcRowStride = _mesa_image_row_stride(unpack, width, format, type); in fast_draw_depth_stencil()
590 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()
/external/mesa3d/prebuilt-intermediates/main/
Dformat_unpack.c6734 const void *src, int32_t srcRowStride, in _mesa_unpack_rgba_block() argument
6746 srcRow = ((const uint8_t *) src) + srcRowStride * y + srcPixStride * x; in _mesa_unpack_rgba_block()
6753 srcRow += srcRowStride; in _mesa_unpack_rgba_block()
Dformat_pack.c10190 const uint8_t *src, int32_t srcRowStride, in _mesa_pack_ubyte_rgba_rect() argument
10196 if (srcRowStride == width * 4 * sizeof(uint8_t) && in _mesa_pack_ubyte_rgba_rect()
10207 src += srcRowStride; in _mesa_pack_ubyte_rgba_rect()