GPU JPEG2000 Rust

GPU JPEG2000 Rust

J2K keeps CPU decode and encode as the correctness baseline while exposing CUDA and Apple Metal GPU adapters for supported JPEG 2000 / HTJ2K paths.

GPU JPEG2000 Rust backend map

CPU baseline

Portable CPU paths remain available for general JPEG 2000 / HTJ2K application code.

CUDA

j2k-cuda, j2k-jpeg-cuda, and j2k-transcode-cuda integrate NVIDIA device surfaces and kernels for supported shapes.

Metal

j2k-metal, j2k-jpeg-metal, and j2k-transcode-metal integrate Apple Metal-backed paths on macOS.

Strict backend behavior

BackendRequest::Auto may choose CPU for unsupported or unbenchmarked shapes. Explicit CUDA or Metal requests are strict and report unsupported paths clearly.