GetNitoMetadataFromMemory Function Input Parameters
The input parameters for the GetNitoMetadataFromMemory
function are:
-
nitoMem
- Pointer to the memory buffer loaded with NITO file contents. -
nitoMemLength
- Integer indicating memory buffer length -
metadataArrayLength
- Integer indicating length of output NvSIPLNitoMetadata struct array.
Input Parameter Restrictions
- This function can only read NITO content from memory buffers. The user must provide functionality to copy NITO data from other containers (for example, files) into memory before using this API.
- The length specified by
nitoMemLength
for the output NvSIPLNitoMetadata struct array must be greater than or equal to the number of parameter set(s) in the NITO buffer. The API will return the error NVSIPL_STATUS_BAD_ARGUMENT if themetadataArray
cannot store all retrieved metadata tuples. - The API performs standard input parameter checks, such as null pointers and greater than 0 (zero) length.