edid

package module
v0.0.0-...-7a35100 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

EXPERIMENTAL!!

TODO

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EDID

type EDID struct {
	Display string

	IsActive                                                 bool
	Querier                                                  string
	Model                                                    uint32
	Serial                                                   uint64
	ProductionYear                                           uint
	ProductionWeek                                           uint
	ProductionWeekFF                                         bool
	VersionMajor                                             uint
	VersionMinor                                             uint
	PNPID                                                    [3]byte
	Manufacturer                                             string
	ManufacturerPNPDateOfApproval                            time.Time
	Input                                                    string // "digital" / "analog"
	VideoInterface                                           string
	BitDepth                                                 string
	VSyncPulseMustBeSerratedWhenCompositeOrSyncOnGreenIsUsed bool
	SyncOnGreenSupport                                       bool
	CompositeSyncOnHSyncSupport                              bool
	SeparateSyncSupport                                      bool
	BlankToBlackSetupPedestalExpected                        bool
	VideoWhiteAndSyncLevelsRelativeToBlank                   string
	ResolutionPreferredX                                     int
	ResolutionPreferredY                                     int
	// contains filtered or unexported fields
}

func New

func New(b []byte) (*EDID, error)

func QueryEDID

func QueryEDID(method string) ([]*EDID, error)

QueryEDID - valid methods: "x11","i2c","setupapi","ioreg"

func (*EDID) Data

func (e *EDID) Data() []byte

type PNPEntry

type PNPEntry struct {
	ID             string
	DateOfApproval string
	Company        string
}

Jump to

Keyboard shortcuts

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