pixman-filter: Made Gaussian a bit wider
authorBill Spitzak <spitzak@gmail.com>
Wed, 31 Aug 2016 05:03:15 +0000 (22:03 -0700)
committerSøren Sandmann Pedersen <soren.sandmann@gmail.com>
Sat, 3 Sep 2016 18:53:07 +0000 (14:53 -0400)
commit17c4ce2e393af597db3c04295c21afc7ce34aa22
tree87f32aae4932b7280beaba5dca8c8f9e32b0fa39
parentd286078b28bdef15aa0498e6e7ec7da68a42bfeb
pixman-filter: Made Gaussian a bit wider

Expanded the size slightly (from ~4.25 to 5) to make the cutoff less
noticable.  Previouly the value at the cutoff was
gaussian_filter(sqrt(2)*3/2) = 0.00626 which is larger than the
difference between 8-bit pixels (1/255 = 0.003921). New cutoff is
gaussian_filter(2.5) = 0.001089 which is smaller.

v11: added some math to commit message
v14: left SIGMA in there
Signed-off-by: Bill Spitzak <spitzak@gmail.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Søren Sandmann <soren.sandmann@gmail.com>
pixman/pixman-filter.c