DECLAREContigPutFunc(putRGBUAcontig8bittile)
{
	int samplesperpixel = img->samplesperpixel;
	(void) y;
	fromskew *= samplesperpixel;
	while (h-- > 0) {
		uint32 r, g, b, a;
		uint8* m;
		for (x = w; x-- > 0;) {
			a = pp[3];
			m = img->UaToAa+(a<<8);
			r = m[pp[0]];
			g = m[pp[1]];
			b = m[pp[2]];
			*cp++ = PACK4(r,g,b,a);
			pp += samplesperpixel;
		}
		cp += toskew;
		pp += fromskew;
	}
}
['DECLAREContigPutFunc(putRGBUAcontig8bittile)\n{\n\tint samplesperpixel = img->samplesperpixel;\n\t(void) y;\n\tfromskew *= samplesperpixel;\n\twhile (h-- > 0) {\n\t\tuint32 r, g, b, a;\n\t\tuint8* m;\n\t\tfor (x = w; x-- > 0;) {\n\t\t\ta = pp[3];\n\t\t\tm = img->UaToAa+(a<<8);\n\t\t\tr = m[pp[0]];\n\t\t\tg = m[pp[1]];\n\t\t\tb = m[pp[2]];\n\t\t\t*cp++ = PACK4(r,g,b,a);\n\t\t\tpp += samplesperpixel;\n\t\t}\n\t\tcp += toskew;\n\t\tpp += fromskew;\n\t}\n}']