acquireconfig

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquireConfig

type AcquireConfig struct {
	Device DeviceConfig
}

func (*AcquireConfig) GetDeviceConfig

func (hc *AcquireConfig) GetDeviceConfig() DeviceConfig

func (*AcquireConfig) LoadDefaults

func (hc *AcquireConfig) LoadDefaults()

func (*AcquireConfig) Lock

func (hc *AcquireConfig) Lock()

func (*AcquireConfig) SetDeviceConfig

func (hc *AcquireConfig) SetDeviceConfig(conf DeviceConfig) error

func (*AcquireConfig) Unlock

func (hc *AcquireConfig) Unlock()

type DeviceConfig

type DeviceConfig struct {
	Source string
	typemd.Resolution
	FPS int
}

func (*DeviceConfig) GetFPS

func (hc *DeviceConfig) GetFPS() int

func (*DeviceConfig) GetResolution

func (hc *DeviceConfig) GetResolution() typemd.Resolution

func (*DeviceConfig) GetSource

func (hc *DeviceConfig) GetSource() string

func (*DeviceConfig) LoadDefaults

func (hc *DeviceConfig) LoadDefaults()

func (*DeviceConfig) Lock

func (hc *DeviceConfig) Lock()

func (*DeviceConfig) SetFPS

func (hc *DeviceConfig) SetFPS(fps int)

func (*DeviceConfig) SetResolution

func (hc *DeviceConfig) SetResolution(res typemd.Resolution)

func (*DeviceConfig) SetSource

func (hc *DeviceConfig) SetSource(src string)

func (*DeviceConfig) Unlock

func (hc *DeviceConfig) Unlock()

Jump to

Keyboard shortcuts

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