The Video Output Service is used to get and set video output configurations. It is also used to setup adaptive video mode rule sets. Adaptive video mode rule sets are mainly used to handle automatic aspect ratio conversion upon changes in the currently displayed video content. Adaptive video mode rule sets are defined at build time.
The Video Output service is also used to create instances of configuration sessions to modify the current video mode settings.
import "ToiVideoOutputService.idl";
Public Member Functions | |
| ToiVideoOutputConfiguration | getVideoConfiguration () |
| ToiVideoOutputConfigurationSession | createVideoConfigurationSession () raises (TToiInvalidArgumentException, TToiInvalidPreconditionException) |
| void | setVideoSafeMode () raises (TToiInvalidPreconditionException) |
| void | loadAdaptiveRuleSets (in TToiAdaptiveRuleSetNameSequence adaptiveRuleSets) raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException) |
| TToiAdaptiveRuleSetNameSequence | getAvailableAdaptiveRuleSetNames () |
| TToiAdaptiveRuleSetNameSequence | getLoadedAdaptiveRuleSetNames () |
Public Attributes | |
Events | |
| const long | ON_ADAPTIVE_RULE_CHANGED = 3200 |
Public Types | |
| typedef sequence < ToiVideoOutputServiceAdaptiveTransition > | TToiAdaptiveTransitionSequence |
| typedef sequence< string > | TToiAdaptiveRuleSetNameSequence |
| typedef sequence< string > ToiVideoOutputService::TToiAdaptiveRuleSetNameSequence |
Sequence of adaptive video ruleset names.
| typedef sequence< ToiVideoOutputServiceAdaptiveTransition > ToiVideoOutputService::TToiAdaptiveTransitionSequence |
Sequence of adaptive state transitions.
| ToiVideoOutputConfigurationSession ToiVideoOutputService::createVideoConfigurationSession | ( | ) | raises (TToiInvalidArgumentException, TToiInvalidPreconditionException) |
This method creates a session that makes it possible to change the video output configuration.
| IToiVideoOutputConfigurationSession | ToiVideoOutputConfigurationSession interface. |
| TToiInvalidArgumentException | Raised if the specified application identifier is invalid. |
| TToiInvalidPreconditionException | Raised if another session is active. |
| TToiAdaptiveRuleSetNameSequence ToiVideoOutputService::getAvailableAdaptiveRuleSetNames | ( | ) |
Get a sequence of rule set names based on the available adaptive video rule sets that can be loaded.
| adaptiveRuleSets | A sequence of rule sets names. |
| TToiAdaptiveRuleSetNameSequence ToiVideoOutputService::getLoadedAdaptiveRuleSetNames | ( | ) |
Get a sequence of rule set names based on the adaptive video rule sets that have been loaded.
| adaptiveRuleSets | A sequence of rule sets names. |
| ToiVideoOutputConfiguration ToiVideoOutputService::getVideoConfiguration | ( | ) |
This method returns an address to the current video output configuration.
| IToiVideoOutputConfiguration | |
| address | Address to an ToiVideoOutputConfiguration interface. |
| void ToiVideoOutputService::loadAdaptiveRuleSets | ( | in TToiAdaptiveRuleSetNameSequence | adaptiveRuleSets | ) | raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException) |
Loads a sequence of adaptive video rule sets based on their names. An empty sequence will unload all currently loaded rule sets. Each rule within a loaded rule set is evaluated in the order it is placed and all rule sets are evaluated in parallel.
| adaptiveRuleSets | A sequence of rule set names. |
| TToiNotEnoughResourcesException | Raised if necessary resource can not be allocated. |
| TToiInvalidArgumentException | Raised if the ruleset is unavailable. |
| void ToiVideoOutputService::setVideoSafeMode | ( | ) | raises (TToiInvalidPreconditionException) |
Sets the video outputs into a safe mode configuration.
| TToiInvalidPreconditionException | Raised if a configuration session is active. |
| const long ToiVideoOutputService::ON_ADAPTIVE_RULE_CHANGED = 3200 |
This is an Event identifier for ToiVideoOutputAdaptiveRuleChangedEvent.
This constant can also be accessed from toi.consts.ToiVideoOutputService.ON_ADAPTIVE_RULE_CHANGED.