USB 2.0 USB 3.x GigE |
- |
Syntax
INT isavi_AddFrame (INT nAviID, char* pcImageMem)
Description
isavi_AddFrame() adds a new frame to an AVI sequence.
Input parameters
nAviID |
Instance ID set by the isavi_InitAVI() function |
pcImageMem |
Pointer to the memory containing the image. |
Return values
IS_AVI_NO_ERR |
No error, function executed successfully. |
IS_AVI_ERR_INVALID_ID |
The indicated AVI instance could not be found. Either the AVI ID is invalid or the instance has already been deleted using isavi_ExitAVI(). |
IS_AVI_ERR_COMPRESS |
The last image compression failed. |
IS_AVI_ERR_COMPRESSION_RUN |
The current image could not be processed since compression is still in progress. |
IS_AVI_ERR_INVALID_FILE |
The file has no valid AVI format. |
Related functions