Lines Matching refs:reciprocal
1772 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1783 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1805 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1838 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1865 component *= reciprocal; in png_unpremultiply()
1924 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1931 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1935 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
2042 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
2049 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
2058 alpha, reciprocal); in png_image_set_PLTE()
2060 reciprocal); in png_image_set_PLTE()
2062 reciprocal); in png_image_set_PLTE()
2067 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE()