![]() |
IDS peak comfortC v1.14.0
|
Functions | |
| peak_access_status | peak_DecimationManual_GetAccessStatus (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine) |
| Query the decimation manual access status. | |
| peak_status | peak_DecimationManual_FactorX_GetList (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *decimationFactorXList, size_t *decimationFactorXCount) |
| Get the list of currently selectable factors for the decimation in x direction. | |
| peak_status | peak_DecimationManual_FactorY_GetList (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *decimationFactorYList, size_t *decimationFactorYCount) |
| Get the list of currently selectable factors for the decimation in y direction. | |
| peak_status | peak_DecimationManual_Set (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t decimationFactorX, uint32_t decimationFactorY) |
| Set the decimation factors. | |
| peak_status | peak_DecimationManual_Get (peak_camera_handle hCam, peak_subsampling_engine subsamplingEngine, uint32_t *decimationFactorX, uint32_t *decimationFactorY) |
| Get the decimation factors. | |
Pixel decimation related functions and types.
Pixel decimation is also referred to as pixel skipping.
| peak_status peak_DecimationManual_FactorX_GetList | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t * | decimationFactorXList, | ||
| size_t * | decimationFactorXCount ) |
Get the list of currently selectable factors for the decimation in x direction.
Queries the list of currently selectable decimation factors in x direction for the given subsampling engine.
The list of selectable decimation 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. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [out] | decimationFactorXList | Pointer to a user allocated array buffer to receive the decimation factor list. If this parameter is NULL, decimationFactorXCount will contain the current number of decimation factors. The required size of decimationFactorXList in bytes is decimationFactorXCount x sizeof(uint32_t). |
| [in,out] | decimationFactorXCount |
|
decimationFactorXList is not NULL and the value of *decimationFactorXCount is too small to receive the expected amount of data. decimationFactorXCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_DecimationManual_FactorY_GetList | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t * | decimationFactorYList, | ||
| size_t * | decimationFactorYCount ) |
Get the list of currently selectable factors for the decimation in y direction.
Queries the list of currently selectable decimation factors in y direction for the given subsampling engine.
The list of selectable decimation 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. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [out] | decimationFactorYList | Pointer to a user allocated array buffer to receive the decimation factor list. If this parameter is NULL, decimationFactorYCount will contain the current number of decimation factors. The required size of decimationFactorYList in bytes is decimationFactorYCount x sizeof(uint32_t). |
| [in,out] | decimationFactorYCount |
|
decimationFactorYList is not NULL and the value of *decimationFactorYCount is too small to receive the expected amount of data. decimationFactorYCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_DecimationManual_Get | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t * | decimationFactorX, | ||
| uint32_t * | decimationFactorY ) |
Get the decimation factors.
Reads the current decimation factors for the given subsampling engine.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [out] | decimationFactorX | The decimation factor in x direction. |
| [out] | decimationFactorY | The decimation factor in y direction. |
decimationFactorX and/or decimationFactorY are invalid pointers. hCam is an invalid camera handle. | peak_access_status peak_DecimationManual_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine ) |
Query the decimation manual access status.
Provides the current access status for the decimation feature 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:
hCam is an invalid camera handle. | peak_status peak_DecimationManual_Set | ( | peak_camera_handle | hCam, |
| peak_subsampling_engine | subsamplingEngine, | ||
| uint32_t | decimationFactorX, | ||
| uint32_t | decimationFactorY ) |
Set the decimation factors.
Writes the desired decimation factors for the given subsampling engine.
| [in] | hCam | The camera handle. |
| [in] | subsamplingEngine | The engine for the subsampling algorithm. |
| [in] | decimationFactorX | The decimation factor in x direction to set. |
| [in] | decimationFactorY | The decimation factor in y direction to set. |
decimationFactorX and/or decimationFactorY are out of range. Check the range of valid values via peak_DecimationManual_FactorX_GetList and peak_DecimationManual_FactorY_GetList. hCam is an invalid camera handle.