Lines Matching refs:clut
173 short clutID; /* clut id or if 0 clut follows or -1 if no clut */
192 } clut;
230 else if (strcmp(argv[next], "-c") == 0) // input file for clut
240 else if (strcmp(argv[next], "-r") == 0) // output file for QT clut RAW (test)
594 arr[0] = c.clut.red;
595 arr[1] = c.clut.green;
596 arr[2] = c.clut.blue;
677 fprintf(out_stream, "\t0x%02X,0x%02X,0x%02X, ", c.clut.red, c.clut.green, c.clut.blue);
679 fprintf(out_stream, "0x%02X,0x%02X,0x%02X, ", c.clut.red, c.clut.green, c.clut.blue);
681 fprintf(out_stream, "0x%02X,0x%02X,0x%02X, ", c.clut.red, c.clut.green, c.clut.blue);
683 fprintf(out_stream, "0x%02X,0x%02X,0x%02X%s\n", c.clut.red, c.clut.green, c.clut.blue, ((i!=(256-4))?",":""));
1085 if ( color8.clut.red == color8.clut.green && color8.clut.green == color8.clut.blue )
1096 if ( clut8.clut.red != clut8.clut.green || clut8.clut.green != clut8.clut.blue )
1099 if ( clut8.clut.red > color8.clut.red) continue;
1100 rel = abs(color8.clut.red - clut8.clut.red);
1125 R = (c.clut.red & 0xFF) ;
1126 G = (c.clut.green & 0xFF) ;
1127 B = (c.clut.blue & 0xFF) ;
1319 color24.clut.red = data[i24++];
1320 color24.clut.green = data[i24++];
1321 color24.clut.blue = data[i24++];
1390 ddata[i24++] = color24.clut.red;
1391 ddata[i24++] = color24.clut.green;
1392 ddata[i24++] = color24.clut.blue;
1426 fprintf(stderr,"Err: Could not open input clut file %s.\n\n", iname);
1449 fprintf(stderr,"Err: Could not open output clut file %s.\n\n", oname);
1573 *p++ = c.clut.red;
1574 *p++ = c.clut.green;
1575 *p++ = c.clut.blue;