Function Snpe_DlContainer_Open_With_DestinationHint¶
Defined in File DlContainer.h
Function Documentation¶
-
Snpe_DlContainer_Handle_t Snpe_DlContainer_Open_With_DestinationHint(const char *filename, const char *destinationDirectoryHint)¶
Initializes a container from a container archive file along with a hint where dlc will be saved.
- Parameters
filename – [in] Container archive file path.
destinationDirectoryHint – [in] Path to a directory where the dlc will be saved after changes.
- Returns
A Snpe_DlContainer_Handle_t to access the dlContainer
Note
When destinationDirectoryHint is null or invalid directory path, a null handle is returned.
Note
When empty string is passed as destinationDirectoryHint, the current working directory is used as the destination directory hint.
Note
This API is recommended only when the container is modified. The Save API determines the final path where the DLC will be saved.