Skip to main content

Crate j2k_transcode_metal

Crate j2k_transcode_metal 

Source
Expand description

Apple Metal GPU acceleration for Rust JPEG-to-J2K/HTJ2K transcode stages.

The supported targets are direct DCT-grid to one-level 5/3 and 9/7 wavelet projections used by j2k-transcode’s HTJ2K paths. CPU scalar code remains the oracle and fallback.

Structs§

MetalDctToWaveletStageAccelerator
Optional Metal accelerator for j2k-transcode transform stages.
MetalTranscodeSession
Placeholder Metal transcode session for hosts without Metal support.

Enums§

MetalTranscodeError
Error returned by the Metal transcode accelerator.

Constants§

METAL_UNAVAILABLE
Stable message returned when Metal is unavailable.