[an error occurred while processing this directive]
|
static __inline int filt_result (FILTER *filt, int x)
{
int tmp;
long acc;
acc = filt->Acc;
acc += (long)(x - filt->y);
tmp = (int)(acc >> (filt->Shift));
filt->Acc = acc;
filt->y = tmp;
return tmp;
}
E-mail: info@telesys.ru