Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/effects/generated/
DGrCircleBlurFragmentProcessor.cpp17 static float make_unnormalized_half_kernel(float* halfKernel, int halfKernelSize, float sigma) { in make_unnormalized_half_kernel() argument
23 for (int i = 0; i < halfKernelSize; ++i) { in make_unnormalized_half_kernel()
35 int halfKernelSize, float sigma) { in make_half_kernel_and_summed_table() argument
37 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel, halfKernelSize, sigma); in make_half_kernel_and_summed_table()
39 for (int i = 0; i < halfKernelSize; ++i) { in make_half_kernel_and_summed_table()
49 int halfKernelSize, const float* summedHalfKernelTable) { in apply_kernel_in_y() argument
64 } else if (yInt >= halfKernelSize - 1) { in apply_kernel_in_y()
78 static uint8_t eval_at(float evalX, float circleR, const float* halfKernel, int halfKernelSize, in eval_at() argument
82 float x = evalX - halfKernelSize; in eval_at()
83 for (int i = 0; i < halfKernelSize; ++i, x += 1.f) { in eval_at()
[all …]
/third_party/flutter/skia/src/gpu/effects/
DGrCircleBlurFragmentProcessor.fp38 static float make_unnormalized_half_kernel(float* halfKernel, int halfKernelSize, float sigma) {
44 for (int i = 0; i < halfKernelSize; ++i) {
56 int halfKernelSize, float sigma) {
58 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel, halfKernelSize, sigma);
60 for (int i = 0; i < halfKernelSize; ++i) {
70 int halfKernelSize, const float* summedHalfKernelTable) {
85 } else if (yInt >= halfKernelSize - 1) {
99 static uint8_t eval_at(float evalX, float circleR, const float* halfKernel, int halfKernelSize,
103 float x = evalX - halfKernelSize;
104 for (int i = 0; i < halfKernelSize; ++i, x += 1.f) {
[all …]
/third_party/skia/src/core/
DSkBlurMF.cpp587 static float make_unnormalized_half_kernel(float* halfKernel, int halfKernelSize, float sigma) { in make_unnormalized_half_kernel() argument
593 for (int i = 0; i < halfKernelSize; ++i) { in make_unnormalized_half_kernel()
606 int halfKernelSize, in make_half_kernel_and_summed_table() argument
609 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel, halfKernelSize, sigma); in make_half_kernel_and_summed_table()
611 for (int i = 0; i < halfKernelSize; ++i) { in make_half_kernel_and_summed_table()
624 int halfKernelSize, in apply_kernel_in_y() argument
640 } else if (yInt >= halfKernelSize - 1) { in apply_kernel_in_y()
657 int halfKernelSize, in eval_at() argument
661 float x = evalX - halfKernelSize; in eval_at()
662 for (int i = 0; i < halfKernelSize; ++i, x += 1.f) { in eval_at()
[all …]