FourdgsKeyframeDeltaOptions class

Cadence, mode, and everything else a keyframe-delta file needs.

Constructors

FourdgsKeyframeDeltaOptions({int keyframeEvery = 8, int deltaMode = deltaModeChained, Set<int> keyframeAt = const <int>{}, String profile = 'default', double cutoff = fourdgsDefaultCutoff, int codec = codecDeflate, int level = 6, String library = '4dgs-dart keyframe-delta encoder', bool writeIndex = true, bool writeStatistics = true, bool writeCrc = true, bool verify = true})
const

Properties

codec → int
final
cutoff → double
final
deltaMode → int
deltaModeChained references the previous chunk; deltaModeKeyframe references the group's keyframe. Chained is the default because it is smaller and its chain is contiguous in the file, so a range reader coalesces it into one request.
final
hashCode → int
The hash code for this object.
no setterinherited
keyframeAt → Set<int>
Sample indices to force a keyframe at, beyond the cadence. A producer that knows where a cut is puts one here so that instant costs two records however deep into a group it would otherwise have fallen.
final
keyframeEvery → int
Samples per group of pictures. 1 writes every sample as a keyframe, which is legal and is the shape the registry's frame-sequence reservation describes. 0 spends a keyframe only on sample 0 and on keyframeAt.
final
level → int
final
library → String
final
profile → String
The quantization profile: fine, default or coarse. It selects the error bounds, and through them every grid pitch the file declares — and it is what the Header's profile field carries, which is what both reference encoders write there for a sequence.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verify → bool
Decode the finished file on both read paths and check every lane against the bounds it declares before handing it back.
final
writeCrc → bool
final
writeIndex → bool
final
writeStatistics → bool
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