Home
last modified time | relevance | path

Searched refs:colour_type (Results 1 – 1 of 1) sorted by relevance

/external/libpng/contrib/libtests/
Dpngvalid.c380 standard_name(char *buffer, size_t bufsize, size_t pos, png_byte colour_type, in standard_name() argument
384 pos = safecat(buffer, bufsize, pos, colour_types[colour_type]); in standard_name()
385 if (colour_type == 3) /* must have a palette */ in standard_name()
450 next_format(png_bytep colour_type, png_bytep bit_depth, in next_format() argument
455 *colour_type = 0; in next_format()
464 if (*colour_type < 4/*no alpha channel*/) in next_format()
470 png_byte ct = *colour_type; in next_format()
485 || (*colour_type != 3 && *bit_depth <= 16) in next_format()
491 switch (*colour_type) in next_format()
494 *colour_type = 2; in next_format()
[all …]