GEV_STATUS GevTranslateRawPixelFormat

(UINT32 rawFormat, PUINT32 translatedFormat,
 PUINT32 bitDepth, PUINT32 order)

Description

Translates an input raw (GigE Vision) image format into information useful during image display.

Parameters

rawFormat

GigE Vision pixel data format.

translatedFormat

Simplified version of the format. Possible values are:

GEV_PIXEL_FORMAT_MONO, GEV_PIXEL_FORMAT_MONO_PACKED,

GEV_PIXEL_FORMAT_RGB, GEV_PIXEL_FORMAT_RGB_PACKED,

GEV_PIXEL_FORMAT_BAYER,  GEV_PIXEL_FORMAT_YUV,

GEV_PIXEL_FORMAT_RGB_PLANAR

bitDepth

Number of bits in a mono pixel or in each color channel..

order

Color channel order. Possible values are:

GEV_PIXEL_ORDER_NONE (for MONO and YUV)

GEV_PIXEL_ORDER_RGB,

GEV_PIXEL_ORDER_BGR,

GEV_PIXEL_ORDER_GRB,,

GEV_PIXEL_ORDER_GBR,

GEV_PIXEL_ORDER_RGB10V1 (a custom 10-bit RGB)

GEV_PIXEL_ORDER_RGB10V2  (a custom 10-bit RGB)

Return Value

BOOL

True/False (for the condition queried).

 

 

 

Related Topics

Utility Functions