ConvolutionFunction1D.Provider


public interface ConvolutionFunction1D.Provider


A configurable provider for ConvolutionFunction1D instances.

Summary

Public methods

abstract Size
configure(Size inputSize)

Configures the provider to return 1D convolution functions based on the input frame dimensions.

abstract ConvolutionFunction1D
getConvolution(long presentationTimeUs)

Returns a 1D convolution function.

Public methods

configure

abstract Size configure(Size inputSize)

Configures the provider to return 1D convolution functions based on the input frame dimensions.

This method must be called before getConvolution.

Parameters
Size inputSize

The input frame size on which to apply a convolution.

Returns
Size

The output frame size after applying the convolution.

getConvolution

abstract ConvolutionFunction1D getConvolution(long presentationTimeUs)

Returns a 1D convolution function.

Parameters
long presentationTimeUs

The presentation timestamp of the input frame, in microseconds.