Please enable JavaScript to view this site.

uEye DirectShow 4.97

Syntax

ImageFormat_GetList (void* pListFormats, UINT uiSize)

Description

Returns a list of all image formats supported by the sensor. You can query the number of entries in the list with ImageFormat_GetNumberOfEntries.

Parameter

pListFormats

Pointer to a lit of the IMAGE_FORMAT_LIST type in which the return value is written.

uiSize

Size of the list:

Size of (IMAGE_FORMAT_LIST + (number of list entries - 1) * Size of (IMAGE_FORMAT_INFO))

Contents of the IMAGE_FORMAT_LIST list of image formats

UINT

nSizeOfListEntry

Must be preset with the size of a list entry in bytes

UINT

nNumListElements

Must be preset with the number of list entries (from ImageFormat_GetNumberOfEntries)

UINT

nReserved[4]

Reserved

IMAGE_FORMAT_INFO

FormatInfo[0]

First entry in the list.

After having been filled, the list contains additional entries FormatInfo[1]…FormatInfo[nNumListElements-1].

Contents of the list entry IMAGE_FORMAT_INFO

INT

nFormatID

Format ID of the specified image format (see uEye manual)

UINT

nWidth

Width of the area of interest

UINT

nHeight

Height of the area of interest

INT

nX0

Start point of the area of interest (X)

INT

nY0

Start point of the area of interest (Y)

UINT

nSupportedCaptureModes

Image capture modes supported for this format:

CAPTMODE_SINGLE
Freerun mode, single frame (freerun snap)

CAPTMODE_FREERUN
Freerun mode, continuous (freerun live)

CAPTMODE_TRIGGER_SOFT_SINGLE
Software triggered mode, single frame

CAPTMODE_TRIGGER_SOFT_CONTINUOUS
Software triggered mode, continuous

CAPTMODE_TRIGGER_HW_SINGLE
Hardware triggered mode, single frame

CAPTMODE_TRIGGER_HW_CONTINUOUS
Hardware triggered mode, continuous

UINT

nBinningMode

Binning mode used

UINT

nSubsamplingMode

Subsampling mode used

IS_CHAR

strFormatName[64]

Description of the format

double

dSensorScalerFactor

Scaling factor used (only sensors that support scaling)

UINT

nReserved[24]

Reserved

Interface

IuEyeImageFormat

Related functions

ImageFormat_GetArbitraryAOISupported

ImageFormat_GetNumber

ImageFormat_SetFormat