struct info1 {
	int C; 
}; 

struct info2 {
	int data; 
}; 

void foo(struct info1* in, struct info2* out, unsigned char* p, int N)
{
  int p0, p1, p2; 

  for (int x = 1; x < 100; ++x) {
    p0 = *(p + (x+1) * in->C);
    p1 = *(p + (x-1) * in->C);
    p2 = *(p + (x-2) * in->C);
    out[N+x].data = p0 - p1 + p2;
  }

  return; 
}
 
