Documentation ¶
Index ¶
- Constants
- Variables
- func AddConsoleLine(line string)
- func AlignCenter(p *ui.Par)
- func GetXTermColor(rgb uint32) uint16
- func GetXTermColorHVal(h uint32) uint16
- func InitDisplay()
- func InitLut()
- func Render()
- func UpdateCenterFrequency(freq uint32)
- func UpdateChannelData(d [256]int64)
- func UpdateDecoderFifoUsage(percent uint8)
- func UpdateDemodulatorFifoUsage(percent uint8)
- func UpdateDemuxer(demuxer string)
- func UpdateDevice(device string)
- func UpdateLockedState(lck bool)
- func UpdateMode(mode string)
- func UpdatePhaseCorr(corr uint8)
- func UpdateReedSolomon(d [4]int32)
- func UpdateSCVCID(scid byte, vcid byte)
- func UpdateSignalQuality(q uint8)
- func UpdateSyncCorrelation(corr uint8)
- func UpdateSyncWord(d [4]byte)
- func UpdateViterbiErrors(errors uint, frameSize uint)
- type ConsoleWritter
- type Objects
- type XTermColor
Constants ¶
View Source
const MaxConsoleLines = 10
Variables ¶
View Source
var BaseLUT = []XTermColor{}/* 256 elements not displayed */
View Source
var HValToHex map[uint32]uint32
View Source
var HVals []uint32
Functions ¶
func AddConsoleLine ¶
func AddConsoleLine(line string)
func AlignCenter ¶
func GetXTermColor ¶
func GetXTermColorHVal ¶
func InitDisplay ¶
func InitDisplay()
func UpdateCenterFrequency ¶
func UpdateCenterFrequency(freq uint32)
func UpdateChannelData ¶
func UpdateChannelData(d [256]int64)
func UpdateDecoderFifoUsage ¶
func UpdateDecoderFifoUsage(percent uint8)
func UpdateDemodulatorFifoUsage ¶
func UpdateDemodulatorFifoUsage(percent uint8)
func UpdateDemuxer ¶
func UpdateDemuxer(demuxer string)
func UpdateDevice ¶
func UpdateDevice(device string)
func UpdateMode ¶
func UpdateMode(mode string)
func UpdatePhaseCorr ¶
func UpdatePhaseCorr(corr uint8)
func UpdateReedSolomon ¶
func UpdateReedSolomon(d [4]int32)
func UpdateSCVCID ¶
func UpdateSignalQuality ¶
func UpdateSignalQuality(q uint8)
func UpdateSyncCorrelation ¶
func UpdateSyncCorrelation(corr uint8)
func UpdateSyncWord ¶
func UpdateSyncWord(d [4]byte)
func UpdateViterbiErrors ¶
Types ¶
type ConsoleWritter ¶
type ConsoleWritter struct {
// contains filtered or unexported fields
}
func NewConsoleWritter ¶
func NewConsoleWritter(writeFunc func(string) (int, error)) *ConsoleWritter
type XTermColor ¶
type XTermColor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.