Home | History | Annotate | Download | only in libtests

Lines Matching defs:back

1171 gpc_noop(Pixel *out, const Pixel *in, const Background *back)
1173 (void)back;
1182 gpc_nop8(Pixel *out, const Pixel *in, const Background *back)
1184 (void)back;
1201 gpc_nop6(Pixel *out, const Pixel *in, const Background *back)
1203 (void)back;
1221 gpc_bckg(Pixel *out, const Pixel *in, const Background *back)
1224 out->r = out->g = out->b = back->ig;
1233 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a));
1241 gpc_bckc(Pixel *out, const Pixel *in, const Background *back)
1245 out->r = back->ir;
1246 out->g = back->ig;
1247 out->b = back->ib;
1261 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a));
1262 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a));
1263 out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a));
1271 gpc_g8(Pixel *out, const Pixel *in, const Background *back)
1273 (void)back;
1287 gpc_g8b(Pixel *out, const Pixel *in, const Background *back)
1290 out->r = out->g = out->b = back->ig;
1307 sRGB_to_d[in->g], sRGB_to_d[in->b]) + back->dg * (1-a));
1316 gpc_lin(Pixel *out, const Pixel *in, const Background *back)
1318 (void)back;
1352 gpc_pre(Pixel *out, const Pixel *in, const Background *back)
1354 (void)back;
1388 gpc_preq(Pixel *out, const Pixel *in, const Background *back)
1390 (void)back;
1424 gpc_glin(Pixel *out, const Pixel *in, const Background *back)
1426 (void)back;
1440 gpc_gpre(Pixel *out, const Pixel *in, const Background *back)
1442 (void)back;
1456 gpc_gprq(Pixel *out, const Pixel *in, const Background *back)
1458 (void)back;
1473 gpc_Lin(Pixel *out, const Pixel *in, const Background *back)
1475 (void)back;
1511 gpc_Pre(Pixel *out, const Pixel *in, const Background *back)
1513 (void)back;
1549 gpc_Preq(Pixel *out, const Pixel *in, const Background *back)
1551 (void)back;
1588 gpc_Glin(Pixel *out, const Pixel *in, const Background *back)
1590 (void)back;
1608 gpc_Gpre(Pixel *out, const Pixel *in, const Background *back)
1610 (void)back;
1626 gpc_Gprq(Pixel *out, const Pixel *in, const Background *back)
1628 (void)back;
1644 gpc_sRGB(Pixel *out, const Pixel *in, const Background *back)
1646 (void)back;
1680 gpc_unpg(Pixel *out, const Pixel *in, const Background *back)
1682 (void)back;
1699 gpc_unpc(Pixel *out, const Pixel *in, const Background *back)
1701 (void)back;
1720 gpc_b16g(Pixel *out, const Pixel *in, const Background *back)
1723 out->r = out->g = out->b = back->ig;
1731 out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1);
1739 gpc_b16c(Pixel *out, const Pixel *in, const Background *back)
1743 out->r = back->ir;
1744 out->g = back->ig;
1745 out->b = back->ib;
1754 out->r = sRGB(in->r * a + back->dr * a1);
1755 out->g = sRGB(in->g * a + back->dg * a1);
1756 out->b = sRGB(in->b * a + back->db * a1);
1764 gpc_sG(Pixel *out, const Pixel *in, const Background *back)
1766 (void)back;
1774 gpc_sGp(Pixel *out, const Pixel *in, const Background *back)
1776 (void)back;
1793 gpc_sCp(Pixel *out, const Pixel *in, const Background *back)
1795 (void)back;
1815 gpc_gb16(Pixel *out, const Pixel *in, const Background *back)
1818 out->r = out->g = out->b = back->ig;
1829 out->r = out->g = out->b = sRGB(in->g * a + back->dg * a1);
1837 gpc_cb16(Pixel *out, const Pixel *in, const Background *back)
1841 out->r = back->ir;
1842 out->g = back->ig;
1843 out->b = back->ib;
1859 out->r = sRGB(in->r * a + back->dr * a1);
1860 out->g = sRGB(in->g * a + back->dg * a1);
1861 out->b = sRGB(in->b * a + back->db * a1);
1870 gpc_A(Pixel *out, const Pixel *in, const Background *back)
1872 (void)back;
1881 gpc_g16(Pixel *out, const Pixel *in, const Background *back)
1883 (void)back;
1890 gpc_g16q(Pixel *out, const Pixel *in, const Background *back)
1892 (void)back;
1900 (Pixel *out, const Pixel *in, const Background *back) =
1927 (Pixel *out, const Pixel *in, const Background *back) =
1944 (Pixel *out, const Pixel *in, const Background *back) =
2162 void (*transform)(Pixel *out, const Pixel *in, const Background *back);
2165 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back);
2382 * then back to 8-bit sRGB when it is done by libpng. There are two problems:
2496 Pixel back;
2499 back.r = transform->background->ir;
2500 back.g = transform->background->ig;
2501 back.b = transform->background->ib;
2502 back.a = -1; /* not used */
2504 print_pixel(pixel_back, &back, back_format);
2711 /* Compare two images, the original 'a', which was written out then read back in
2846 /* If reqested copy the error values back from the Transform. */
3041 /* If reqested copy the error values back from the Transform. */
3289 /* 'output' has an initialized temporary image, read this back in and compare