![]() |
IDS peak comfortC v1.8.0
|
Functions | |
| peak_status | peak_Acquisition_Buffer_GetRequiredSize (peak_camera_handle hCam, size_t *requiredBufferSize) |
| Query the required image buffer size. | |
| peak_status | peak_Acquisition_Buffer_GetRequiredCount (peak_camera_handle hCam, size_t *requiredBufferCount) |
| Query the required image buffer count. | |
| peak_status | peak_Acquisition_Buffer_Announce (peak_camera_handle hCam, uint8_t *memoryAddress, size_t memorySize, void *userContext) |
| Announce an image buffer. | |
| peak_status | peak_Acquisition_Buffer_Revoke (peak_camera_handle hCam, uint8_t *memoryAddress) |
| Revoke an image buffer. | |
| peak_status | peak_Acquisition_Buffer_RevokeAll (peak_camera_handle hCam) |
| Revoke all image buffers. | |
Manual buffer preparation related functions and types.
For a description of the libraries manual buffer preparation concept see Manual Buffer Preparation.
| peak_status peak_Acquisition_Buffer_Announce | ( | peak_camera_handle | hCam, |
| uint8_t * | memoryAddress, | ||
| size_t | memorySize, | ||
| void * | userContext | ||
| ) |
Announce an image buffer.
Announces a user-allocated buffer for the receival of image data.
This function must be used only if Manual Buffer Preparation is desired.
As long as there is at least one buffer announced via peak_Acquisition_Buffer_Announce the implementation will completely rely on user-allocated buffers.
Call peak_Acquisition_Buffer_Revoke to revoke an announced buffer from the implementation.
| [in] | hCam | The camera handle. |
| [in] | memoryAddress | The memory address at which the buffer starts. |
| [in] | memorySize | The size of allocated buffer memory. |
| [in] | userContext | User context pointer. The user context allows to bind a pointer to a data object to the buffer. NULL if not used. |
memoryAddress is an invalid pointer and/or memorySize is 0. hCam is an invalid camera handle. | peak_status peak_Acquisition_Buffer_GetRequiredCount | ( | peak_camera_handle | hCam, |
| size_t * | requiredBufferCount | ||
| ) |
Query the required image buffer count.
Provides the number of buffers that is required for an image acquisition.
| [in] | hCam | The camera handle. |
| [out] | requiredBufferCount | The required number of buffer. |
requiredBufferCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Acquisition_Buffer_GetRequiredSize | ( | peak_camera_handle | hCam, |
| size_t * | requiredBufferSize | ||
| ) |
Query the required image buffer size.
Provides the buffer size that is required to receive the image data that results from the current feature configuration.
| [in] | hCam | The camera handle. |
| [out] | requiredBufferSize | The required buffer size in bytes. |
requiredBufferSize is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Acquisition_Buffer_Revoke | ( | peak_camera_handle | hCam, |
| uint8_t * | memoryAddress | ||
| ) |
Revoke an image buffer.
Revokes a previously announced buffer.
This function must be used only if Manual Buffer Preparation is desired.
Call peak_Acquisition_Buffer_Announce to announce a buffer to the implementation.
| [in] | hCam | The camera handle. |
| [in] | memoryAddress | The memory address at which the buffer starts. |
memoryAddress is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_Acquisition_Buffer_RevokeAll | ( | peak_camera_handle | hCam | ) |
Revoke all image buffers.
Revokes all previously announced buffers.
This function must be used only if Manual Buffer Preparation is desired.
Call peak_Acquisition_Buffer_Announce to announce a buffer to the implementation.
| [in] | hCam | The camera handle. |
hCam is an invalid camera handle.