Lines Matching refs:reciprocal
1577 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1588 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1610 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1643 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1670 component *= reciprocal; in png_unpremultiply()
1730 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1737 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1741 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
1848 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
1855 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
1864 alpha, reciprocal); in png_image_set_PLTE()
1866 reciprocal); in png_image_set_PLTE()
1868 reciprocal); in png_image_set_PLTE()
1873 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE()