Lines Matching refs:GLubyte
51 GLint i, GLint j, GLubyte *rgba);
60 const GLubyte *pixels; in _mesa_texstore_rgb_fxt1()
62 GLubyte *dst; in _mesa_texstore_rgb_fxt1()
63 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_fxt1()
73 GLubyte *tempImageSlices[1]; in _mesa_texstore_rgb_fxt1()
74 int rgbRowStride = 3 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgb_fxt1()
75 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_fxt1()
78 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_fxt1()
95 srcType) / sizeof(GLubyte); in _mesa_texstore_rgb_fxt1()
115 const GLubyte *pixels; in _mesa_texstore_rgba_fxt1()
117 GLubyte *dst; in _mesa_texstore_rgba_fxt1()
118 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_fxt1()
127 GLubyte *tempImageSlices[1]; in _mesa_texstore_rgba_fxt1()
128 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_rgba_fxt1()
129 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_fxt1()
132 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_fxt1()
153 srcType) / sizeof(GLubyte); in _mesa_texstore_rgba_fxt1()
268 GLubyte input[MAX_COMP], GLint nc) in fxt1_bestcol()
290 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_worst()
312 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_variance()
342 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_choose()
436 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_lloyd()
537 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_CHROMA()
578 GLubyte input[N_TEXELS][MAX_COMP], in fxt1_quantize_ALPHA0()
579 GLubyte reord[N_TEXELS][MAX_COMP], GLint n) in fxt1_quantize_ALPHA0()
631 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_ALPHA1()
788 GLubyte input[N_TEXELS][MAX_COMP], in fxt1_quantize_HI()
789 GLubyte reord[N_TEXELS][MAX_COMP], GLint n) in fxt1_quantize_HI()
864 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_MIXED1()
868 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ in fxt1_quantize_MIXED1()
1002 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_MIXED0()
1006 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ in fxt1_quantize_MIXED0()
1170 fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps) in fxt1_quantize()
1173 GLubyte reord[N_TEXELS][MAX_COMP]; in fxt1_quantize()
1175 GLubyte input[N_TEXELS][MAX_COMP]; in fxt1_quantize()
1267 GLint comps, const GLubyte *src, GLint srcRowStride, in upscale_teximage2d()
1268 GLubyte *dest ) in upscale_teximage2d()
1299 const GLubyte *data; in fxt1_encode()
1309 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte)); in fxt1_encode()
1316 comps, (const GLubyte *) source, in fxt1_encode()
1317 srcRowStride, (GLubyte *) newSource); in fxt1_encode()
1324 data = (const GLubyte *) source; in fxt1_encode()
1329 const GLubyte *lines[4]; in fxt1_encode()
1356 static const GLubyte _rgb_scale_5[] = {
1364 static const GLubyte _rgb_scale_6[] = {
1383 fxt1_decode_1HI (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1HI()
1394 GLubyte r, g, b; in fxt1_decode_1HI()
1418 fxt1_decode_1CHROMA (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1CHROMA()
1441 fxt1_decode_1MIXED (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1MIXED()
1482 GLubyte r, g, b; in fxt1_decode_1MIXED()
1503 GLubyte r, g, b; in fxt1_decode_1MIXED()
1527 fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1ALPHA()
1530 GLubyte r, g, b, a; in fxt1_decode_1ALPHA()
1603 GLint i, GLint j, GLubyte *rgba) in fxt1_decode_1()
1605 static void (*decode_1[]) (const GLubyte *, GLint, GLubyte *) = { in fxt1_decode_1()
1616 const GLubyte *code = (const GLubyte *)texture + in fxt1_decode_1()
1633 fetch_rgb_fxt1(const GLubyte *map, in fetch_rgb_fxt1()
1636 GLubyte rgba[4]; in fetch_rgb_fxt1()
1646 fetch_rgba_fxt1(const GLubyte *map, in fetch_rgba_fxt1()
1649 GLubyte rgba[4]; in fetch_rgba_fxt1()