dvb

package
v3.0.33 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

DVB (Digital Video Broadcasting) bindings for Go

When you depend on this code, use -tags dvb when running go build test and install. In order to install scan tables for multiplexers, use:

apt install dtv-scan-tables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TuneParams

type TuneParams struct {
	DeliverySystem         FEDeliverySystem
	Frequency              uint32
	Modulation             FEModulation
	Bandwidth              uint32
	SymbolRate             uint32
	CodeRateLp, CodeRateHp FECodeRate
	InnerFEC               FECodeRate
	TransmitMode           FETransmitMode
	GuardInterval          FEGuardInterval
	Hierarchy              FEHierarchy
	Inversion              FEInversion
	// contains filtered or unexported fields
}

func NewTuneParams

func NewTuneParams(name string) *TuneParams

NewTuneParams returns a new set of scan parameters

func ReadTuneParamsTable

func ReadTuneParamsTable(r io.Reader) ([]*TuneParams, error)

ReadTuneParamsTable returns tuning parameters from a file or handle

func (*TuneParams) Name

func (this *TuneParams) Name() string

func (*TuneParams) SetBandwidth

func (this *TuneParams) SetBandwidth(value uint32)

func (*TuneParams) SetCoderate

func (this *TuneParams) SetCoderate(lp, hp FECodeRate)

func (*TuneParams) SetDeliverySystem

func (this *TuneParams) SetDeliverySystem(value FEDeliverySystem)

func (*TuneParams) SetFrequency

func (this *TuneParams) SetFrequency(value uint32)

func (*TuneParams) SetGuardInterval

func (this *TuneParams) SetGuardInterval(value FEGuardInterval)

func (*TuneParams) SetHierarchy

func (this *TuneParams) SetHierarchy(value FEHierarchy)

func (*TuneParams) SetInnerFEC

func (this *TuneParams) SetInnerFEC(value FECodeRate)

func (*TuneParams) SetInversion

func (this *TuneParams) SetInversion(value FEInversion)

func (*TuneParams) SetModulation

func (this *TuneParams) SetModulation(value FEModulation)

func (*TuneParams) SetSymbolrate

func (this *TuneParams) SetSymbolrate(value uint32)

func (*TuneParams) SetTransmitMode

func (this *TuneParams) SetTransmitMode(value FETransmitMode)

func (*TuneParams) String

func (this *TuneParams) String() string

Jump to

Keyboard shortcuts

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