SpeedProviderUtil


@UnstableApi
public class SpeedProviderUtil


Utilities for SpeedProvider.

Summary

Public methods

static long
getDurationAfterSpeedProviderApplied(
    SpeedProvider speedProvider,
    long durationUs
)

Returns the duration of the output when the given SpeedProvider is applied given an input stream with the given durationUs.

Public methods

getDurationAfterSpeedProviderApplied

public static long getDurationAfterSpeedProviderApplied(
    SpeedProvider speedProvider,
    long durationUs
)

Returns the duration of the output when the given SpeedProvider is applied given an input stream with the given durationUs.