D | pngvalid.c | 520 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument 550 if (swap16) in sample() 6025 unsigned int swap16 :1; /* Byte swap 16-bit components */ member 6084 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local 6093 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init() 6122 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init() 6129 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6133 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6136 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() 6146 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init() [all …]
|