VGA Out

class vgaOut.VgaOut[source]

Bases: object

Implements the methods available for a DATAPixx 1.

name

definition

isVideoHorizontalOverlayEnabled()[source]

Returns the video horizontal overlay mode state.

Returns:

True if the left/right halves of the video image are being overlayed. False otherwise

Return type:

enable (Bool)

isVideoHorizontalSplitEnabled()[source]

Returns the video horizontal split mode state.

Returns:

True if video is being split across the two VGA outputs. False otherwise

Return type:

enable (Bool)

isVideoVerticalStereoEnabled()[source]

Returns the video vertical stereo mode state.

Returns:

True if stereo mode is enabled. False otherwise

Return type:

enable (Bool)

setVideoHorizontalOverlay(enable=None)[source]

Sets the Video horizontal overlay mode.

VGA 1 and VGA 2 both show an overlay composite of the left/right halves of the video image. Horizontal overlay is disabled

Parameters:

enable (Bool) – True to enable the horizontal overlay, false to disable it.

setVideoHorizontalSplit(enable=None)[source]

Sets the Video horizontal split mode.

When this feature is enabled, VGA 1 shows left half of video image while VGA 2 shows right half of video image. The two VGA outputs are perfectly synchronized. When this feature is disabled, VGA 1 and VGA 2 both show the entire video image (hardware video mirroring). The device can also be set to automatically split video across the two VGA outputs if the horizontal resolution is at least twice the vertical resolution. This is considered as the automatic mode or default mode.

Parameters:

enable (Bool, optional) – True to enable the horizontal split, false to disable it. When no argument is passed, automatic mode is set.

setVideoVerticalStereo(enable=None)[source]

Sets the Video vertical stereo mode.

When this feature is enabled, the top/bottom halves of the input image are output in two sequential video frames. VESA L/R output is set to 1 when first frame (left eye) is displayed, and set to 0 when second frame (right eye) is displayed.

When this feature is disabled, the images are displayed normally. The device can also enable vertical stereo automatically if vertical resolution > horizontal resolution. This is considered as the automatic mode or default mode.

Parameters:

enable (Bool) – True to enable the vertical stereo mode, false to disable it. When no argument is passed, automatic mode is set.