2 api functions, Api functions, 3g-sdi level b stream selection – Kramer Electronics VP-790 User Manual

Page 15: 2api functions, Byosdsdilevbstreamset, Byosdsdilevbstreamget

Advertising
background image

VP-790 Protocol –

API Functions

11

2

API Functions

APIs may have a “Get”, “Set” and “Save” function. “Get” reads values, “Set” writes
values into volatile RAM and “Save” writes values into the System Parameter
Database which is located in non-volatile Flash. E.g. setting the brightness by a
byOSDBrightnessSet API call will change the image brightness at runtime. After a
Scaler Board reset the (default) value stored in the SPD is used to initialize the
brightness setting. Thus, to restart the Scaler Board with the last brightness setting
it had to be stored into flash with a byOSDBrightnessSave API call.

2.1

9B

3G-SDI Level B Stream Selection

2.1.1

132B

byOsdSdiLevBStreamSet

API index: 3262
Selects Stream 1 or 2 of a 3G-SDI level B signal.

Input Parameters

Name

Type

Range

Description

Value

UWORD32

0: Stream 1

1: Stream 2

Stream select.

Return Values

Name

Type

Range

Description

Status

BYTE

0x00-0xFF

0 if successful, error code otherwise

2.1.2

133B

byOsdSdiLevBStreamGet

API index: 3263
Retrieves the Stream setting from cache or from the SPD.

Input Parameters

Name

Type

Range

Description

Option

BYTE

0: From cache

1: From SPD

Retrieval method

None

Return Values

Name

Type

Range

Description

Status

BYTE

0x00-0xFF

0 if successful, error code otherwise

Value

UWORD32

0: Stream 1

1: Stream 2

Stream select setting.

Advertising