OmniVideoLayout class final

How one video expands: its frame groups, their times, and optionally the encoder rows of its soundtrack, split between the groups.

Constructors

OmniVideoLayout({required List<double> timestamps, required List<double> groupStarts, required int tokensPerGroup, int? soundtrackTokens})
OmniVideoLayout.of(VisionVideoInput video, {int? soundtrackTokens})
factory

Properties

groups → int
no setter
groupStarts → List<double>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
soundtrackBounds → List<int>
Upstream split points: each group's soundtrack rows start at the encoder row nearest its first frame, 80 ms per row.
no setter
soundtrackTokens → int?
final
timestamps → List<double>
final
tokensPerGroup → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited