2 image format functions, Image format functions – ADLINK PCIe-2602 User Manual

Page 26

Advertising
background image

16

Function Library

2.4.2

Image Format Functions

Sensor Format

Sets or retrieves image format of source input, with format

differing according to the input channel.

Syntax

C/C++

int Sdi_SetSensorFormat (UINT Number, UINT

Format)

int Sdi_GetSensorFormat (UINT Number, UINT

&Format)

C#

int SetSensorFormat (uint Number, uint Format)

int GetSensorFormat (uint Number, out uint

Format)

VB.Net

SetSensorFormat (ByVal Number as UInteger,

ByVal Format as UInteger) As Integer

GetSensorFormat (ByVal Number as UInteger,

ByRef Format as UInteger) As Integer

Parameter(s)

Number

The number of the SDI channel, with allowed values from 0

to 31.

Format

Source input format, with possible values of:

0: 525i 29.97/30 fps (720 x 486 interlace, in fps),

1: 625i 25 fps (720 x 576 interlace, in fps),

2: 720p 24 fps (1280 x 720 progressive),

3: 720p 25 fps (1280 x 720 progressive),

4: 720p 30 fps (1280 x 720 progressive),

5: 720p 50 fps (1280 x 720 progressive),

Advertising