![]() |
IDS peak comfortC
v1.5.1
|
Functions | |
| peak_access_status | peak_Binning_GetAccessStatus (peak_camera_handle hCam) |
| Query the binning access status. More... | |
| peak_status | peak_Binning_FactorX_GetList (peak_camera_handle hCam, uint32_t *binningFactorXList, size_t *binningFactorXCount) |
| Get the list of currently selectable factors for the binning in x direction. More... | |
| peak_status | peak_Binning_FactorY_GetList (peak_camera_handle hCam, uint32_t *binningFactorYList, size_t *binningFactorYCount) |
| Get the list of currently selectable factors for the binning in y direction. More... | |
| peak_status | peak_Binning_Set (peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY) |
| Set the binning factors. More... | |
| peak_status | peak_Binning_Get (peak_camera_handle hCam, uint32_t *binningFactorX, uint32_t *binningFactorY) |
| Get the binning factors. More... | |
Pixel binning related functions and types.
| peak_status peak_Binning_FactorX_GetList | ( | peak_camera_handle | hCam, |
| uint32_t * | binningFactorXList, | ||
| size_t * | binningFactorXCount | ||
| ) |
Get the list of currently selectable factors for the binning in x direction.
Queries the list of currently selectable binning factors for the x direction.
The list of selectable binning factors may depend on the camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | binningFactorXList | Pointer to a user allocated array buffer to receive the binning factor list. If this parameter is NULL, binningFactorXCount will contain the current number of binning factors. The required size of binningFactorXList in bytes is binningFactorXCount x sizeof(uint32_t). |
| [in,out] | binningFactorXCount |
|
binningFactorXList is not NULL and the value of *binningFactorXCount is too small to receive the expected amount of data. binningFactorXCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Binning_FactorY_GetList | ( | peak_camera_handle | hCam, |
| uint32_t * | binningFactorYList, | ||
| size_t * | binningFactorYCount | ||
| ) |
Get the list of currently selectable factors for the binning in y direction.
Queries the list of currently selectable binning factors for the y direction.
The list of selectable binning factors may depend on the camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | binningFactorYList | Pointer to a user allocated array buffer to receive the binning factor list. If this parameter is NULL, binningFactorYCount will contain the current number of binning factors. The required size of binningFactorYList in bytes is binningFactorYCount x sizeof(uint32_t). |
| [in,out] | binningFactorYCount |
|
binningFactorYList is not NULL and the value of *binningFactorYCount is too small to receive the expected amount of data. binningFactorYCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Binning_Get | ( | peak_camera_handle | hCam, |
| uint32_t * | binningFactorX, | ||
| uint32_t * | binningFactorY | ||
| ) |
Get the binning factors.
Reads the current pixel binning factors.
| [in] | hCam | The camera handle. |
| [out] | binningFactorX | The binning factor in x direction. |
| [out] | binningFactorY | The binning factor in y direction. |
binningFactorX and/or binningFactorY are invalid pointers. hCam is an invalid camera handle. | peak_access_status peak_Binning_GetAccessStatus | ( | peak_camera_handle | hCam | ) |
Query the binning access status.
Provides the current access status for the binning feature.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
hCam is an invalid camera handle. | peak_status peak_Binning_Set | ( | peak_camera_handle | hCam, |
| uint32_t | binningFactorX, | ||
| uint32_t | binningFactorY | ||
| ) |
Set the binning factors.
Writes the desired pixel binning factors.
| [in] | hCam | The camera handle. |
| [in] | binningFactorX | The binning factor in x direction to set. |
| [in] | binningFactorY | The binning factor in y direction to set. |
binningFactorX and/or binningFactorY are out of range. Check the range of valid values via peak_Binning_FactorX_GetList and peak_Binning_FactorY_GetList. hCam is an invalid camera handle.