Searched refs:colour_type (Results 1 – 1 of 1) sorted by relevance
379 standard_name(char *buffer, size_t bufsize, size_t pos, png_byte colour_type, in standard_name() argument383 pos = safecat(buffer, bufsize, pos, colour_types[colour_type]); in standard_name()384 if (colour_type == 3) /* must have a palette */ in standard_name()449 next_format(png_bytep colour_type, png_bytep bit_depth, in next_format() argument454 *colour_type = 0; in next_format()463 if (*colour_type < 4/*no alpha channel*/) in next_format()469 png_byte ct = *colour_type; in next_format()484 || (*colour_type != 3 && *bit_depth <= 16) in next_format()490 switch (*colour_type) in next_format()493 *colour_type = 2; in next_format()[all …]