Lines Matching refs:swap16
476 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument
506 if (swap16) in sample()
5562 unsigned int swap16 :1; /* Byte swap 16-bit components */ member
5621 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local
5630 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init()
5659 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init()
5666 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5670 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5673 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5683 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5712 this->swap16 = 0; in image_pixel_init()
8091 that->swap16 = 1; in image_transform_png_set_swap_mod()