openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.AVSwitch.AVSwitch Class Reference

Public Member Functions

def __init__ (self)
 
def readAvailableModes (self)
 
def readPreferredModes (self)
 
def is24hzAvailable (self)
 
def isModeAvailable (self, port, mode, rate)
 
def isWidescreenMode (self, port, mode)
 
def setMode (self, port, mode, rate, force=None)
 
def saveMode (self, port, mode, rate)
 
def isPortAvailable (self, port)
 
def isPortUsed (self, port)
 
def getPortList (self)
 
def getModeList (self, port)
 
def createConfig (self, *args)
 
def setInput (self, input)
 
def setColorFormat (self, value)
 
def setConfiguredMode (self)
 
def setAspect (self, cfgelement)
 
def setWss (self, cfgelement)
 
def setPolicy43 (self, cfgelement)
 
def setPolicy169 (self, cfgelement)
 
def getOutputAspect (self)
 
def getFramebufferScale (self)
 
def setAspectRatio (self, value)
 
def getAspectRatioSetting (self)
 

Public Attributes

 last_modes_preferred
 
 on_hotplug
 
 current_mode
 
 current_port
 
 modes_preferred
 
 has24pAvailable
 

Static Public Attributes

 hw_type = HardwareInfo().get_device_name()
 
dictionary rates = {}
 
dictionary modes = {}
 
dictionary widescreen_modes = {"720p", "1080p", "1080i", "2160p"}
 
 f = open("/proc/stb/info/board_revision", "r").read()
 

Constructor & Destructor Documentation

◆ __init__()

def Components.AVSwitch.AVSwitch.__init__ (   self)

Member Function Documentation

◆ createConfig()

def Components.AVSwitch.AVSwitch.createConfig (   self,
args 
)

◆ getAspectRatioSetting()

def Components.AVSwitch.AVSwitch.getAspectRatioSetting (   self)

◆ getFramebufferScale()

def Components.AVSwitch.AVSwitch.getFramebufferScale (   self)

◆ getModeList()

def Components.AVSwitch.AVSwitch.getModeList (   self,
  port 
)

◆ getOutputAspect()

def Components.AVSwitch.AVSwitch.getOutputAspect (   self)

◆ getPortList()

def Components.AVSwitch.AVSwitch.getPortList (   self)

◆ is24hzAvailable()

def Components.AVSwitch.AVSwitch.is24hzAvailable (   self)

◆ isModeAvailable()

def Components.AVSwitch.AVSwitch.isModeAvailable (   self,
  port,
  mode,
  rate 
)

◆ isPortAvailable()

def Components.AVSwitch.AVSwitch.isPortAvailable (   self,
  port 
)

◆ isPortUsed()

def Components.AVSwitch.AVSwitch.isPortUsed (   self,
  port 
)

◆ isWidescreenMode()

def Components.AVSwitch.AVSwitch.isWidescreenMode (   self,
  port,
  mode 
)

◆ readAvailableModes()

def Components.AVSwitch.AVSwitch.readAvailableModes (   self)

◆ readPreferredModes()

def Components.AVSwitch.AVSwitch.readPreferredModes (   self)

◆ saveMode()

def Components.AVSwitch.AVSwitch.saveMode (   self,
  port,
  mode,
  rate 
)

◆ setAspect()

def Components.AVSwitch.AVSwitch.setAspect (   self,
  cfgelement 
)

◆ setAspectRatio()

def Components.AVSwitch.AVSwitch.setAspectRatio (   self,
  value 
)

◆ setColorFormat()

def Components.AVSwitch.AVSwitch.setColorFormat (   self,
  value 
)

◆ setConfiguredMode()

def Components.AVSwitch.AVSwitch.setConfiguredMode (   self)

◆ setInput()

def Components.AVSwitch.AVSwitch.setInput (   self,
  input 
)

◆ setMode()

def Components.AVSwitch.AVSwitch.setMode (   self,
  port,
  mode,
  rate,
  force = None 
)

◆ setPolicy169()

def Components.AVSwitch.AVSwitch.setPolicy169 (   self,
  cfgelement 
)

◆ setPolicy43()

def Components.AVSwitch.AVSwitch.setPolicy43 (   self,
  cfgelement 
)

◆ setWss()

def Components.AVSwitch.AVSwitch.setWss (   self,
  cfgelement 
)

Member Data Documentation

◆ current_mode

Components.AVSwitch.AVSwitch.current_mode

◆ current_port

Components.AVSwitch.AVSwitch.current_port

◆ f

Components.AVSwitch.AVSwitch.f = open("/proc/stb/info/board_revision", "r").read()
static

◆ has24pAvailable

Components.AVSwitch.AVSwitch.has24pAvailable

◆ hw_type

Components.AVSwitch.AVSwitch.hw_type = HardwareInfo().get_device_name()
static

◆ last_modes_preferred

Components.AVSwitch.AVSwitch.last_modes_preferred

◆ modes

dictionary Components.AVSwitch.AVSwitch.modes = {}
static

◆ modes_preferred

Components.AVSwitch.AVSwitch.modes_preferred

◆ on_hotplug

Components.AVSwitch.AVSwitch.on_hotplug

◆ rates

dictionary Components.AVSwitch.AVSwitch.rates = {}
static

◆ widescreen_modes

dictionary Components.AVSwitch.AVSwitch.widescreen_modes = {"720p", "1080p", "1080i", "2160p"}
static

The documentation for this class was generated from the following file: