Home
last modified time | relevance | path

Searched refs:SkConvolutionFilter1D (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/opts/
DSkBitmapFilter_opts.h24 const SkConvolutionFilter1D::ConvolutionFixed* filterValues, __m128i& accum, int r) { in AccumRemainder()
27 SkConvolutionFilter1D::ConvolutionFixed coeff = filterValues[i]; in AccumRemainder()
40 const SkConvolutionFilter1D& filter, in convolve_horizontally()
48 const SkConvolutionFilter1D::ConvolutionFixed* filterValues = in convolve_horizontally()
116 accum = _mm_srai_epi32(accum, SkConvolutionFilter1D::kShiftBits); in convolve_horizontally()
134 const SkConvolutionFilter1D& filter, in convolve_4_rows_horizontally()
143 const SkConvolutionFilter1D::ConvolutionFixed* filterValues = in convolve_4_rows_horizontally()
206 accum0 = _mm_srai_epi32(accum0, SkConvolutionFilter1D::kShiftBits); in convolve_4_rows_horizontally()
209 accum1 = _mm_srai_epi32(accum1, SkConvolutionFilter1D::kShiftBits); in convolve_4_rows_horizontally()
212 accum2 = _mm_srai_epi32(accum2, SkConvolutionFilter1D::kShiftBits); in convolve_4_rows_horizontally()
[all …]
/external/skia/src/core/
DSkConvolver.cpp103 SkConvolutionFilter1D::SkConvolutionFilter1D() in SkConvolutionFilter1D() function in SkConvolutionFilter1D
107 SkConvolutionFilter1D::~SkConvolutionFilter1D() { in ~SkConvolutionFilter1D()
110 void SkConvolutionFilter1D::AddFilter(int filterOffset, in AddFilter()
153 const SkConvolutionFilter1D::ConvolutionFixed* SkConvolutionFilter1D::GetSingleFilter( in GetSingleFilter()
171 const SkConvolutionFilter1D& filterX, in BGRAConvolve2D()
172 const SkConvolutionFilter1D& filterY, in BGRAConvolve2D()
184 const SkConvolutionFilter1D::ConvolutionFixed* filterValues = in BGRAConvolve2D()
DSkBitmapScaler.cpp29 const SkConvolutionFilter1D& xFilter() { return fXFilter; } in xFilter()
30 const SkConvolutionFilter1D& yFilter() { return fYFilter; } in yFilter()
50 SkConvolutionFilter1D* output);
52 SkConvolutionFilter1D fXFilter;
53 SkConvolutionFilter1D fYFilter;
114 SkConvolutionFilter1D* output) { in computeFilters()
131 SkSTArray<64, SkConvolutionFilter1D::ConvolutionFixed, true> fixedFilterValuesArray; in computeFilters()
178 SkConvolutionFilter1D::ConvolutionFixed* fixedFilterValues = fixedFilterValuesArray.begin(); in computeFilters()
181 int curFixed = SkConvolutionFilter1D::FloatToFixed(filterValues[fixedI] * invFilterSum); in computeFilters()
192 int leftovers = SkConvolutionFilter1D::FloatToFixed(1) - fixedSum; in computeFilters()
DSkConvolver.h27 class SkConvolutionFilter1D {
34 SK_API SkConvolutionFilter1D();
35 SK_API ~SkConvolutionFilter1D();
168 const SkConvolutionFilter1D& xfilter,
169 const SkConvolutionFilter1D& yfilter,
DSkOpts.h66 extern void (*convolve_vertically)(const SkConvolutionFilter1D::ConvolutionFixed* filter_values,
70 const SkConvolutionFilter1D& filter,
72 …extern void (*convolve_horizontally)(const unsigned char* src_data, const SkConvolutionFilter1D& f…