Documentation ¶
Index ¶
- type AcquireConfig
- type DeviceConfig
- func (hc *DeviceConfig) GetFPS() int
- func (hc *DeviceConfig) GetResolution() typemd.Resolution
- func (hc *DeviceConfig) GetSource() string
- func (hc *DeviceConfig) LoadDefaults()
- func (hc *DeviceConfig) Lock()
- func (hc *DeviceConfig) SetFPS(fps int)
- func (hc *DeviceConfig) SetResolution(res typemd.Resolution)
- func (hc *DeviceConfig) SetSource(src string)
- func (hc *DeviceConfig) Unlock()
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()
Click to show internal directories.
Click to hide internal directories.