Expand description
CUDA acceleration for coefficient-domain JPEG to HTJ2K transcode stages.
Mirrors signinum-transcode-metal: it implements
DctToWaveletStageAccelerator for direct DCT-grid to one-level 5/3 and 9/7
wavelet projections (and the fused 9/7 HTJ2K code-block path), so JPEG can be
transcoded to HTJ2K without an IDCT->pixels->DWT spatial round-trip. The CPU
scalar code in signinum-transcode remains the oracle and fallback; this
crate never reimplements it.
The actual GPU kernels live in signinum-cuda-runtime (the repo keeps all
.cu + build.rs PTX there). The GPU path is gated behind the
cuda-runtime feature; without it this accelerator behaves like Metal’s
non-macOS path (Explicit -> typed Err, Auto -> Ok(None) scalar fallback).
Structs§
- Cuda
DctTo Wavelet Stage Accelerator - Optional CUDA accelerator for
signinum-transcodetransform stages.
Enums§
- Cuda
Transcode Error - Error returned by the CUDA transcode accelerator.
Constants§
- CUDA_
UNAVAILABLE - Stable message returned when the CUDA runtime is unavailable (feature not compiled, no device, or the transcode kernels were not built).