Documentation ¶
Overview ¶
Package asstime provide time conversions an framerate functions
Index ¶
Constants ¶
View Source
const ( // FpsNtscFilm Frame per second rate NTSC film standard (23.976) FpsNtscFilm float64 = float64(24000) / float64(1001) // FpsNtsc Frame per second rate NTSC standard (30) FpsNtsc float64 = float64(30000) / float64(1001) // FpsNtscDouble Frame per second rate NTSC Double standard (60) FpsNtscDouble float64 = float64(60000) / float64(1001) // FpsNtscQuad Frame per second rate NTSC Quad standard (120) FpsNtscQuad float64 = float64(120000) / float64(1001) // FpsFilm Frame per second rate Film standard FpsFilm float64 = 24.0 // FpsPal Frame per second rate PAL standard FpsPal float64 = 25.0 // FpsPalDouble Frame per second rate PAL Double standard (50) FpsPalDouble float64 = 50.0 // FpsPalQuad Frame per second rate PAL Quad standard (100) FpsPalQuad int = 100.0 )
View Source
const ( // Millisecond Base time multiplier Millisecond = 1 // Centisecond time multiplier Centisecond = 10 // Second time multiplier Second = 1000 // Minute time multiplier Minute = 60 * Second // Hour time multiplier Hour = 60 * Minute )
Variables ¶
This section is empty.
Functions ¶
func FramesToMS ¶
FramesToMS Convert Frames to Milliseconds
func MStoFrames ¶
MStoFrames Convert Frames to Milliseconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.