Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexstore.c108 const GLint srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_memcpy_texture() local
117 if (dstRowStride == srcRowStride && in _mesa_memcpy_texture()
136 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
472 src += srcRowStride; in _mesa_texstore_s8_z24()
494 const GLint srcRowStride in _mesa_texstore_s8() local
522 src += srcRowStride; in _mesa_texstore_s8()
538 const GLint srcRowStride in _mesa_texstore_z32f_x24s8() local
[all …]
Dtexcompress_fxt1.c44 const void *source, GLint srcRowStride,
59 GLint srcRowStride; in _mesa_texstore_rgb_fxt1() local
85 srcRowStride = 3 * srcWidth; in _mesa_texstore_rgb_fxt1()
92 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1()
98 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1()
114 GLint srcRowStride; in _mesa_texstore_rgba_fxt1() local
140 srcRowStride = 4 * srcWidth; in _mesa_texstore_rgba_fxt1()
147 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1()
153 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
1262 GLint comps, const GLubyte *src, GLint srcRowStride, in upscale_teximage2d() argument
[all …]
Dtexcompress_s3tc_tmp.h108 static void fetch_2d_texel_rgb_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgb_dxt1() argument
115 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1()
120 static void fetch_2d_texel_rgba_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt1() argument
127 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1()
131 static void fetch_2d_texel_rgba_dxt3(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt3() argument
139 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3()
145 static void fetch_2d_texel_rgba_dxt5(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt5() argument
153 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt5()
891 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrccolors() argument
896 curaddr = srcaddr + j * srcRowStride * comps; in extractsrccolors()
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()
335 GLint srcRowStride; in get_tex_rgba_compressed() local
342 &srcMap, &srcRowStride); in get_tex_rgba_compressed()
345 srcMap, srcRowStride, tempSlice); in get_tex_rgba_compressed()
648 GLint srcRowStride; in get_tex_memcpy() local
653 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy()
656 if (bytesPerRow == dstRowStride && bytesPerRow == srcRowStride) { in get_tex_memcpy()
664 src += srcRowStride; in get_tex_memcpy()
[all …]
Dmipmap.c1448 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument
1464 srcB = srcA + srcRowStride; in make_2d_mipmap()
1478 srcA += srcRowStep * srcRowStride; in make_2d_mipmap()
1479 srcB += srcRowStep * srcRowStride; in make_2d_mipmap()
1540 const GLubyte **srcPtr, GLint srcRowStride, in make_3d_mipmap() argument
1556 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap()
1563 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in make_3d_mipmap()
1581 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1584 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1604 srcImgARowA += srcRowStride + srcRowOffset; in make_3d_mipmap()
[all …]
Dtexcompress_rgtc.c47 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_u() argument
52 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_u()
61 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrc_s() argument
66 curaddr = srcaddr + j * srcRowStride * comps; in extractsrc_s()
Dmipmap.h38 GLint srcRowStride,
Dtexcompress.h63 const GLubyte *src, GLint srcRowStride,
Dformat_unpack.h44 const void *src, GLint srcRowStride,
Dformat_pack.h85 const GLubyte *src, GLint srcRowStride,
Ddebug.c609 GLint srcRowStride; in _mesa_print_texture() local
615 &data, &srcRowStride); in _mesa_print_texture()
655 data += (srcRowStride - img->Width) * c; in _mesa_print_texture()
Dtexcompress.c921 const GLubyte *src, GLint srcRowStride, in _mesa_decompress_image() argument
938 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()
311 GLubyte *srcRowStart = srcMap + srcRowStride * srcRow; in blit_nearest()
546 GLint srcRowStride, dstRowStride; in blit_linear() local
597 &srcMap, &srcRowStride); in blit_linear()
603 dstRowStride = srcRowStride; in blit_linear()
612 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_linear()
657 GLubyte *src = srcMap + srcY1 * srcRowStride + srcXpos * bpp; in blit_linear()
[all …]
Ds_drawpix.c63 const GLint srcRowStride = _mesa_image_row_stride(unpack, width, in fast_draw_rgb_ubyte_pixels() local
88 src += srcRowStride; in fast_draw_rgb_ubyte_pixels()
110 const GLint srcRowStride = in fast_draw_rgba_ubyte_pixels() local
136 src += srcRowStride; in fast_draw_rgba_ubyte_pixels()
159 const GLint srcRowStride = in fast_draw_generic_pixels() local
182 src += srcRowStride; in fast_draw_generic_pixels()
568 GLint srcRowStride, dstRowStride; in fast_draw_depth_stencil() local
573 srcRowStride = _mesa_image_row_stride(unpack, width, format, type); in fast_draw_depth_stencil()
582 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()
552 srcMap += srcRowStride; in swrast_fast_copy_pixels()
/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/prebuilt-intermediates/main/
Dformat_unpack.c7138 const void *src, GLint srcRowStride, in _mesa_unpack_rgba_block() argument
7150 srcRow = ((const GLubyte *) src) + srcRowStride * y + srcPixStride * x; in _mesa_unpack_rgba_block()
7157 srcRow += srcRowStride; in _mesa_unpack_rgba_block()
Dformat_pack.c10679 const GLubyte *src, GLint srcRowStride, in _mesa_pack_ubyte_rgba_rect() argument
10685 if (srcRowStride == width * 4 * sizeof(GLubyte) && in _mesa_pack_ubyte_rgba_rect()
10696 src += srcRowStride; in _mesa_pack_ubyte_rgba_rect()