Searched refs:ao (Results 1 - 5 of 5) sorted by relevance

/inkscape/src/display/
H A Dnr-filter-composite.cpp46 gint32 ao = _k1*aa*ab + _k2*aa + _k3*ab + _k4; local
51 ao = pxclamp(ao, 0, 255*255*255); // r, g and b are premultiplied, so should be clamped to the alpha channel
52 ro = (pxclamp(ro, 0, ao) + (255*255/2)) / (255*255);
53 go = (pxclamp(go, 0, ao) + (255*255/2)) / (255*255);
54 bo = (pxclamp(bo, 0, ao) + (255*255/2)) / (255*255);
55 ao = (ao + (255*255/2)) / (255*255);
57 ASSEMBLE_ARGB32(pxout, ao, ro, go, bo)
H A Dnr-filter-colormatrix.cpp62 gint32 ao = r*_v[15] + g*_v[16] + b*_v[17] + a*_v[18] + _v[19]; local
66 ao = (pxclamp(ao, 0, 255*255) + 127) / 255;
68 ro = premul_alpha(ro, ao);
69 go = premul_alpha(go, ao);
70 bo = premul_alpha(bo, ao);
72 ASSEMBLE_ARGB32(pxout, ao, ro, go, bo)
146 guint32 ao = r*54 + g*182 + b*18; local
147 return ((ao + 127) / 255) << 24;
H A Dnr-filter-convolve-matrix.cpp88 guint32 ao = pxclamp(round(suma), 0, 255); local
89 guint32 ro = pxclamp(round(sumr + ao * _bias), 0, ao);
90 guint32 go = pxclamp(round(sumg + ao * _bias), 0, ao);
91 guint32 bo = pxclamp(round(sumb + ao * _bias), 0, ao);
92 ASSEMBLE_ARGB32(pxout, ao,ro,go,bo);
H A Ddrawing-item.cpp663 guint32 ao = r*109 + g*366 + b*37; // coeffs add up to 512 local
664 return ((ao + 256) << 15) & 0xff000000; // equivalent to ((ao + 256) / 512) << 24
/inkscape/src/ui/tools/
H A Dflood-tool.cpp172 // guint ao = 255*255 - (255-ap)*(255-bp); ao = (ao + 127) / 255;
173 // guint ao = (255-ap)*ab + 255*ap; ao = (ao + 127) / 255;
174 guint ao = 255; // Cairo version doesn't allow background to have alpha != 1. local
179 guint pxout = AssembleARGB32(ao, ro, go, bo);
215 guint32 ao = 0, ro = 0, go = 0, bo = 0; local
216 ExtractARGB32(orig, ao, r
[all...]

Completed in 21 milliseconds