Lines Matching refs:reciprocal
1562 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1573 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1595 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1628 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1655 component *= reciprocal; in png_unpremultiply()
1714 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1721 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1725 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
1832 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
1839 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
1848 alpha, reciprocal); in png_image_set_PLTE()
1850 reciprocal); in png_image_set_PLTE()
1852 reciprocal); in png_image_set_PLTE()
1857 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE()