Lines Matching refs:srcWidth
68 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || in _mesa_texstore_rgb_fxt1()
72 int rgbRowStride = 3 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgb_fxt1()
73 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_fxt1()
81 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_fxt1()
85 srcRowStride = 3 * srcWidth; in _mesa_texstore_rgb_fxt1()
89 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 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()
126 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgba_fxt1()
127 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_fxt1()
136 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_fxt1()
140 srcRowStride = 4 * srcWidth; in _mesa_texstore_rgba_fxt1()
144 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 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()