Home | History | Annotate | Download | only in libtests

Lines Matching defs:CHUNK

21  * an sRGB or the appropriate gAMA chunk is written.  "1.8" refers to the
24 * approximately value^(1/1.45) to the color values and so a gAMA chunk of 65909
43 * a tRNS chunk, as follows:
53 * The palette always has 2^bit-depth entries and the tRNS chunk one fewer. The
620 * the images look the same regardless of the gAMA chunk.
1165 chunk = 0;
1169 /* Assemble the chunk name */
1175 chunk = (chunk << 8) + what[i];
1183 fprintf(stderr, "makepng --insert \"%s\": invalid chunk name\n", what);
1190 # define CHUNK(a,b,c,d) (((a)<<24)+((b)<<16)+((c)<<8)+(d))
1192 switch (chunk)
1194 case CHUNK(105,67,67,80): /* iCCP */
1199 case CHUNK(116,69,88,116): /* tEXt */
1204 case CHUNK(122,84,88,116): /* zTXt */
1209 case CHUNK(105,84,88,116): /* iTXt */
1214 case CHUNK(104,73,83,84): /* hIST */
1220 case CHUNK(115,80,76,84): /* sPLT */
1225 fprintf(stderr, "makepng --insert \"%s\": unrecognized chunk name\n",