Searched refs:one_over_kernel_scale (Results 1 – 2 of 2) sorted by relevance
126 const Vector2f one_over_kernel_scale(1.0f / kernel_scale.x(), in Sample() local131 float y_weight = kernel.Value(y_kernel_pos * one_over_kernel_scale.y()); in Sample()134 float x_weight = kernel.Value(x_kernel_pos * one_over_kernel_scale.x()); in Sample()
79 const float one_over_kernel_scale = 1.0f / kernel_scale; in ComputeSpansCore() local107 float weight = kernel(std::abs(kernel_pos * one_over_kernel_scale)); in ComputeSpansCore()