Function nvcvConfigSetMaxImageCount
Defined in File Config.h
Function Documentation
-
NVCVStatus nvcvConfigSetMaxImageCount(int32_t maxCount)
Set a hard limit on the number of image handles that can be created.
The function will preallocate all resources necessary to satisfy creation of a limited number of image handles in the future.
- Parameters:
maxCount – [in] Maximum number of image handles that can be created. If negative, switches to dynamic allocation, no hard limit is defined.
There must be no image handles created and not destroyed.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.
NVCV_SUCCESS – Operation executed successfully.