Vtc.Framerate (vtc v0.1.1) View Source

Link to this section Summary

Types

t()
Type that represents Examples struct with :playback as rational
number which represents the playback speed of a timecode, and :ntsc, which
is an atom representing which, if any, NTSC convention this framerate
adheres to.

Link to this section Types

Specs

parse_result() :: {:ok, t()} | {:error, Vtc.Framerate.ParseError.t()}

Specs

t() :: %Vtc.Framerate{ntsc: Vtc.Ntsc.t(), playback: Ratio.t()}
Type that represents Examples struct with :playback as rational
number which represents the playback speed of a timecode, and :ntsc, which
is an atom representing which, if any, NTSC convention this framerate
adheres to.

Link to this section Functions

Specs

new!(Ratio.t() | integer() | float() | String.t(), Vtc.Ntsc.t()) :: t()

Specs

new?(Ratio.t(), Vtc.Ntsc.t()) :: parse_result()
new?(integer(), Vtc.Ntsc.t()) :: parse_result()
new?(float(), Vtc.Ntsc.t()) :: parse_result()
new?(String.t(), Vtc.Ntsc.t()) :: parse_result()

Specs

timebase(t()) :: Ratio.t()