Lines Matching refs:GLubyte

49                GLint i, GLint j, GLubyte *rgba);
58 const GLubyte *pixels; in _mesa_texstore_rgb_fxt1()
60 GLubyte *dst; in _mesa_texstore_rgb_fxt1()
61 const GLubyte *tempImage = NULL; in _mesa_texstore_rgb_fxt1()
71 GLubyte *tempImageSlices[1]; 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()
76 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgb_fxt1()
93 srcType) / sizeof(GLubyte); in _mesa_texstore_rgb_fxt1()
113 const GLubyte *pixels; in _mesa_texstore_rgba_fxt1()
115 GLubyte *dst; in _mesa_texstore_rgba_fxt1()
116 const GLubyte *tempImage = NULL; in _mesa_texstore_rgba_fxt1()
125 GLubyte *tempImageSlices[1]; in _mesa_texstore_rgba_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()
130 tempImageSlices[0] = (GLubyte *) tempImage; in _mesa_texstore_rgba_fxt1()
148 srcType) / sizeof(GLubyte); in _mesa_texstore_rgba_fxt1()
263 GLubyte input[MAX_COMP], GLint nc) in fxt1_bestcol()
285 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_worst()
307 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_variance()
337 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_choose()
431 GLubyte input[N_TEXELS][MAX_COMP], GLint nc, GLint n) in fxt1_lloyd()
532 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_CHROMA()
573 GLubyte input[N_TEXELS][MAX_COMP], in fxt1_quantize_ALPHA0()
574 GLubyte reord[N_TEXELS][MAX_COMP], GLint n) in fxt1_quantize_ALPHA0()
626 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_ALPHA1()
783 GLubyte input[N_TEXELS][MAX_COMP], in fxt1_quantize_HI()
784 GLubyte reord[N_TEXELS][MAX_COMP], GLint n) in fxt1_quantize_HI()
859 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_MIXED1()
863 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ in fxt1_quantize_MIXED1()
997 GLubyte input[N_TEXELS][MAX_COMP]) in fxt1_quantize_MIXED0()
1001 GLubyte vec[2 * 2][MAX_COMP]; /* 2 extrema for each sub-block */ in fxt1_quantize_MIXED0()
1165 fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps) in fxt1_quantize()
1168 GLubyte reord[N_TEXELS][MAX_COMP]; in fxt1_quantize()
1170 GLubyte input[N_TEXELS][MAX_COMP]; in fxt1_quantize()
1262 GLint comps, const GLubyte *src, GLint srcRowStride, in upscale_teximage2d()
1263 GLubyte *dest ) in upscale_teximage2d()
1294 const GLubyte *data; in fxt1_encode()
1304 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte)); in fxt1_encode()
1311 comps, (const GLubyte *) source, in fxt1_encode()
1312 srcRowStride, (GLubyte *) newSource); in fxt1_encode()
1319 data = (const GLubyte *) source; in fxt1_encode()
1324 const GLubyte *lines[4]; in fxt1_encode()
1351 static const GLubyte _rgb_scale_5[] = {
1359 static const GLubyte _rgb_scale_6[] = {
1378 fxt1_decode_1HI (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1HI()
1389 GLubyte r, g, b; in fxt1_decode_1HI()
1413 fxt1_decode_1CHROMA (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1CHROMA()
1436 fxt1_decode_1MIXED (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1MIXED()
1477 GLubyte r, g, b; in fxt1_decode_1MIXED()
1498 GLubyte r, g, b; in fxt1_decode_1MIXED()
1522 fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLubyte *rgba) in fxt1_decode_1ALPHA()
1525 GLubyte r, g, b, a; in fxt1_decode_1ALPHA()
1598 GLint i, GLint j, GLubyte *rgba) in fxt1_decode_1()
1600 static void (*decode_1[]) (const GLubyte *, GLint, GLubyte *) = { in fxt1_decode_1()
1611 const GLubyte *code = (const GLubyte *)texture + in fxt1_decode_1()
1628 fetch_rgb_fxt1(const GLubyte *map, in fetch_rgb_fxt1()
1631 GLubyte rgba[4]; in fetch_rgb_fxt1()
1641 fetch_rgba_fxt1(const GLubyte *map, in fetch_rgba_fxt1()
1644 GLubyte rgba[4]; in fetch_rgba_fxt1()