GenICam_SDK.docx
28
4.7 Helper functions
csiBitsPerPixelFromFormat
Syntax
unsigned char csiBitsPerPixelFromFormat(const csiPixelFormat format)
Parameters:
In: format
Out:
Return value:
Returns the number of bits per pixels for the given pixel format or an error defined in the csiErr-Enum.
Comment:
csiGetErrorDescription
Returns a human readable description of an error code
Syntax
csiErr csiGetErrorDescription(csiErr error, char* bufferOut, size_t bufferSize)
Parameters:
In: error:
error code to retrieve the text for
bufferSize: size of the provided text buffer
Out: bufferOut: char-buffer where the error text will be written to
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment: