nvtiffStreamCreate() """"""""""""""""""""""" Creates an instance of the bitstream handle. **Signature:** .. code-block:: cpp nvtiffStatus_t nvtiffStreamCreate(nvtiffStream_t *tiff_stream); **Parameters:** .. list-table:: :header-rows: 1 :widths: 15 10 10 20 * - Parameter - Input/Output - Memory - Description * - nvtiffStream_t *tiff_stream - Input/Output - Host - nvtiff bitstream handle **Returns:** :code:`nvtiffStatus_t` - An error code as specified in :ref:`nvtiffapireturncodesv2-label` nvtiffStreamDestroy() """"""""""""""""""""""""""" Releases the bitstream handle. **Signature:** .. code-block:: cpp nvtiffStatus_t nvtiffStreamDestroy(nvtiffStream_t stream_handle); **Parameters:** .. list-table:: :header-rows: 1 :widths: 15 10 10 20 * - Parameter - Input/Output - Memory - Description * - nvtiffStream_t stream_handle - Input - Host - nvtiff bitstream handle **Returns:** :code:`nvtiffStatus_t` - An error code as specified in :ref:`nvtiffapireturncodesv2-label` nvtiffDecoderCreateSimple() """"""""""""""""""""""""""" Creates an instance of the decoder handle with default memory allocators. **Signature:** .. code-block:: cpp nvtiffStatus_t nvtiffDecoderCreateSimple(nvtiffDecoder_t *decoder, cudaStream_t cuda_stream); **Parameters:** .. list-table:: :header-rows: 1 :widths: 15 10 10 20 * - Parameter - Input/Output - Memory - Description * - nvtiffDecoder_t *decoder - Input/Output - Host - nvtiff decoder handle * - cudaStream_t cuda_stream - Input - Host - Used for asynchronous CUDA API calls **Returns:** :code:`nvtiffStatus_t` - An error code as specified in :ref:`nvtiffapireturncodesv2-label` nvtiffDecoderCreate """""""""""""""""""" Creates an instance of the decoder handle. **Signature:** .. code-block:: cpp nvtiffStatus_t nvtiffDecoderCreate(nvtiffDecoder_t *decoder, nvtiffDeviceAllocator_t *device_allocator, nvtiffPinnedAllocator_t *pinned_allocator, cudaStream_t cuda_stream); **Parameters:** .. list-table:: :header-rows: 1 :widths: 15 10 10 20 * - Parameter - Input/Output - Memory - Description * - nvtiffDecoder_t *decoder - Input/Output - Host - nvtiff decoder handle * - nvtiffDeviceAllocator_t *device_allocator - Input - Host - User provided device memory allocator. If set to NULL, the library will fallback to cudaMalloc/cudaFree. * - nvtiffPinnedAllocator_t *pinned_allocator - Input - Host - User provided pinned memory allocator. If set to NULL, the library will fallback to cudaHostAlloc/cudaFreeHost. * - cudaStream_t cuda_stream - Input - Host - Used for asynchronous CUDA API calls **Returns:** :code:`nvtiffStatus_t` - An error code as specified in :ref:`nvtiffapireturncodesv2-label` nvtiffDecoderDestroy() """"""""""""""""""""""""""" Releases the decoder handle. **Signature:** .. code-block:: cpp nvtiffStatus_t nvtiffDecoderDestroy(nvtiffDecoder_t decoder, cudaStream_t cuda_stream); **Parameters:** .. list-table:: :header-rows: 1 :widths: 15 10 10 20 * - Parameter - Input/Output - Memory - Description * - nvtiffDecoder_t decoder - Input - Host - nvtiff decoder handle * - cudaStream_t cuda_stream - Input - Host - Used for asynchronous CUDA API calls **Returns:** :code:`nvtiffStatus_t` - An error code as specified in :ref:`nvtiffapireturncodesv2-label`