public interface

ConvolutionFunction1D.Provider

 androidx.media3.effect.ConvolutionFunction1D.Provider

Overview

A configurable provider for ConvolutionFunction1D instances.

Summary

Methods
public Sizeconfigure(Size inputSize)

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

public ConvolutionFunction1DgetConvolution(long presentationTimeUs)

Returns a 1D convolution function.

Methods

public Size configure(Size inputSize)

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

This method must be called before ConvolutionFunction1D.Provider.getConvolution(long).

Parameters:

inputSize: The input frame size on which to apply a convolution.

Returns:

The output frame size after applying the convolution.

public ConvolutionFunction1D getConvolution(long presentationTimeUs)

Returns a 1D convolution function.

Parameters:

presentationTimeUs: The presentation timestamp of the input frame, in microseconds.