Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkConvolver.cpp115 const SkConvolutionFilter1D& filter, in ConvolveHorizontally()
122 const SkConvolutionFilter1D::ConvolutionFixed* filterValues = in ConvolveHorizontally()
132 SkConvolutionFilter1D::ConvolutionFixed curFilter = filterValues[filterX]; in ConvolveHorizontally()
143 accum[0] >>= SkConvolutionFilter1D::kShiftBits; in ConvolveHorizontally()
144 accum[1] >>= SkConvolutionFilter1D::kShiftBits; in ConvolveHorizontally()
145 accum[2] >>= SkConvolutionFilter1D::kShiftBits; in ConvolveHorizontally()
147 accum[3] >>= SkConvolutionFilter1D::kShiftBits; in ConvolveHorizontally()
173 const SkConvolutionFilter1D& filter, in ConvolveHorizontallyAlpha()
180 const SkConvolutionFilter1D& filter, in ConvolveHorizontallyNoAlpha()
195 void ConvolveVertically(const SkConvolutionFilter1D::ConvolutionFixed* filterValues, in ConvolveVertically()
[all …]
DSkConvolver.h27 class SkConvolutionFilter1D {
34 SK_API SkConvolutionFilter1D();
35 SK_API ~SkConvolutionFilter1D();
144 const SkConvolutionFilter1D::ConvolutionFixed* filterValues,
152 const SkConvolutionFilter1D& filter,
157 const SkConvolutionFilter1D& filter,
161 SkConvolutionFilter1D* filter);
200 const SkConvolutionFilter1D& xfilter,
201 const SkConvolutionFilter1D& yfilter,
DSkBitmapScaler.cpp30 const SkConvolutionFilter1D& xFilter() { return fXFilter; } in xFilter()
31 const SkConvolutionFilter1D& yFilter() { return fYFilter; } in yFilter()
51 SkConvolutionFilter1D* output,
54 SkConvolutionFilter1D fXFilter;
55 SkConvolutionFilter1D fYFilter;
117 SkConvolutionFilter1D* output, in computeFilters()
135 SkSTArray<64, SkConvolutionFilter1D::ConvolutionFixed, true> fixedFilterValuesArray; in computeFilters()
180 SkConvolutionFilter1D::ConvolutionFixed* fixedFilterValues = fixedFilterValuesArray.begin(); in computeFilters()
183 int curFixed = SkConvolutionFilter1D::FloatToFixed(filterValues[fixedI] * invFilterSum); in computeFilters()
194 int leftovers = SkConvolutionFilter1D::FloatToFixed(1) - fixedSum; in computeFilters()
/external/skia/src/opts/
DSkBitmapFilter_opts_SSE2.cpp46 const SkConvolutionFilter1D& filter, in convolveHorizontally_SSE2()
63 const SkConvolutionFilter1D::ConvolutionFixed* filter_values = in convolveHorizontally_SSE2()
158 accum = _mm_srai_epi32(accum, SkConvolutionFilter1D::kShiftBits); in convolveHorizontally_SSE2()
176 const SkConvolutionFilter1D& filter, in convolve4RowsHorizontally_SSE2()
195 const SkConvolutionFilter1D::ConvolutionFixed* filter_values = in convolve4RowsHorizontally_SSE2()
268 accum0 = _mm_srai_epi32(accum0, SkConvolutionFilter1D::kShiftBits); in convolve4RowsHorizontally_SSE2()
271 accum1 = _mm_srai_epi32(accum1, SkConvolutionFilter1D::kShiftBits); in convolve4RowsHorizontally_SSE2()
274 accum2 = _mm_srai_epi32(accum2, SkConvolutionFilter1D::kShiftBits); in convolve4RowsHorizontally_SSE2()
277 accum3 = _mm_srai_epi32(accum3, SkConvolutionFilter1D::kShiftBits); in convolve4RowsHorizontally_SSE2()
303 void convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filter_values, in convolveVertically_SSE2()
[all …]
DSkBitmapProcState_arm_neon.cpp89 const SkConvolutionFilter1D& filter, in convolveHorizontally_neon()
101 const SkConvolutionFilter1D::ConvolutionFixed* filterValues = in convolveHorizontally_neon()
174 accum = vshrq_n_s32(accum, SkConvolutionFilter1D::kShiftBits); in convolveHorizontally_neon()
191 void convolveVertically_neon(const SkConvolutionFilter1D::ConvolutionFixed* filterValues, in convolveVertically_neon()
232 accum0 = vshrq_n_s32(accum0, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
233 accum1 = vshrq_n_s32(accum1, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
234 accum2 = vshrq_n_s32(accum2, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
235 accum3 = vshrq_n_s32(accum3, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
297 accum0 = vshrq_n_s32(accum0, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
298 accum1 = vshrq_n_s32(accum1, SkConvolutionFilter1D::kShiftBits); in convolveVertically_neon()
[all …]
DSkBitmapFilter_opts_SSE2.h14 void convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filter_values,
21 const SkConvolutionFilter1D& filter,
25 const SkConvolutionFilter1D& filter,
28 void applySIMDPadding_SSE2(SkConvolutionFilter1D* filter);