Home
last modified time | relevance | path

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

12

/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,
Dformat_unpack.h41 const void *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()
/external/chromium_org/third_party/mesa/src/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,
Dformat_unpack.h41 const void *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_pack.h82 const GLubyte *src, GLint srcRowStride,
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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 …]
/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 …]

12