sRGB 164 contrib/libtests/pngstest.c return sRGB(fixed_linear / 65535.); sRGB 178 contrib/libtests/pngstest.c return sRGB((double)component / alpha); sRGB 1233 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); sRGB 1261 contrib/libtests/pngstest.c out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); sRGB 1262 contrib/libtests/pngstest.c out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); sRGB 1263 contrib/libtests/pngstest.c out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a)); sRGB 1280 contrib/libtests/pngstest.c sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); sRGB 1298 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(YfromRGB( sRGB 1306 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], sRGB 1692 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB((double)in->g / in->a); sRGB 1711 contrib/libtests/pngstest.c out->r = sRGB((double)in->r / in->a); sRGB 1712 contrib/libtests/pngstest.c out->g = sRGB((double)in->g / in->a); sRGB 1713 contrib/libtests/pngstest.c out->b = sRGB((double)in->b / in->a); sRGB 1731 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1); sRGB 1754 contrib/libtests/pngstest.c out->r = sRGB(in->r * a + back->dr * a1); sRGB 1755 contrib/libtests/pngstest.c out->g = sRGB(in->g * a + back->dg * a1); sRGB 1756 contrib/libtests/pngstest.c out->b = sRGB(in->b * a + back->db * a1); sRGB 1768 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(YfromRGBint(in->r, in->g, in->b)/65535); sRGB 1786 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(YfromRGBint(in->r, in->g, in->b)/in->a); sRGB 1805 contrib/libtests/pngstest.c out->r = sRGB((double)in->r / in->a); sRGB 1806 contrib/libtests/pngstest.c out->g = sRGB((double)in->g / in->a); sRGB 1807 contrib/libtests/pngstest.c out->b = sRGB((double)in->b / in->a); sRGB 1829 contrib/libtests/pngstest.c out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1); sRGB 1859 contrib/libtests/pngstest.c out->r = sRGB(in->r * a + back->dr * a1); sRGB 1860 contrib/libtests/pngstest.c out->g = sRGB(in->g * a + back->dg * a1); sRGB 1861 contrib/libtests/pngstest.c out->b = sRGB(in->b * a + back->db * a1); sRGB 127 contrib/tools/makesRGB.c double lo = 255 * sRGB(i << 15); sRGB 128 contrib/tools/makesRGB.c double hi = 255 * sRGB((i+1) << 15); sRGB 155 contrib/tools/makesRGB.c unsigned int iexact = nearbyint(255*sRGB(i)); sRGB 227 contrib/tools/makesRGB.c unsigned int iexact = nearbyint(255*sRGB(i)); sRGB 308 contrib/tools/makesRGB.c unsigned int iexact = nearbyint(255*sRGB(i)); sRGB 313 contrib/tools/makesRGB.c double err = 255*sRGB(i) - icalc; sRGB 340 contrib/tools/makesRGB.c unsigned int iexact = nearbyint(255*sRGB(i)); sRGB 345 contrib/tools/makesRGB.c double err = 255*sRGB(i) - icalc; sRGB 365 contrib/tools/makesRGB.c unsigned int iexact = nearbyint(255*sRGB(i));