D | pngvalid.c | 521 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument 551 if (swap16) in sample() 6023 unsigned int swap16 :1; /* Byte swap 16-bit components */ member 6082 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local 6091 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init() 6120 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init() 6127 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6131 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6134 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6144 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() [all …]
|