Lines Matching refs:reciprocal
1565 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1576 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1598 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1631 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1658 component *= reciprocal; in png_unpremultiply()
1717 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1724 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1728 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
1835 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
1842 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
1851 alpha, reciprocal); in png_image_set_PLTE()
1853 reciprocal); in png_image_set_PLTE()
1855 reciprocal); in png_image_set_PLTE()
1860 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE()