Std.Video
15 public declarations
- add
&Std.Video.Timestamp -> &Std.Video.Timestamp -> Result[Std.Video.Timestamp, Std.Video.VideoError]Two timestamps added exactly, reduced.
- appended
&Std.Video.Track -> Std.Video.Picture -> Result[Std.Video.Track, Std.Video.VideoError]A track with a picture appended.
- audioFrameAt
&Std.Video.Timestamp -> &Std.Audio.Format -> Result[Int, Std.Video.VideoError]The audio frame that plays at a video timestamp, so sound and picture are
- compare
&Std.Video.Timestamp -> &Std.Video.Timestamp -> IntWhether the first timestamp is earlier (-1), equal (0), or later (1).
- frameAt
&Std.Video.Rate -> &Std.Video.Timestamp -> Result[Int, Std.Video.VideoError]The frame being shown at a time: the last frame beginning at or before it.
- Picture
One picture and the span of time it is shown for.
- pictureAt
&Std.Video.Track -> &Std.Video.Timestamp -> Option[Int]The position of the picture on screen at a time, or nothing in a gap,
- rate
Int -> Int -> Result[Std.Video.Rate, Std.Video.VideoError]A rate of `frames` per `seconds`, reduced, with both parts positive.
- Rate
A frame rate as an exact fraction of frames per second.
- timeOfFrame
&Std.Video.Rate -> Int -> Result[Std.Video.Timestamp, Std.Video.VideoError]The time a frame begins, reduced to its smallest exact scale.
- timestamp
Int -> Int -> Result[Std.Video.Timestamp, Std.Video.VideoError]A timestamp of `ticks` at `scale` ticks per second, not before zero.
- Timestamp
A point on a media timeline: `ticks` counted at `scale` ticks per second.
- track
Std.Video.Rate -> Std.Video.TrackAn empty track at a rate.
- Track
Pictures in presentation order that never overlap.
- VideoError
Why a rate, a time, or a track could not be admitted.
