Home | History | Annotate | Download | only in main

Lines Matching refs:comps

49 fxt1_encode (GLuint width, GLuint height, GLint comps,
1193 fxt1_quantize (GLuint *cc, const GLubyte *lines[], GLint comps)
1201 if (comps == 3) {
1209 for (i = 0; i < comps; i++) {
1214 for (i = 0; i < comps; i++) {
1232 if (comps == 4) {
1290 GLint comps, const GLubyte *src, GLint srcRowStride,
1307 for (k = 0; k < comps; k++) {
1308 dest[(i * outWidth + j) * comps + k]
1309 = src[ii * srcRowStride + jj * comps + k];
1317 fxt1_encode (GLuint width, GLuint height, GLint comps,
1326 assert(comps == 3 || comps == 4);
1332 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte));
1339 comps, (const GLubyte *) source,
1344 srcRowStride = comps * newWidth;
1357 offs += 8 * comps;
1358 fxt1_quantize(encoded, lines, comps);