Home
last modified time | relevance | path

Searched refs:filterX (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkLinearBitmapPipeline_sample.h670 SkScalar filterX = sample_to_filter(X(start)); in spanSlowRate() local
695 Sk4f pixel = leftPart * filterX + rightPart * (1.0f - filterX); in spanSlowRate()
712 filterX -= dx; in spanSlowRate()
713 if (filterX <= 0.0f) { in spanSlowRate()
714 filterX += 1.0f; in spanSlowRate()
719 SkASSERT(0.0f < filterX && filterX <= 1.0f); in spanSlowRate()
746 filterX -= dx; in spanSlowRate()
749 if (filterX > 1.0f) { in spanSlowRate()
750 filterX -= 1.0f; in spanSlowRate()
755 SkASSERT(0.0f < filterX && filterX <= 1.0f); in spanSlowRate()
[all …]
DSkConvolver.cpp171 const SkConvolutionFilter1D& filterX, in BGRAConvolve2D() argument
198 int rowBufferWidth = (filterX.numValues() + 31) & ~0x1F; in BGRAConvolve2D()
221 SkASSERT(outputByteRowStride >= filterX.numValues() * 4); in BGRAConvolve2D()
244 SkOpts::convolve_4_rows_horizontally(src, filterX, outRow, 4*rowBufferWidth); in BGRAConvolve2D()
249 filterX, rowBuffer.advanceRow(), sourceHasAlpha); in BGRAConvolve2D()
268 filterX.numValues(), curOutputRow, in BGRAConvolve2D()
/external/skia/src/opts/
DSkBitmapFilter_opts.h59 for (int filterX = 0; filterX < filterLength >> 2; filterX++) { in convolve_horizontally() local
156 for (int filterX = 0; filterX < (filterLength >> 2); filterX++) { in convolve_4_rows_horizontally() local
445 for (int filterX = 0; filterX < filterLength >> 2; filterX++) {
527 for (int filterX = 0; filterX < (filterLength >> 2); filterX++) {
792 for (int filterX = 0; filterX < filterLength; filterX++) {
793 SkConvolutionFilter1D::ConvolutionFixed curFilter = filterValues[filterX];
794 accum[0] += curFilter * rowToFilter[filterX * 4 + 0];
795 accum[1] += curFilter * rowToFilter[filterX * 4 + 1];
796 accum[2] += curFilter * rowToFilter[filterX * 4 + 2];
798 accum[3] += curFilter * rowToFilter[filterX * 4 + 3];