<languageVersion : 1.0;>
kernel NewFilter
< namespace : "Your Namespace";
vendor : "Your Vendor";
version : 1;
description : "your description";
>
{
input image4 src; output pixel4 dst; void evaluatePixel() { float2 pos = outCoord(); pixel4 p = sampleNearest(src,pos); p += sampleNearest(src,pos + float2(10,2)); p += sampleNearest(src,pos - float2(10,2)); dst = p; }
}