ConvolutionFunction1D
Artifact: androidx.media3:media3-effect
@UnstableApi
public interface ConvolutionFunction1D
GaussianFunction |
Implementation of a symmetric Gaussian function with a limited domain. |
An interface for 1 dimensional convolution functions.
The domain defines the region over which the function operates, in pixels.
Summary
Nested types |
|---|
public interface ConvolutionFunction1D.ProviderA configurable provider for |
Public methods |
|
|---|---|
abstract float |
Returns the end of the domain. |
abstract float |
Returns the start of the domain. |
abstract float |
value(float samplePosition)Returns the value of the function at the |
default float |
width()Returns the width of the domain. |
Public methods
value
abstract float value(float samplePosition)
Returns the value of the function at the samplePosition.