ConvolutionFunction1D.Provider


interface ConvolutionFunction1D.Provider


A configurable provider for ConvolutionFunction1D instances.

Summary

Public functions

Size!
configure(inputSize: Size!)

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

ConvolutionFunction1D!
getConvolution(presentationTimeUs: Long)

Returns a 1D convolution function.

Public functions

configure

fun configure(inputSize: Size!): Size!

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

This method must be called before getConvolution.

Parameters
inputSize: Size!

The input frame size on which to apply a convolution.

Returns
Size!

The output frame size after applying the convolution.

getConvolution

fun getConvolution(presentationTimeUs: Long): ConvolutionFunction1D!

Returns a 1D convolution function.

Parameters
presentationTimeUs: Long

The presentation timestamp of the input frame, in microseconds.