• Home
  • Raw
  • Download

Lines Matching refs:dg

1075         F dr,dg,db,da;  member
1114 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \
1118 params->dr, params->dg, params->db, params->da); \
1123 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da)
1127 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \
1129 F r, F g, F b, F a, F dr, F dg, F db, F da) { \
1130 name##_k(Ctx{program},dx,dy,tail, r,g,b,a, dr,dg,db,da); \
1132 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \
1135 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da)
1291 dr = dg = db = da = 0; in STAGE()
1342 dg = c->g; in STAGE()
1379 dg = sk_unaligned_load<F>(ptr + 1*N); in STAGE()
1387 sk_unaligned_store(ptr + 1*N, dg); in STAGE()
1397 g = name##_channel(g,dg,a,da); \
1429 g = name##_channel(g,dg,a,da); \
1531 set_sat(&R, &G, &B, sat(dr,dg,db)*a); in STAGE()
1532 set_lum(&R, &G, &B, lum(dr,dg,db)*a); in STAGE()
1536 g = g*inv(da) + dg*inv(a) + G; in STAGE()
1542 G = dg*a, in STAGE()
1546 set_lum(&R, &G, &B, lum(dr,dg,db)* a); // (This is not redundant.) in STAGE()
1550 g = g*inv(da) + dg*inv(a) + G; in STAGE()
1559 set_lum(&R, &G, &B, lum(dr,dg,db)*a); in STAGE()
1563 g = g*inv(da) + dg*inv(a) + G; in STAGE()
1569 G = dg*a, in STAGE()
1576 g = g*inv(da) + dg*inv(a) + G; in STAGE()
1586 dg = cast((dst >> 8) & 0xff); in STAGE()
1593 g = mad(dg, inv(a), g*255.0f); in STAGE()
1658 dg = g; in STAGE()
1664 g = dg; in STAGE()
1670 std::swap(g, dg); in STAGE()
1682 dg = dg * da; in STAGE()
1781 g = lerp(dg, g, *c); in STAGE()
1795 g = lerp(dg, g, c); in STAGE()
1806 g = lerp(dg, g, c); in STAGE()
1819 g = lerp(dg, g, cg); in STAGE()
1945 dr = dg = db = 0.0f; in STAGE()
1970 from_565(load<U16>(ptr, tail), &dr,&dg,&db); in STAGE()
1994 from_4444(load<U16>(ptr, tail), &dr,&dg,&db,&da); in STAGE()
2016 from_8888(load<U32>(ptr, tail), &dr,&dg,&db,&da); in STAGE()
2041 from_88(load<U16>(ptr, tail), &dr, &dg); in STAGE()
2065 dr = dg = db = 0.0f; in STAGE()
2088 from_1616(load<U32>(ptr, tail), &dr, &dg); in STAGE()
2113 from_16161616(load<U64>(ptr, tail), &dr, &dg, &db, &da); in STAGE()
2138 from_1010102(load<U32>(ptr, tail), &dr,&dg,&db,&da); in STAGE()
2171 dg = from_half(G); in STAGE()
2219 dr = dg = db = 0.0f; in STAGE()
2249 dg = from_half(G); in STAGE()
2277 load4(ptr,tail, &dr,&dg,&db,&da); in STAGE()
2356 dr = dg = db = da; in STAGE()
2599 dg = mad(scale, g, dg); in STAGE()
2934 U16 dr,dg,db,da;
2941 U16 dr, U16 dg, U16 db, U16 da);
3002 U16& dr, U16& dg, U16& db, U16& da); \
3007 params->dr,params->dg,params->db,params->da); \
3013 U16& dr, U16& dg, U16& db, U16& da)
3018 U16& dr, U16& dg, U16& db, U16& da); \
3021 params->dr,params->dg,params->db,params->da); \
3027 U16& dr, U16& dg, U16& db, U16& da)
3033 U16 dr, U16 dg, U16 db, U16 da) { \
3040 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \
3047 U16& dr, U16& dg, U16& db, U16& da); \
3050 U16 dr, U16 dg, U16 db, U16 da) { \
3053 name##_k(Ctx{program}, dx,dy,tail, x,y, r,g,b,a, dr,dg,db,da); \
3055 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \
3059 U16& dr, U16& dg, U16& db, U16& da)
3064 U16& dr, U16& dg, U16& db, U16& da); \
3067 U16 dr, U16 dg, U16 db, U16 da) { \
3068 name##_k(Ctx{program}, dx,dy,tail, r,g,b,a, dr,dg,db,da); \
3070 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \
3074 U16& dr, U16& dg, U16& db, U16& da)
3320 dg = c->rgba[1];
3354 dg = div255_accurate(dg * da);
3374 dg = g;
3381 g = dg;
3388 std::swap(g, dg);
3400 g = name##_channel(g,dg,a,da); \
3427 g = name##_channel(g,dg,a,da); \
3641 load_8888_(ptr_at_xy<const uint32_t>(ctx, dx,dy), tail, &dr,&dg,&db,&da);
3686 load_565_(ptr_at_xy<const uint16_t>(ctx, dx,dy), tail, &dr,&dg,&db);
3732 load_4444_(ptr_at_xy<const uint16_t>(ctx, dx,dy), tail, &dr,&dg,&db,&da);
3795 load_88_(ptr_at_xy<const uint16_t>(ctx, dx, dy), tail, &dr, &dg);
3824 dr = dg = db = 0;
3842 dr = dg = db = da;
3872 dg = sk_unaligned_load<U16>(ptr + 1*N);
3878 sk_unaligned_store(ptr + 1*N, dg);
3895 g = lerp(dg, g, c);
3910 g = lerp(dg, g, c);
3925 g = lerp(dg, g, c);
3951 g = lerp(dg, g, cg);
4218 load_8888_(ptr, tail, &dr,&dg,&db,&da);
4220 g = g + div255( dg*inv(a) );