Functions | |
| peak_access_status | peak_BinningManual_GetAccessStatus (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine) |
| Query the binning manual access status. | |
| peak_status | peak_BinningManual_FactorX_GetList (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *binningFactorXList, size_t *binningFactorXCount) |
| Get the list of currently selectable factors for the binning in x direction. | |
| peak_status | peak_BinningManual_FactorY_GetList (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *binningFactorYList, size_t *binningFactorYCount) |
| Get the list of currently selectable factors for the binning in y direction. | |
| peak_status | peak_BinningManual_Set (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t binningFactorX, uint32_t binningFactorY) |
| Set the binning factors. | |
| peak_status | peak_BinningManual_Get (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *binningFactorX, uint32_t *binningFactorY) |
| Get the binning factors. | |
Pixel binning related functions and types.
| peak_status peak_BinningManual_FactorX_GetList | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| 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 in x direction for the given subsampling engine.
The list of selectable binning factors may depend on the subsampling engine, the camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [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_BinningManual_FactorY_GetList | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| 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 in y direction for the given subsampling engine.
The list of selectable binning factors may depend on the subsampling engine, camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [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_BinningManual_Get | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t * | binningFactorX, | ||
| uint32_t * | binningFactorY ) |
Get the binning factors.
Reads the current binning factors for the given subsampling engine.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [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_BinningManual_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine ) |
Query the binning manual access status.
Provides the current access status for the given subsampling engine.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
| peak_status peak_BinningManual_Set | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t | binningFactorX, | ||
| uint32_t | binningFactorY ) |
Set the binning factors.
Writes the desired binning factors for the given subsampling engine.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [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_BinningManual_FactorX_GetList and peak_BinningManual_FactorY_GetList. hCam is an invalid camera handle.