Destroy

Free all resources.

  1. Unregister NvSciSync objects.

    Unregister all registered NvSciSync objects using NvMediaDlaUnregisterNvSciSyncObj.

  2. Unregister data.

    Unregister all registered buffers using NvMediaDlaDataUnregister.

  3. Remove the loadable.

    Remove the loaded loadable from the instance with NvMediaDlaRemoveLoadable.

  4. Destroy the loadable handle.

    Destroy the created loadable handle with NvMediaDlaLoadableDestroy.

  5. Destroy the instance.

    Destroy the hardware engine instance using NvMediaDlaDestroy to free all resources.