v1

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderLength = 28
	MinorVersion = 0
	MajorVersion = 1
)

Variables

View Source
var Identifier = []byte("PESQ")

Functions

This section is empty.

Types

type ColorEncoding

type ColorEncoding uint8
const RGB ColorEncoding = 2
type Header struct {
	Identifier             [4]uint8
	ChannelDataStartOffset uint16
	MinorVersion           uint8
	MajorVersion           uint8
	HeaderLength           uint16
	ChannelCount           uint32
	FrameCount             uint32
	StepTimeMilliseconds   uint8
	Flags                  uint8         `fppignored:"true" fppdefault:"0"`
	UniverseCount          uint16        `fppignored:"true"`
	UniverseSize           uint16        `fppignored:"true"`
	Gamma                  uint8         `fppignored:"true" fppdefault:"1"`
	ColorEncoding          ColorEncoding `fppignored:"true" fppdefault:"2"`
	Reserved               [2]uint8      `fppignored:"true" fppdefault:"0"`
}

func (Header) Duration added in v0.2.4

func (h Header) Duration() time.Duration

func (Header) FramesPerSecond added in v0.2.5

func (h Header) FramesPerSecond() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL