VideoFrameReleaseControl.FrameReleaseInfo


public class VideoFrameReleaseControl.FrameReleaseInfo


Per FrameReleaseAction metadata.

Summary

Public fields

long
long

Public constructors

Resets this instances state.

Public methods

long

Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots.

long

Returns the release time for the frame, in nanoseconds, or TIME_UNSET if the frame should not be released yet.

Public fields

earlyUs

public long earlyUs

releaseTimeNs

public long releaseTimeNs

Public constructors

FrameReleaseInfo

public FrameReleaseInfo()

Resets this instances state.

Public methods

getEarlyUs

public long getEarlyUs()

Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots.

getReleaseTimeNs

public long getReleaseTimeNs()

Returns the release time for the frame, in nanoseconds, or TIME_UNSET if the frame should not be released yet.