remove unused function

git-svn-id: http://skia.googlecode.com/svn/trunk@10208 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
humper@google.com 2013-07-19 20:30:44 +00:00
parent 5f3f681db5
commit ab56cdabbd

View File

@ -20,18 +20,6 @@ namespace {
return 255;
}
// Takes the value produced by accumulating element-wise product of image with
// a kernel and brings it back into range.
// All of the filter scaling factors are in fixed point with kShiftBits bits of
// fractional part.
inline unsigned char BringBackTo8(int a, bool takeAbsolute) {
a >>= SkConvolutionFilter1D::kShiftBits;
if (takeAbsolute) {
a = abs(a);
}
return ClampTo8(a);
}
// Stores a list of rows in a circular buffer. The usage is you write into it
// by calling AdvanceRow. It will keep track of which row in the buffer it
// should use next, and the total number of rows added.