pngvalid.c | 379 standard_name(char *buffer, size_t bufsize, size_t pos, png_byte colour_type, 383 pos = safecat(buffer, bufsize, pos, colour_types[colour_type]); 384 if (colour_type == 3) /* must have a palette */ 449 next_format(png_bytep colour_type, png_bytep bit_depth, 454 *colour_type = 0; 463 if (*colour_type < 4/*no alpha channel*/) 469 png_byte ct = *colour_type; 484 || (*colour_type != 3 && *bit_depth <= 16) 490 switch (*colour_type) 493 *colour_type = 2 2361 png_byte colour_type; \/* From IHDR *\/ member in struct:png_modifier 4271 png_byte colour_type = 0; local 4938 png_byte colour_type; member in struct:standard_display 6017 png_byte colour_type; \/* As in the spec. *\/ member in struct:image_pixel 8263 png_byte colour_type, bit_depth; local 9160 png_byte colour_type = 0; local 10574 png_byte colour_type = 0; local 10643 png_byte colour_type = 0; local 10675 png_byte colour_type = 0, bit_depth = 0; local 10927 png_byte colour_type = 0; local [all...] |