
uint16_t gaussian_kernel[5] = {
  1,  4,  6,  4, 1
};
void gaussian_5x5_x(fv_stream_t*
                       stream) {
  uint64_t ret = 0;
  int i;
  for (i = -2; i < 3; i++) 
    ret += gaussian_kernel[i] * 
      fv_get_pix(stream, i, 0, 0);
  fv_put_pix(ret / 16);
}
void gaussian_5x5_y(fv_stream_t*
                       stream) {
  uint64_t ret = 0;
  int i;
  for (i = -2; i < 3; i++) 
    ret += gaussian_kernel[i] *  
      fv_get_pix(stream, 0, i, 0);
  fv_put_pix(ret / 16);
}



[use a mono-spaced font for the code above to preserve 
formatting]
