/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | DirectConvolver.cpp | 65 // Only support kernelSize <= m_inputBlockSize 66 size_t kernelSize = convolutionKernel->size(); 67 ASSERT(kernelSize <= m_inputBlockSize); 68 if (kernelSize > m_inputBlockSize) 82 bool isCopyGood2 = overlayBuffer && m_overlayBuffer.size() >= kernelSize && m_buffer.size() == m_inputBlockSize * 2; 87 ippsConv_32f(static_cast<const Ipp32f*>(sourceP), framesToProcess, static_cast<Ipp32f*>(kernelP), kernelSize, static_cast<Ipp32f*>(outputBuffer)); 90 memcpy(overlayBuffer, outputBuffer + m_inputBlockSize, sizeof(float) * kernelSize); 99 conv(inputP - kernelSize + 1, 1, kernelP + kernelSize - 1, -1, destP, 1, framesToProcess, kernelSize); [all...] |
H A D | SincResampler.h | 43 // kernelSize can be adjusted for quality (higher is better) 45 SincResampler(double scaleFactor, unsigned kernelSize = 32, unsigned numberOfKernelOffsets = 32);
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBlurImage_opts.h | 13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize,
|
H A D | SkBlurImage_opts_neon.cpp | 58 void SkDoubleRowBoxBlur_NEON(const SkPMColor** src, int srcStride, SkPMColor** dst, int kernelSize, argument 66 const uint16x8_t scale = vdupq_n_u16((1 << 15) / kernelSize); 115 void SkBoxBlur_NEON(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 123 const uint32x4_t scale = vdupq_n_u32((1 << 24) / kernelSize); 126 if (kernelSize < 128) 128 SkDoubleRowBoxBlur_NEON<srcDirection, dstDirection>(&src, srcStride, &dst, kernelSize,
|
H A D | SkBlurImage_opts_SSE2.cpp | 36 void SkBoxBlur_SSE2(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 44 const __m128i scale = _mm_set1_epi32((1 << 24) / kernelSize);
|
H A D | SkBlurImage_opts_SSE4.cpp | 43 void SkBoxBlur_SSE4(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 51 const __m128i scale = _mm_set1_epi32((1 << 24) / kernelSize);
|
/external/skia/src/opts/ |
H A D | SkBlurImage_opts.h | 13 typedef void (*SkBoxBlurProc)(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize,
|
H A D | SkBlurImage_opts_neon.cpp | 58 void SkDoubleRowBoxBlur_NEON(const SkPMColor** src, int srcStride, SkPMColor** dst, int kernelSize, argument 66 const uint16x8_t scale = vdupq_n_u16((1 << 15) / kernelSize); 115 void SkBoxBlur_NEON(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 123 const uint32x4_t scale = vdupq_n_u32((1 << 24) / kernelSize); 126 if (kernelSize < 128) 128 SkDoubleRowBoxBlur_NEON<srcDirection, dstDirection>(&src, srcStride, &dst, kernelSize,
|
H A D | SkBlurImage_opts_SSE2.cpp | 36 void SkBoxBlur_SSE2(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 44 const __m128i scale = _mm_set1_epi32((1 << 24) / kernelSize);
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrMatrixConvolutionEffect.h | 24 const SkISize& kernelSize, 33 kernelSize, 44 const SkISize& kernelSize, 63 const SkISize& kernelSize() const { return fKernelSize; } function in class:GrMatrixConvolutionEffect 78 const SkISize& kernelSize, 22 Create(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
|
H A D | GrMatrixConvolutionEffect.cpp | 50 fKernelSize = m.kernelSize(); 126 SkASSERT(m.kernelSize().width() <= 0x7FFF && m.kernelSize().height() <= 0xFFFF); 127 uint32_t key = m.kernelSize().width() << 16 | m.kernelSize().height(); 138 SkASSERT(conv.kernelSize() == fKernelSize); 153 const SkISize& kernelSize, 161 fKernelSize(kernelSize), 166 for (int i = 0; i < kernelSize.width() * kernelSize 151 GrMatrixConvolutionEffect(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument 195 CreateGaussian(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha, SkScalar sigmaX, SkScalar sigmaY) argument 252 SkISize kernelSize = SkISize::Make(width, height); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEGaussianBlur.cpp | 85 IntSize kernelSize; local 90 kernelSize.setWidth(std::min(size, gMaxKernelSize)); 95 kernelSize.setHeight(std::min(size, gMaxKernelSize)); 98 return kernelSize; 111 IntSize kernelSize = calculateKernelSize(filter(), FloatPoint(m_stdX, m_stdY)); local 114 result.inflateX(3 * kernelSize.width() * 0.5f); 115 result.inflateY(3 * kernelSize.height() * 0.5f);
|
H A D | FEConvolveMatrix.cpp | 37 FEConvolveMatrix::FEConvolveMatrix(Filter* filter, const IntSize& kernelSize, argument 41 , m_kernelSize(kernelSize) 54 PassRefPtr<FEConvolveMatrix> FEConvolveMatrix::create(Filter* filter, const IntSize& kernelSize, argument 58 return adoptRef(new FEConvolveMatrix(filter, kernelSize, divisor, bias, targetOffset, edgeMode, kernelUnitLength, 71 IntSize FEConvolveMatrix::kernelSize() const function in class:blink::FEConvolveMatrix 76 void FEConvolveMatrix::setKernelSize(const IntSize& kernelSize) argument 78 ASSERT(kernelSize.width() > 0); 79 ASSERT(kernelSize.height() > 0); 80 m_kernelSize = kernelSize; 523 SkISize kernelSize(SkISiz [all...] |
H A D | FEDropShadow.cpp | 63 IntSize kernelSize = FEGaussianBlur::calculateKernelSize(filter, FloatPoint(m_stdX, m_stdY)); local 66 result.inflateX(3 * kernelSize.width() * 0.5f); 67 result.inflateY(3 * kernelSize.height() * 0.5f);
|
H A D | FilterOperations.cpp | 37 IntSize kernelSize = FEGaussianBlur::calculateUnscaledKernelSize(FloatPoint(stdDeviation, stdDeviation)); local 41 outset.setWidth(3 * kernelSize.width() * 0.5f); 42 outset.setHeight(3 * kernelSize.height() * 0.5f);
|
H A D | FEConvolveMatrix.h | 48 IntSize kernelSize() const;
|
/external/skia/include/effects/ |
H A D | SkMatrixConvolutionImageFilter.h | 34 @param kernelSize The kernel size in pixels, in each dimension (N by M). 54 static SkMatrixConvolutionImageFilter* Create(const SkISize& kernelSize, argument 63 return SkNEW_ARGS(SkMatrixConvolutionImageFilter, (kernelSize, kernel, gain, bias, 71 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
|
/external/chromium_org/third_party/skia/bench/ |
H A D | MatrixConvolutionBench.cpp | 18 SkISize kernelSize = SkISize::Make(3, 3); local 26 fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha);
|
/external/skia/bench/ |
H A D | MatrixConvolutionBench.cpp | 18 SkISize kernelSize = SkISize::Make(3, 3); local 26 fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkMatrixConvolutionImageFilter.cpp | 25 const SkISize& kernelSize, 36 fKernelSize(kernelSize), 45 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); 46 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); 47 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); 51 const SkISize& kernelSize, 61 if (kernelSize.width() < 1 || kernelSize.height() < 1) { 64 if (gMaxKernelSize / kernelSize 24 SkMatrixConvolutionImageFilter( const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, TileMode tileMode, bool convolveAlpha, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 50 Create( const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, TileMode tileMode, bool convolveAlpha, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 121 SkISize kernelSize; local [all...] |
H A D | SkBlurImageFilter.cpp | 91 static void boxBlur(const SkPMColor* src, int srcStride, SkPMColor* dst, int kernelSize, argument 99 uint32_t scale = (1 << 24) / kernelSize; 144 static void getBox3Params(SkScalar s, int *kernelSize, int* kernelSize3, int *lowOffset, argument 149 *kernelSize = d;
|
/external/skia/src/effects/ |
H A D | SkMatrixConvolutionImageFilter.cpp | 37 const SkISize& kernelSize, 47 fKernelSize(kernelSize), 56 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); 57 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); 58 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); 335 const SkISize& kernelSize, 344 kernelSize, 363 const SkISize& kernelSize() const { return fKernelSize; } function in class:GrMatrixConvolutionEffect 378 const SkISize& kernelSize, 36 SkMatrixConvolutionImageFilter( const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, TileMode tileMode, bool convolveAlpha, SkImageFilter* input, const CropRect* cropRect) argument 333 Create(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, TileMode tileMode, bool convolveAlpha) argument 577 GrMatrixConvolutionEffect(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, TileMode tileMode, bool convolveAlpha) argument 637 SkISize kernelSize = SkISize::Make(width, height); local [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
H A D | SkMatrixConvolutionImageFilter.h | 35 @param kernelSize The kernel size in pixels, in each dimension (N by M). 55 static SkMatrixConvolutionImageFilter* Create(const SkISize& kernelSize, 69 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
|
/external/chromium_org/third_party/skia/gm/ |
H A D | matrixconvolution.cpp | 61 SkISize kernelSize = SkISize::Make(3, 3); local 65 SkMatrixConvolutionImageFilter::Create(kernelSize,
|
/external/skia/gm/ |
H A D | matrixconvolution.cpp | 60 SkISize kernelSize = SkISize::Make(3, 3); local 64 SkMatrixConvolutionImageFilter::Create(kernelSize,
|