• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

ToiVideoOutputConfiguration

Class Summary

Extends:
  • ToiEventTarget

The ToiVideoOutputConfiguration interface is used for querying the video output settings.

  • Methods
  • Members
  • Types
  • Events

Method Summary

getColorSystem ( )  → colorSystem

Get current color system.

getDisplayCapabilities ( outputId )  → info

Returns information about the capabilities of a display that is connected to a video output. If no display is connected then the corresponding display information will be empty.

getOutputInfo ( outputId )  → info

Get information about current settings for a video output. The information is dependent on the currently applied settings for all outputs.

getOutputs ( )  → Array.<ToiVideoOutputConfiguration.ToiVideoOutputId>

Returns available video outputs.

getSupportedColorSystems ( )  → Array.<ToiVideoOutputConfiguration.ToiColorSystem>

Get supported color systems.

Inherited Methods

addEventListener ( type , listener )

This method registers an event listener for a specific event. Multiple listeners can be added for the same event. Events are broadcast to all registered listeners.

removeEventListener ( type , listener )

This method removes an event listener for a specific event.

Type Definitions

ToiAspectRatio (Type: enum)

Aspect ratio of display.

  • ASPECT_RATIO_4_3
  • ASPECT_RATIO_16_9
  • ASPECT_RATIO_16_10
  • ASPECT_RATIO_UNKNOWN
ToiColorDepth (Type: enum)

Enumeration of color depths.

  • COLOR_DEPTH_8
  • COLOR_DEPTH_10
  • COLOR_DEPTH_12
  • COLOR_DEPTH_16
ToiColorLevel (Type: enum)

Enumeration of color levels.

  • COLOR_LEVEL_FULL_RANGE_RGB
  • COLOR_LEVEL_FULL_RANGE_YCC
  • COLOR_LEVEL_LIMITED_RANGE
ToiColorSpace (Type: enum)

Enumeration of video color spaces.

  • DIGITAL_COLOR_SPACE_SRGB
  • DIGITAL_COLOR_SPACE_XVYCC
  • DIGITAL_COLOR_SPACE_YCBCR_420
  • DIGITAL_COLOR_SPACE_YCBCR_422
  • DIGITAL_COLOR_SPACE_YCBCR_444
ToiColorSystem (Type: enum)

Enumeration of video color systems.

  • COLOR_SYSTEM_NTSC_J
  • COLOR_SYSTEM_NTSC_M
  • COLOR_SYSTEM_PAL_B
  • COLOR_SYSTEM_PAL_M
  • COLOR_SYSTEM_PAL_N
  • COLOR_SYSTEM_PAL_NC
ToiDisplayStatus (Type: enum)

The display status information.

  • DISPLAY_STATUS_CONNECTED
  • DISPLAY_STATUS_CONNECTED_CAPABILITIES_UNKNOWN
  • DISPLAY_STATUS_DISCONNECTED
  • DISPLAY_STATUS_UNKNOWN
ToiHdmiSignalMode (Type: enum)

Signal mode on an HDMI output.

  • HDMI_SIGNAL_MODE_AUTO
  • HDMI_SIGNAL_MODE_DVI
  • HDMI_SIGNAL_MODE_HDMI
ToiScanBehavior (Type: enum)

Enumeration of scan behaviors.

  • SCAN_BEHAVIOR_NO_DATA
  • SCAN_BEHAVIOR_OVERSCAN
  • SCAN_BEHAVIOR_UNDERSCAN
ToiScartMode (Type: enum)

Enumerations of SCART video modes.

  • SCART_MODE_CVBS
  • SCART_MODE_RGB_CVBS
  • SCART_MODE_YC
ToiVideoConnectionType (Type: enum)

Enumeration of video connection types.

  • VIDEO_CONNECTION_TYPE_COMPOSITE
  • VIDEO_CONNECTION_TYPE_HDMI
  • VIDEO_CONNECTION_TYPE_SCART
ToiVideoMode (Type: enum)

Enumeration of video modes.

  • VIDEO_MODE_480I60
  • VIDEO_MODE_480P60
  • VIDEO_MODE_576I50
  • VIDEO_MODE_576P50
  • VIDEO_MODE_720P50
  • VIDEO_MODE_720P60
  • VIDEO_MODE_1080I50
  • VIDEO_MODE_1080I60
  • VIDEO_MODE_1080P24
  • VIDEO_MODE_1080P25
  • VIDEO_MODE_1080P30
  • VIDEO_MODE_1080P50
  • VIDEO_MODE_1080P60
  • VIDEO_MODE_1080P23976
  • VIDEO_MODE_1080P29970
  • VIDEO_MODE_1080P59940
  • VIDEO_MODE_2160P24
  • VIDEO_MODE_2160P24_4096
  • VIDEO_MODE_2160P25
  • VIDEO_MODE_2160P30
  • VIDEO_MODE_2160P50
  • VIDEO_MODE_2160P50_4096
  • VIDEO_MODE_2160P60
  • VIDEO_MODE_2160P60_4096
ToiVideoOutputId (Type: number)

Video output identifier.

ToiVideoOutputType (Type: enum)

Enumeration of video output types.

  • VIDEO_OUTPUT_TYPE_HD
  • VIDEO_OUTPUT_TYPE_SD

Events

  • ON_COLOR_SYSTEM_CHANGED
  • ON_CONFIGURATION_CHANGED
  • ON_DISPLAY_CAPABILITIES_CHANGED

Methods

addEventListener ( type , listener )

This method registers an event listener for a specific event. Multiple listeners can be added for the same event. Events are broadcast to all registered listeners.

Inherited From:

  • ToiEventTarget#addEventListener

Parameters:

Name Type Description
type number

The event type of the event to subscribe to.

listener ToiEventListener

The JavaScript function that will receive events.

Throws:

ToiInvalidArgumentException Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the application calls addEventListener with the same combination of type and listener twice.

getColorSystem ( )  → colorSystem

Get current color system.

Returns:

Current color system.

Type: ToiVideoOutputConfiguration.ToiColorSystem
getDisplayCapabilities ( outputId )  → info

Returns information about the capabilities of a display that is connected to a video output. If no display is connected then the corresponding display information will be empty.

Parameters:

Name Type Description
outputId ToiVideoOutputConfiguration.ToiVideoOutputId

Video output identifier.

Throws:

ToiInvalidArgumentException

Raised if outputId is an invalid output.

Returns:

Information for available displays.

Type: ToiVideoOutputConfiguration.ToiDisplayInfo
getOutputInfo ( outputId )  → info

Get information about current settings for a video output. The information is dependent on the currently applied settings for all outputs.

Parameters:

Name Type Description
outputId ToiVideoOutputConfiguration.ToiVideoOutputId

Video output identifier.

Throws:

ToiOperationNotSupportedException

Raised if outputs can not be listed.

ToiInvalidArgumentException

Raised if outputId is an invalid output.

Returns:

The video output information.

Type: ToiVideoOutputConfiguration.ToiVideoOutputInfo
getOutputs ( )  → Array.<ToiVideoOutputConfiguration.ToiVideoOutputId>

Returns available video outputs.

Returns:

List of video output identifiers.

Type: Array.<ToiVideoOutputConfiguration.ToiVideoOutputId>
getSupportedColorSystems ( )  → Array.<ToiVideoOutputConfiguration.ToiColorSystem>

Get supported color systems.

Returns:

Supported color systems.

Type: Array.<ToiVideoOutputConfiguration.ToiColorSystem>
removeEventListener ( type , listener )

This method removes an event listener for a specific event.

Inherited From:

  • ToiEventTarget#removeEventListener

Parameters:

Name Type Description
type number

The event type of the event to remove the listener from.

listener ToiEventListener

The JavaScript function that was previously added as an event listener.

Throws:

ToiInvalidArgumentException Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the listener has not previously been added.

Members

ON_COLOR_SYSTEM_CHANGED (Type: ToiVideoOutputConfigurationColorSystemChangedEvent) (value = 3802) (static, constant)

This is an Event identifier for ToiVideoOutputConfigurationColorSystemChangedEvent.

This event is sent when the color system configuration has changed.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_COLOR_SYSTEM_CHANGED.
ON_CONFIGURATION_CHANGED (Type: ToiVideoOutputConfigurationConfigurationChangedEvent) (value = 3800) (static, constant)

This is an Event identifier for ToiVideoOutputConfigurationConfigurationChangedEvent.

This event is sent when the configuration or allowed configuration of a video output has changed.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_CONFIGURATION_CHANGED.
ON_DISPLAY_CAPABILITIES_CHANGED (Type: ToiVideoOutputConfigurationDisplayCapabilitiesChangedEvent) (value = 3801) (static, constant)

This is an Event identifier for ToiVideoOutputConfigurationDisplayCapabilitiesChangedEvent.

This event is sent when the capabilities of a display has changed, for example when a display has been connected or disconnected.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_DISPLAY_CAPABILITIES_CHANGED.
ASPECT_RATIO_4_3 (Type: ToiVideoOutputConfiguration.ToiAspectRatio) (value = 1) (static, constant)

Aspect ratio is 4:3.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_4_3.
ASPECT_RATIO_16_9 (Type: ToiVideoOutputConfiguration.ToiAspectRatio) (value = 2) (static, constant)

Aspect ratio is 16:9 (widescreen).

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_16_9.
ASPECT_RATIO_16_10 (Type: ToiVideoOutputConfiguration.ToiAspectRatio) (value = 3) (static, constant)

Aspect ratio is 16:10.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_16_10.
ASPECT_RATIO_UNKNOWN (Type: ToiVideoOutputConfiguration.ToiAspectRatio) (value = 0) (static, constant)

Aspect ratio is not known.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_UNKNOWN.
COLOR_DEPTH_8 (Type: ToiVideoOutputConfiguration.ToiColorDepth) (value = 0) (static, constant)

8 bits per channel.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_DEPTH_8.
COLOR_DEPTH_10 (Type: ToiVideoOutputConfiguration.ToiColorDepth) (value = 1) (static, constant)

10 bits per channel.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_DEPTH_10.
COLOR_DEPTH_12 (Type: ToiVideoOutputConfiguration.ToiColorDepth) (value = 2) (static, constant)

12 bits per channel.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_DEPTH_12.
COLOR_DEPTH_16 (Type: ToiVideoOutputConfiguration.ToiColorDepth) (value = 3) (static, constant)

16 bits per channel.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_DEPTH_16.
COLOR_LEVEL_FULL_RANGE_RGB (Type: ToiVideoOutputConfiguration.ToiColorLevel) (value = 1) (static, constant)

According to CEA-861-E, full (0 to 255*2^(N-8)) range of color data are supported in RGB color space.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_LEVEL_FULL_RANGE_RGB.
COLOR_LEVEL_FULL_RANGE_YCC (Type: ToiVideoOutputConfiguration.ToiColorLevel) (value = 2) (static, constant)

According to CEA-861-E, full (0 to 255*2^(N-8)) range of color data are supported in sYCC601/AdobeYCC601 color space. It is here for the sake of completeness as no STB support this yet.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_LEVEL_FULL_RANGE_YCC.
COLOR_LEVEL_LIMITED_RANGE (Type: ToiVideoOutputConfiguration.ToiColorLevel) (value = 0) (static, constant)

Limited (162^(N-8) to 2352^(N-8) range color.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_LEVEL_LIMITED_RANGE.
COLOR_SYSTEM_NTSC_J (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 1) (static, constant)

This mode is similar to NTSC-M except there is no blanking pedestal. It is the analog system broadcast in Japan.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_NTSC_J.
COLOR_SYSTEM_NTSC_M (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 0) (static, constant)

This is the standard 525i60 NTSC system, broadcast in the United States.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_NTSC_M.
COLOR_SYSTEM_PAL_B (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 2) (static, constant)

This is the standard 625i50 PAL system, broadcast in most European countries. It uses a 4.43 MHz color subcarrier. This value should also be used for PAL D, G, H, I and K systems since the baseband video signal is identical for all of them.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_B.
COLOR_SYSTEM_PAL_M (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 3) (static, constant)

This is a hybrid 525i60 PAL system, broadcast in Brazil. It uses a 3.58 MHz color subcarrier.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_M.
COLOR_SYSTEM_PAL_N (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 4) (static, constant)

This is a 625i50 PAL system with a 3.58 MHz color subcarrier. It is broadcast in some countries in Latin America, such as Paraguay and Uruguay.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_N.
COLOR_SYSTEM_PAL_NC (Type: ToiVideoOutputConfiguration.ToiColorSystem) (value = 5) (static, constant)

This is a 625i50 PAL system with a 3.58 MHz color subcarrier and an increased black level on lines outside the VBI. Also known as PAL Combination N and is broadcast in some countries in Latin America, such as Argentina.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_NC.
DIGITAL_COLOR_SPACE_SRGB (Type: ToiVideoOutputConfiguration.ToiColorSpace) (value = 0) (static, constant)

SRGB color space.This is the most common color space for HDMI video.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_SRGB.
DIGITAL_COLOR_SPACE_XVYCC (Type: ToiVideoOutputConfiguration.ToiColorSpace) (value = 3) (static, constant)

XVYCC color space. A futuristic color space that is mentioned in the HDMI standard but rarely used. It is here for the sake of completeness as no STB supports this yet.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_XVYCC.
DIGITAL_COLOR_SPACE_YCBCR_420 (Type: ToiVideoOutputConfiguration.ToiColorSpace) (value = 4) (static, constant)

YCBR420 color space. This is a subsampled version of the above YCBCR modes. The chroma components are sampled at half the luminance component horizontally and vertically thus creating a less accurate but more bandwidth friendly signal.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_YCBCR_420.
DIGITAL_COLOR_SPACE_YCBCR_422 (Type: ToiVideoOutputConfiguration.ToiColorSpace) (value = 2) (static, constant)

YCBR422 color space. This is a subsampled version of the above. The chroma components are sampled at half the luminance component horizontally thus creating a less accurate but more bandwidth friendly signal.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_YCBCR_422.
DIGITAL_COLOR_SPACE_YCBCR_444 (Type: ToiVideoOutputConfiguration.ToiColorSpace) (value = 1) (static, constant)

YCBR444 color space. This color space represents the full range of the component signal. All components have the same sampling rate so there is no chroma subsampling.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_YCBCR_444.
DISPLAY_STATUS_CONNECTED (Type: ToiVideoOutputConfiguration.ToiDisplayStatus) (value = 1) (static, constant)

Display is connected and capabilities are known.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_CONNECTED.
DISPLAY_STATUS_CONNECTED_CAPABILITIES_UNKNOWN (Type: ToiVideoOutputConfiguration.ToiDisplayStatus) (value = 2) (static, constant)

Display is connected but capabilities are unknown or invalid.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_CONNECTED_CAPABILITIES_UNKNOWN.
DISPLAY_STATUS_DISCONNECTED (Type: ToiVideoOutputConfiguration.ToiDisplayStatus) (value = 3) (static, constant)

Display is not connected.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_DISCONNECTED.
DISPLAY_STATUS_UNKNOWN (Type: ToiVideoOutputConfiguration.ToiDisplayStatus) (value = 0) (static, constant)

Display status is unknown.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_UNKNOWN.
HDMI_SIGNAL_MODE_AUTO (Type: ToiVideoOutputConfiguration.ToiHdmiSignalMode) (value = 2) (static, constant)

The signal mode will automatically be chosen by probing the connected device.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.HDMI_SIGNAL_MODE_AUTO.
HDMI_SIGNAL_MODE_DVI (Type: ToiVideoOutputConfiguration.ToiHdmiSignalMode) (value = 1) (static, constant)

DVI signal mode. This can be used to force the output into DVI signal mode.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.HDMI_SIGNAL_MODE_DVI.
HDMI_SIGNAL_MODE_HDMI (Type: ToiVideoOutputConfiguration.ToiHdmiSignalMode) (value = 0) (static, constant)

HDMI signal mode. This can be used to force the output into HDMI signal mode.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.HDMI_SIGNAL_MODE_HDMI.
SCAN_BEHAVIOR_NO_DATA (Type: ToiVideoOutputConfiguration.ToiScanBehavior) (value = 0) (static, constant)

No data. Gives sink no indication about scan behaviors.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCAN_BEHAVIOR_NO_DATA.
SCAN_BEHAVIOR_OVERSCAN (Type: ToiVideoOutputConfiguration.ToiScanBehavior) (value = 1) (static, constant)

Overscan. Indicates sink that some active pixels and lines at the edges may not be displayed.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCAN_BEHAVIOR_OVERSCAN.
SCAN_BEHAVIOR_UNDERSCAN (Type: ToiVideoOutputConfiguration.ToiScanBehavior) (value = 2) (static, constant)

Underscan. Indicates sink that all active pixels and lines should be displayed, with or without a border.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCAN_BEHAVIOR_UNDERSCAN.
SCART_MODE_CVBS (Type: ToiVideoOutputConfiguration.ToiScartMode) (value = 0) (static, constant)

Output only composite video on SCART.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_CVBS.
SCART_MODE_RGB_CVBS (Type: ToiVideoOutputConfiguration.ToiScartMode) (value = 2) (static, constant)

Output RGB component video as well as composite video. The composite signal is used for timing only.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_RGB_CVBS.
SCART_MODE_YC (Type: ToiVideoOutputConfiguration.ToiScartMode) (value = 1) (static, constant)

Output separate luminance and chrominance signals, i.e. S-video. Note that displays must be manually configured to receive S-video since it is not possible to signal the S-video format in the SCART connector.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_YC.
VIDEO_CONNECTION_TYPE_COMPOSITE (Type: ToiVideoOutputConfiguration.ToiVideoConnectionType) (value = 2) (static, constant)

Composite connection.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_COMPOSITE.
VIDEO_CONNECTION_TYPE_HDMI (Type: ToiVideoOutputConfiguration.ToiVideoConnectionType) (value = 0) (static, constant)

HDMI connection.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_HDMI.
VIDEO_CONNECTION_TYPE_SCART (Type: ToiVideoOutputConfiguration.ToiVideoConnectionType) (value = 1) (static, constant)

SCART connection.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_SCART.
VIDEO_MODE_480I60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 0) (static, constant)

Interlaced scan video mode with 480 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_480I60.
VIDEO_MODE_480P60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 2) (static, constant)

Progressive scan video mode with 480 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_480P60.
VIDEO_MODE_576I50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 1) (static, constant)

Interlaced scan video mode with 576 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_576I50.
VIDEO_MODE_576P50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 3) (static, constant)

Progressive scan video mode with 576 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_576P50.
VIDEO_MODE_720P50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 4) (static, constant)

Progressive scan video mode with 720 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_720P50.
VIDEO_MODE_720P60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 5) (static, constant)

Progressive scan video mode with 720 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_720P60.
VIDEO_MODE_1080I50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 6) (static, constant)

Interlaced scan video mode with 1080 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080I50.
VIDEO_MODE_1080I60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 7) (static, constant)

Interlaced scan video mode with 1080 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080I60.
VIDEO_MODE_1080P24 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 9) (static, constant)

Progressive scan video mode with 1080 active lines and 24Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P24.
VIDEO_MODE_1080P25 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 10) (static, constant)

Progressive scan video mode with 1080 active lines and 25Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P25.
VIDEO_MODE_1080P30 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 12) (static, constant)

Progressive scan video mode with 1080 active lines and 30Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P30.
VIDEO_MODE_1080P50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 13) (static, constant)

Progressive scan video mode with 1080 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P50.
VIDEO_MODE_1080P60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 15) (static, constant)

Progressive scan video mode with 1080 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P60.
VIDEO_MODE_1080P23976 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 8) (static, constant)

Progressive scan video mode with 1080 active lines and 23.976Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P23976.
VIDEO_MODE_1080P29970 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 11) (static, constant)

Progressive scan video mode with 1080 active lines and 29.970Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P29970.
VIDEO_MODE_1080P59940 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 14) (static, constant)

Progressive scan video mode with 1080 active lines and 59.940Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P59940.
VIDEO_MODE_2160P24 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 16) (static, constant)

Progressive scan video mode with 2160 active lines with 3840 pixels per line and 24Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P24.
VIDEO_MODE_2160P24_4096 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 19) (static, constant)

Progressive scan video mode with 2160 active lines with 4096 pixels per line and 24Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P24_4096.
VIDEO_MODE_2160P25 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 17) (static, constant)

Progressive scan video mode with 2160 active lines and 25Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P25.
VIDEO_MODE_2160P30 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 18) (static, constant)

Progressive scan video mode with 2160 active lines and 30Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P30.
VIDEO_MODE_2160P50 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 20) (static, constant)

Progressive scan video mode with 2160 active lines and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P50.
VIDEO_MODE_2160P50_4096 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 22) (static, constant)

Progressive scan video mode with 2160 active lines with 4096 pixels per line and 50Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P50_4096.
VIDEO_MODE_2160P60 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 21) (static, constant)

Progressive scan video mode with 2160 active lines and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P60.
VIDEO_MODE_2160P60_4096 (Type: ToiVideoOutputConfiguration.ToiVideoMode) (value = 23) (static, constant)

Progressive scan video mode with 2160 active lines with 4096 pixels per line and 60Hz vertical frequency.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_2160P60_4096.
VIDEO_OUTPUT_TYPE_HD (Type: ToiVideoOutputConfiguration.ToiVideoOutputType) (value = 0) (static, constant)

Output is in HD.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_OUTPUT_TYPE_HD.
VIDEO_OUTPUT_TYPE_SD (Type: ToiVideoOutputConfiguration.ToiVideoOutputType) (value = 1) (static, constant)

Output is in SD.

This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_OUTPUT_TYPE_SD.
ToiCompositeOutputInfo (Type: struct) (static)

Composite output information.

Struct fields

Name Description
aspectRatio

The current aspect ratio setting.

Type: ToiVideoOutputConfiguration.ToiAspectRatio

ToiDisplayInfo (Type: struct) (static)

Information about a display. The information is divided into a generic part and an output type specific part. If no display is connected then the corresponding display information will be empty.

Struct fields

Name Description
hdmi
[optional]

HDMI display information. This member will only be set if ToiDisplayInfo.Status is DISPLAY_STATUS_CONNECTED.

Type: ToiVideoOutputConfiguration.ToiHdmiDisplayInfo
outputId

The video output that the display is connected to.

Type: ToiVideoOutputConfiguration.ToiVideoOutputId
status

Display status information.

Type: ToiVideoOutputConfiguration.ToiDisplayStatus

ToiHdmiDisplayInfo (Type: struct) (static)

Information about an HDMI display. The information is collected from the display's EDID.

Struct fields

Name Description
supportedColorDepths

The color depth values supported by the display.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorDepth> (Or a single ToiVideoOutputConfiguration.ToiColorDepth.)
supportedColorLevels

The color level values supported by the display.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorLevel> (Or a single ToiVideoOutputConfiguration.ToiColorLevel.)
supportedColorSpaces

The color space values supported by the display.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorSpace> (Or a single ToiVideoOutputConfiguration.ToiColorSpace.)
supportedModes

The video modes supported by the display in priority order (most preferred first).

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiVideoMode> (Or a single ToiVideoOutputConfiguration.ToiVideoMode.)
supportedScanBehaviors

The scan behavior values supported by the display.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiScanBehavior> (Or a single ToiVideoOutputConfiguration.ToiScanBehavior.)

ToiHdmiOutputInfo (Type: struct) (static)

HDMI output information.

Struct fields

Name Description
allowedColorDepths

Allowed color depth values based on the current configuration and restrictions imposed by the display.

This is a subset of ConfigurableColorDepths where values not supported by the connected display are removed. The values listed in AllowedColorDepths are the only ones that are guaranteed to work and also the only ones that are, in a normal setup, valid to set with the current output configuration. AllowedColorDepths will be empty if no display is connected to the output.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorDepth> (Or a single ToiVideoOutputConfiguration.ToiColorDepth.)
allowedColorLevels

Allowed color level values based on the current configuration and restrictions imposed by the display.

This is a subset of ConfigurableColorLevels where values not supported by the connected display are removed. The values listed in AllowedColorLevels are the only ones that are guaranteed to work and also the only ones that are, in a normal setup, valid to set with the current output configuration. AllowedColorLevels will be empty if no display is connected to the output.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorLevel> (Or a single ToiVideoOutputConfiguration.ToiColorLevel.)
allowedColorSpaces

Allowed color spaces based on the current configuration and restrictions imposed by the display.

This is a subset of ConfigurableColorSpaces where values not supported by the connected display are removed. The values listed in AllowedColorSpaces are the only ones that are guaranteed to work and also the only ones that are, in a normal setup, valid to set with the current output configuration. AllowedColorSpaces will be empty if no display is connected to the output.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorSpace> (Or a single ToiVideoOutputConfiguration.ToiColorSpace.)
allowedModes

Allowed modes based on the current configuration and restrictions imposed by the display.

This is a subset of ConfigurableModes where modes not supported by the connected display are removed. The modes listed in AllowedModes are the only ones that are guaranteed to work and also the only ones that are, in a normal setup, valid to set with the current output configuration. AllowedModes will be empty if no display is connected to the output.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiVideoMode> (Or a single ToiVideoOutputConfiguration.ToiVideoMode.)
allowedScanBehaviors

Allowed scan behavior values based on the current configuration and restrictions imposed by the display.

AllowedScanBehaviors will be empty if no display is connected to the output.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiScanBehavior> (Or a single ToiVideoOutputConfiguration.ToiScanBehavior.)
allowedSignalModes

Allowed signal modes based on the current configuration.

The DVI signaling-mode ToiVideoOutputConfiguration.HDMI_SIGNAL_MODE_DVI can only manage a subset of what HDMI is capable of outputting and is therefore the only mode that can be lacking from AllowedSignalModes.

Note: The AllowedSignalModes are not affected by the connected display.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiHdmiSignalMode> (Or a single ToiVideoOutputConfiguration.ToiHdmiSignalMode.)
aspectRatio

The current aspect ratio setting.

Type: ToiVideoOutputConfiguration.ToiAspectRatio
colorDepth

The current color depth setting.

Type: ToiVideoOutputConfiguration.ToiColorDepth
colorLevel

The current color level setting.

Type: ToiVideoOutputConfiguration.ToiColorLevel
colorSpace

The current color space setting.

Type: ToiVideoOutputConfiguration.ToiColorSpace
configurableColorDepths

Configurable color depth values based on the current configuration.

This is a a subset of all values that the hardware is capable of outputting (i.e. SupportedColorDepths) when taking into consideration the current output configuration.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorDepth> (Or a single ToiVideoOutputConfiguration.ToiColorDepth.)
configurableColorLevels

Configurable color level values based on the current configuration.

This is a a subset of all values that the hardware is capable of outputting (i.e. SupportedColorLevels) when taking into consideration the current output configuration.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorLevel> (Or a single ToiVideoOutputConfiguration.ToiColorLevel.)
configurableColorSpaces

Configurable color space values based on the current configuration.

This is a subset of all color spaces that the hardware is capable of outputting (i.e. SupportedColorSpaces) when taking into consideration the current output configuration.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorSpace> (Or a single ToiVideoOutputConfiguration.ToiColorSpace.)
configurableModes

Configurable modes based on the current configuration.

This is a a subset of all modes that the hardware is capable of outputting (i.e. SupportedModes) when taking into consideration the current output configuration. For example, ToiVideoOutputConfiguration.VIDEO_MODE_720P60 will not be in the list of available modes if a 50Hz PAL color system (like COLOR_SYSTEM_PAL_B) has previously been configured (with ToiVideoOutputConfigurationSession#configureColorSystem).

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiVideoMode> (Or a single ToiVideoOutputConfiguration.ToiVideoMode.)
configurableSignalModes

Configurable signal modes.

All the possible signal modes that can be selected if not taking into consideration the current output configuration.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiHdmiSignalMode> (Or a single ToiVideoOutputConfiguration.ToiHdmiSignalMode.)
mode

The current video mode setting.

Type: ToiVideoOutputConfiguration.ToiVideoMode
scanBehavior

The current scan behavior setting.

Type: ToiVideoOutputConfiguration.ToiScanBehavior
signalMode

The current signal mode setting.

Type: ToiVideoOutputConfiguration.ToiHdmiSignalMode
supportedColorDepths

Color depth values as supported by the hardware.

These are all values that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorDepth> (Or a single ToiVideoOutputConfiguration.ToiColorDepth.)
supportedColorLevels

Color level values as supported by the hardware.

These are all values that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorLevel> (Or a single ToiVideoOutputConfiguration.ToiColorLevel.)
supportedColorSpaces

Color space values as supported by the hardware.

These are all color spaces that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiColorSpace> (Or a single ToiVideoOutputConfiguration.ToiColorSpace.)
supportedModes

Video modes as supported by the hardware.

These are all modes that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiVideoMode> (Or a single ToiVideoOutputConfiguration.ToiVideoMode.)
supportedScanBehaviors

Scan behavior values as supported by the hardware.

These are all values that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiScanBehavior> (Or a single ToiVideoOutputConfiguration.ToiScanBehavior.)
supportedSignalModes

Signal modes supported by the hardware.

All the signal modes that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiHdmiSignalMode> (Or a single ToiVideoOutputConfiguration.ToiHdmiSignalMode.)

ToiScartOutputInfo (Type: struct) (static)

SCART output information.

Struct fields

Name Description
aspectRatio

The current aspect ratio setting.

Type: ToiVideoOutputConfiguration.ToiAspectRatio
configurableModes

Configurable SCART modes based on the current configuration.

This is a subset of all supported SCART modes that the hardware is capable of outputting (i.e. SupportedModes) when taking into consideration the current output configuration. The modes listed in ConfigurableModes are the only ones that are valid to set with current output configuration.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiScartMode> (Or a single ToiVideoOutputConfiguration.ToiScartMode.)
mode

The current SCART mode setting.

Type: ToiVideoOutputConfiguration.ToiScartMode
supportedModes

SCART modes as supported by the hardware.

These are all SCART modes that the hardware is capable of outputting.

Note that TOI always provides an Array, even if there is only a single value.

Type: Array.<ToiVideoOutputConfiguration.ToiScartMode> (Or a single ToiVideoOutputConfiguration.ToiScartMode.)

ToiVideoOutputInfo (Type: struct) (static)

Video output information.

The information is divided into a generic part and an connection type specific part.

Struct fields

Name Description
composite
[optional]

Composite output information. This will only be valid if the connection type is ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_COMPOSITE.

Type: ToiVideoOutputConfiguration.ToiCompositeOutputInfo
connectionType

The type of video connection.

Type: ToiVideoOutputConfiguration.ToiVideoConnectionType
hdmi
[optional]

HDMI output information. This will only be valid if the connection type is ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_HDMI.

Type: ToiVideoOutputConfiguration.ToiHdmiOutputInfo
id

Video output identifier.

Type: ToiVideoOutputConfiguration.ToiVideoOutputId
isEnabled

Defines whether output is enabled or not.

Type: boolean
outputType

The type of video output.

Type: ToiVideoOutputConfiguration.ToiVideoOutputType
scart
[optional]

SCART output information. This will only be valid if the connection type is ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_SCART.

Type: ToiVideoOutputConfiguration.ToiScartOutputInfo

Events

ON_COLOR_SYSTEM_CHANGED ( )

This is an Event identifier for ToiVideoOutputConfigurationColorSystemChangedEvent.

Value: 3802

ON_CONFIGURATION_CHANGED ( )

This is an Event identifier for ToiVideoOutputConfigurationConfigurationChangedEvent.

Value: 3800

ON_DISPLAY_CAPABILITIES_CHANGED ( )

This is an Event identifier for ToiVideoOutputConfigurationDisplayCapabilitiesChangedEvent.

Value: 3801

5.1.1.p8

Copyright (c) 2018 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.