Genlock related values
[Constants and Definitions]


Defines

#define ADL_GLSYNC_PORT_UNKNOWN   0
 Unknown port of GL-Sync module.
#define ADL_GLSYNC_PORT_BNC   1
 BNC port of of GL-Sync module.
#define ADL_GLSYNC_PORT_RJ45PORT1   2
 RJ45(1) port of of GL-Sync module.
#define ADL_GLSYNC_PORT_RJ45PORT2   3
 RJ45(2) port of of GL-Sync module.
#define ADL_GLSYNC_CONFIGMASK_NONE   0
 None of the ADLGLSyncGenlockConfig members are valid.
#define ADL_GLSYNC_CONFIGMASK_SIGNALSOURCE   (1 << 0)
 The ADLGLSyncGenlockConfig.lSignalSource member is valid.
#define ADL_GLSYNC_CONFIGMASK_SYNCFIELD   (1 << 1)
 The ADLGLSyncGenlockConfig.iSyncField member is valid.
#define ADL_GLSYNC_CONFIGMASK_SAMPLERATE   (1 << 2)
 The ADLGLSyncGenlockConfig.iSampleRate member is valid.
#define ADL_GLSYNC_CONFIGMASK_SYNCDELAY   (1 << 3)
 The ADLGLSyncGenlockConfig.lSyncDelay member is valid.
#define ADL_GLSYNC_CONFIGMASK_TRIGGEREDGE   (1 << 4)
 The ADLGLSyncGenlockConfig.iTriggerEdge member is valid.
#define ADL_GLSYNC_CONFIGMASK_SCANRATECOEFF   (1 << 5)
 The ADLGLSyncGenlockConfig.iScanRateCoeff member is valid.
#define ADL_GLSYNC_CONFIGMASK_FRAMELOCKCNTL   (1 << 6)
 The ADLGLSyncGenlockConfig.lFramelockCntlVector member is valid.
#define ADL_GLSYNC_FRAMELOCKCNTL_NONE   0
 Framelock is disabled.
#define ADL_GLSYNC_FRAMELOCKCNTL_ENABLE   ( 1 << 0)
 Framelock is enabled.
#define ADL_GLSYNC_FRAMELOCKCNTL_DISABLE   ( 1 << 1)
#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_RESET   ( 1 << 2)
#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_ACK   ( 1 << 3)
#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_ENABLE   ( 1 << 0)
#define ADL_GLSYNC_COUNTER_SWAP   ( 1 << 0 )
#define ADL_GLSYNC_SIGNALSOURCE_UNDEFINED   0x00000100
 GL-Sync signal source is undefined.
#define ADL_GLSYNC_SIGNALSOURCE_FREERUN   0x00000101
 GL-Sync signal source is Free Run.
#define ADL_GLSYNC_SIGNALSOURCE_BNCPORT   0x00000102
 GL-Sync signal source is the BNC GL-Sync port.
#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT1   0x00000103
 GL-Sync signal source is the RJ45(1) GL-Sync port.
#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT2   0x00000104
 GL-Sync signal source is the RJ45(2) GL-Sync port.
#define ADL_GLSYNC_SIGNALTYPE_UNDEFINED   0
 GL-Sync signal type is unknown.
#define ADL_GLSYNC_SIGNALTYPE_480I   1
 GL-Sync signal type is 480I.
#define ADL_GLSYNC_SIGNALTYPE_576I   2
 GL-Sync signal type is 576I.
#define ADL_GLSYNC_SIGNALTYPE_480P   3
 GL-Sync signal type is 480P.
#define ADL_GLSYNC_SIGNALTYPE_576P   4
 GL-Sync signal type is 576P.
#define ADL_GLSYNC_SIGNALTYPE_720P   5
 GL-Sync signal type is 720P.
#define ADL_GLSYNC_SIGNALTYPE_1080P   6
 GL-Sync signal type is 1080P.
#define ADL_GLSYNC_SIGNALTYPE_1080I   7
 GL-Sync signal type is 1080I.
#define ADL_GLSYNC_SIGNALTYPE_SDI   8
 GL-Sync signal type is SDI.
#define ADL_GLSYNC_SIGNALTYPE_TTL   9
 GL-Sync signal type is TTL.
#define ADL_GLSYNC_SIGNALTYPE_ANALOG   10
 GL_Sync signal type is Analog.
#define ADL_GLSYNC_SYNCFIELD_UNDEFINED   0
 GL-Sync sync field option is undefined.
#define ADL_GLSYNC_SYNCFIELD_BOTH   1
 GL-Sync sync field option is Sync to Field 1 (used for Interlaced signal types).
#define ADL_GLSYNC_SYNCFIELD_1   2
 GL-Sync sync field option is Sync to Both fields (used for Interlaced signal types).
#define ADL_GLSYNC_TRIGGEREDGE_UNDEFINED   0
 GL-Sync trigger edge is undefined.
#define ADL_GLSYNC_TRIGGEREDGE_RISING   1
 GL-Sync trigger edge is the rising edge.
#define ADL_GLSYNC_TRIGGEREDGE_FALLING   2
 GL-Sync trigger edge is the falling edge.
#define ADL_GLSYNC_TRIGGEREDGE_BOTH   3
 GL-Sync trigger edge is both the rising and the falling edge.
#define ADL_GLSYNC_SCANRATECOEFF_UNDEFINED   0
 GL-Sync scan rate coefficient/multiplier is undefined.
#define ADL_GLSYNC_SCANRATECOEFF_x5   1
 GL-Sync scan rate coefficient/multiplier is 5.
#define ADL_GLSYNC_SCANRATECOEFF_x4   2
 GL-Sync scan rate coefficient/multiplier is 4.
#define ADL_GLSYNC_SCANRATECOEFF_x3   3
 GL-Sync scan rate coefficient/multiplier is 3.
#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_2   4
 GL-Sync scan rate coefficient/multiplier is 5:2 (SMPTE).
#define ADL_GLSYNC_SCANRATECOEFF_x2   5
 GL-Sync scan rate coefficient/multiplier is 2.
#define ADL_GLSYNC_SCANRATECOEFF_x3_DIV_2   6
 GL-Sync scan rate coefficient/multiplier is 3 : 2.
#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_4   7
 GL-Sync scan rate coefficient/multiplier is 5 : 4.
#define ADL_GLSYNC_SCANRATECOEFF_x1   8
 GL-Sync scan rate coefficient/multiplier is 1 (default).
#define ADL_GLSYNC_SCANRATECOEFF_x4_DIV_5   9
 GL-Sync scan rate coefficient/multiplier is 4 : 5.
#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_3   10
 GL-Sync scan rate coefficient/multiplier is 2 : 3.
#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_2   11
 GL-Sync scan rate coefficient/multiplier is 1 : 2.
#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_5   12
 GL-Sync scan rate coefficient/multiplier is 2 : 5 (SMPTE).
#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_3   13
 GL-Sync scan rate coefficient/multiplier is 1 : 3.
#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_4   14
 GL-Sync scan rate coefficient/multiplier is 1 : 4.
#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_5   15
 GL-Sync scan rate coefficient/multiplier is 1 : 5.
#define ADL_GLSYNC_PORTSTATE_UNDEFINED   0
 GL-Sync port state is undefined.
#define ADL_GLSYNC_PORTSTATE_NOCABLE   1
 GL-Sync port is not connected.
#define ADL_GLSYNC_PORTSTATE_IDLE   2
 GL-Sync port is Idle.
#define ADL_GLSYNC_PORTSTATE_INPUT   3
 GL-Sync port has an Input signal.
#define ADL_GLSYNC_PORTSTATE_OUTPUT   4
 GL-Sync port is Output.
#define ADL_GLSYNC_LEDTYPE_BNC   0
 Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the one LED of the BNC port.
#define ADL_GLSYNC_LEDTYPE_RJ45_LEFT   0
 Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Left LED of the RJ45(1) or RJ45(2) port.
#define ADL_GLSYNC_LEDTYPE_RJ45_RIGHT   1
 Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Right LED of the RJ45(1) or RJ45(2) port.
#define ADL_GLSYNC_LEDCOLOR_UNDEFINED   0
 GL-Sync LED undefined color.
#define ADL_GLSYNC_LEDCOLOR_NOLIGHT   1
 GL-Sync LED is unlit.
#define ADL_GLSYNC_LEDCOLOR_YELLOW   2
 GL-Sync LED is yellow.
#define ADL_GLSYNC_LEDCOLOR_RED   3
 GL-Sync LED is red.
#define ADL_GLSYNC_LEDCOLOR_GREEN   4
 GL-Sync LED is green.
#define ADL_GLSYNC_LEDCOLOR_FLASH_GREEN   5
 GL-Sync LED is flashing green.
#define ADL_GLSYNC_PORTCNTL_NONE   0x00000000
 Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Idle.
#define ADL_GLSYNC_PORTCNTL_OUTPUT   0x00000001
 Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Output.
#define ADL_GLSYNC_MODECNTL_NONE   0x00000000
 Used to configure the display to use internal timing (not genlocked).
#define ADL_GLSYNC_MODECNTL_GENLOCK   0x00000001
 Bitfield used to configure the display as genlocked (either as Timing Client or as Timing Server).
#define ADL_GLSYNC_MODECNTL_TIMINGSERVER   0x00000002
 Bitfield used to configure the display as Timing Server.
#define ADL_GLSYNC_MODECNTL_STATUS_NONE   0x00000000
 Display is currently not genlocked.
#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK   0x00000001
 Display is currently genlocked.
#define ADL_GLSYNC_MODECNTL_STATUS_SETMODE_REQUIRED   0x00000002
 Display requires a mode switch.
#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK_ALLOWED   0x00000004
 Display is capable of being genlocked.
#define ADL_MAX_GLSYNC_PORTS   8
#define ADL_MAX_GLSYNC_PORT_LEDS   8

Detailed Description

GL-Sync port types (unique values)

Define Documentation

#define ADL_GLSYNC_PORT_UNKNOWN   0

Unknown port of GL-Sync module.

#define ADL_GLSYNC_PORT_BNC   1

BNC port of of GL-Sync module.

#define ADL_GLSYNC_PORT_RJ45PORT1   2

RJ45(1) port of of GL-Sync module.

#define ADL_GLSYNC_PORT_RJ45PORT2   3

RJ45(2) port of of GL-Sync module.

#define ADL_GLSYNC_CONFIGMASK_NONE   0

None of the ADLGLSyncGenlockConfig members are valid.

#define ADL_GLSYNC_CONFIGMASK_SIGNALSOURCE   (1 << 0)

The ADLGLSyncGenlockConfig.lSignalSource member is valid.

#define ADL_GLSYNC_CONFIGMASK_SYNCFIELD   (1 << 1)

The ADLGLSyncGenlockConfig.iSyncField member is valid.

#define ADL_GLSYNC_CONFIGMASK_SAMPLERATE   (1 << 2)

The ADLGLSyncGenlockConfig.iSampleRate member is valid.

#define ADL_GLSYNC_CONFIGMASK_SYNCDELAY   (1 << 3)

The ADLGLSyncGenlockConfig.lSyncDelay member is valid.

#define ADL_GLSYNC_CONFIGMASK_TRIGGEREDGE   (1 << 4)

#define ADL_GLSYNC_CONFIGMASK_SCANRATECOEFF   (1 << 5)

#define ADL_GLSYNC_CONFIGMASK_FRAMELOCKCNTL   (1 << 6)

The ADLGLSyncGenlockConfig.lFramelockCntlVector member is valid.

#define ADL_GLSYNC_FRAMELOCKCNTL_NONE   0

Framelock is disabled.

#define ADL_GLSYNC_FRAMELOCKCNTL_ENABLE   ( 1 << 0)

Framelock is enabled.

#define ADL_GLSYNC_FRAMELOCKCNTL_DISABLE   ( 1 << 1)

#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_RESET   ( 1 << 2)

#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_ACK   ( 1 << 3)

#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_ENABLE   ( 1 << 0)

#define ADL_GLSYNC_COUNTER_SWAP   ( 1 << 0 )

#define ADL_GLSYNC_SIGNALSOURCE_UNDEFINED   0x00000100

GL-Sync signal source is undefined.

#define ADL_GLSYNC_SIGNALSOURCE_FREERUN   0x00000101

GL-Sync signal source is Free Run.

#define ADL_GLSYNC_SIGNALSOURCE_BNCPORT   0x00000102

GL-Sync signal source is the BNC GL-Sync port.

#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT1   0x00000103

GL-Sync signal source is the RJ45(1) GL-Sync port.

#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT2   0x00000104

GL-Sync signal source is the RJ45(2) GL-Sync port.

#define ADL_GLSYNC_SIGNALTYPE_UNDEFINED   0

GL-Sync signal type is unknown.

#define ADL_GLSYNC_SIGNALTYPE_480I   1

GL-Sync signal type is 480I.

#define ADL_GLSYNC_SIGNALTYPE_576I   2

GL-Sync signal type is 576I.

#define ADL_GLSYNC_SIGNALTYPE_480P   3

GL-Sync signal type is 480P.

#define ADL_GLSYNC_SIGNALTYPE_576P   4

GL-Sync signal type is 576P.

#define ADL_GLSYNC_SIGNALTYPE_720P   5

GL-Sync signal type is 720P.

#define ADL_GLSYNC_SIGNALTYPE_1080P   6

GL-Sync signal type is 1080P.

#define ADL_GLSYNC_SIGNALTYPE_1080I   7

GL-Sync signal type is 1080I.

#define ADL_GLSYNC_SIGNALTYPE_SDI   8

GL-Sync signal type is SDI.

#define ADL_GLSYNC_SIGNALTYPE_TTL   9

GL-Sync signal type is TTL.

#define ADL_GLSYNC_SIGNALTYPE_ANALOG   10

GL_Sync signal type is Analog.

#define ADL_GLSYNC_SYNCFIELD_UNDEFINED   0

GL-Sync sync field option is undefined.

#define ADL_GLSYNC_SYNCFIELD_BOTH   1

GL-Sync sync field option is Sync to Field 1 (used for Interlaced signal types).

#define ADL_GLSYNC_SYNCFIELD_1   2

GL-Sync sync field option is Sync to Both fields (used for Interlaced signal types).

#define ADL_GLSYNC_TRIGGEREDGE_UNDEFINED   0

GL-Sync trigger edge is undefined.

#define ADL_GLSYNC_TRIGGEREDGE_RISING   1

GL-Sync trigger edge is the rising edge.

#define ADL_GLSYNC_TRIGGEREDGE_FALLING   2

GL-Sync trigger edge is the falling edge.

#define ADL_GLSYNC_TRIGGEREDGE_BOTH   3

GL-Sync trigger edge is both the rising and the falling edge.

#define ADL_GLSYNC_SCANRATECOEFF_UNDEFINED   0

GL-Sync scan rate coefficient/multiplier is undefined.

#define ADL_GLSYNC_SCANRATECOEFF_x5   1

GL-Sync scan rate coefficient/multiplier is 5.

#define ADL_GLSYNC_SCANRATECOEFF_x4   2

GL-Sync scan rate coefficient/multiplier is 4.

#define ADL_GLSYNC_SCANRATECOEFF_x3   3

GL-Sync scan rate coefficient/multiplier is 3.

#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_2   4

GL-Sync scan rate coefficient/multiplier is 5:2 (SMPTE).

#define ADL_GLSYNC_SCANRATECOEFF_x2   5

GL-Sync scan rate coefficient/multiplier is 2.

#define ADL_GLSYNC_SCANRATECOEFF_x3_DIV_2   6

GL-Sync scan rate coefficient/multiplier is 3 : 2.

#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_4   7

GL-Sync scan rate coefficient/multiplier is 5 : 4.

#define ADL_GLSYNC_SCANRATECOEFF_x1   8

GL-Sync scan rate coefficient/multiplier is 1 (default).

#define ADL_GLSYNC_SCANRATECOEFF_x4_DIV_5   9

GL-Sync scan rate coefficient/multiplier is 4 : 5.

#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_3   10

GL-Sync scan rate coefficient/multiplier is 2 : 3.

#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_2   11

GL-Sync scan rate coefficient/multiplier is 1 : 2.

#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_5   12

GL-Sync scan rate coefficient/multiplier is 2 : 5 (SMPTE).

#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_3   13

GL-Sync scan rate coefficient/multiplier is 1 : 3.

#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_4   14

GL-Sync scan rate coefficient/multiplier is 1 : 4.

#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_5   15

GL-Sync scan rate coefficient/multiplier is 1 : 5.

#define ADL_GLSYNC_PORTSTATE_UNDEFINED   0

GL-Sync port state is undefined.

#define ADL_GLSYNC_PORTSTATE_NOCABLE   1

GL-Sync port is not connected.

#define ADL_GLSYNC_PORTSTATE_IDLE   2

GL-Sync port is Idle.

#define ADL_GLSYNC_PORTSTATE_INPUT   3

GL-Sync port has an Input signal.

#define ADL_GLSYNC_PORTSTATE_OUTPUT   4

GL-Sync port is Output.

#define ADL_GLSYNC_LEDTYPE_BNC   0

Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the one LED of the BNC port.

#define ADL_GLSYNC_LEDTYPE_RJ45_LEFT   0

Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Left LED of the RJ45(1) or RJ45(2) port.

#define ADL_GLSYNC_LEDTYPE_RJ45_RIGHT   1

Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Right LED of the RJ45(1) or RJ45(2) port.

#define ADL_GLSYNC_LEDCOLOR_UNDEFINED   0

GL-Sync LED undefined color.

#define ADL_GLSYNC_LEDCOLOR_NOLIGHT   1

GL-Sync LED is unlit.

#define ADL_GLSYNC_LEDCOLOR_YELLOW   2

GL-Sync LED is yellow.

#define ADL_GLSYNC_LEDCOLOR_RED   3

GL-Sync LED is red.

#define ADL_GLSYNC_LEDCOLOR_GREEN   4

GL-Sync LED is green.

#define ADL_GLSYNC_LEDCOLOR_FLASH_GREEN   5

GL-Sync LED is flashing green.

#define ADL_GLSYNC_PORTCNTL_NONE   0x00000000

Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Idle.

#define ADL_GLSYNC_PORTCNTL_OUTPUT   0x00000001

Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Output.

#define ADL_GLSYNC_MODECNTL_NONE   0x00000000

Used to configure the display to use internal timing (not genlocked).

#define ADL_GLSYNC_MODECNTL_GENLOCK   0x00000001

Bitfield used to configure the display as genlocked (either as Timing Client or as Timing Server).

#define ADL_GLSYNC_MODECNTL_TIMINGSERVER   0x00000002

Bitfield used to configure the display as Timing Server.

#define ADL_GLSYNC_MODECNTL_STATUS_NONE   0x00000000

Display is currently not genlocked.

#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK   0x00000001

Display is currently genlocked.

#define ADL_GLSYNC_MODECNTL_STATUS_SETMODE_REQUIRED   0x00000002

Display requires a mode switch.

#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK_ALLOWED   0x00000004

Display is capable of being genlocked.

#define ADL_MAX_GLSYNC_PORTS   8

#define ADL_MAX_GLSYNC_PORT_LEDS   8


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer