UNIT32 GetX11DisplayablePixelFormat

(int convertBayer, UINT32 rawGevPixelFormat,
 UINT32 *convertedGevPixelFormat,
 UINT32 displayableSaperaPixelFormat);

Description

Returns the converted pixel type that allows the input GigE Vision pixel type to be displayed after a conversion has been applied to it. If convertBayer is 1 (True), any Bayer input formats return a color pixel format.

Currently, all Bayer formats converted for display use format fmtBayerBGRA8 due to a legacy implementation in the display helper functions.

Parameters

rawGevPixelFormat

Input GigE Vision pixel data format.

convertedGevPixelFormat

Returned GigE Vision pixel format reflecting any conversion performed during frame acquisition (e.g. unpacking, etc…).

displayableSaperaPixelFormat

Returned pixel format displayable by the X11 utilities shared with our SaperaLT API.

Return Value

UINT32

Always 0.

Related Topics

Appendix B: Helper Functions