Expand description
CUDA-facing device-output adapter for signinum-jpeg.
This crate intentionally exposes the same backend-selection surface as the Metal adapter. CPU requests return host-backed surfaces. Scalar auto requests stay on CPU, while full-tile batch auto requests may use nvJPEG when the CUDA runtime and library are available. Explicit CUDA requests return CUDA-backed surfaces or a clear unavailable error.
Structs§
- Codec
- Cuda
Session - Cuda
Surface - Cuda
Surface Stats - Decoder
- Decoder
Context - Shared decode context for WSI tile batches.
- Scratch
Pool - Pool of decoder-internal scratch buffers, reusable across many
Decoder::decode_into_with_scratch/decode_rows_with_scratchcalls. - Surface