Skip to main content

Crate j2k_codec_math

Crate j2k_codec_math 

Source
Expand description

Shared codec constants, generated fragments, and helper algorithms for the j2k workspace.

This crate is deliberately small, allocation-free, and no_std. Its constants and pure helper algorithms must stay equivalent across CPU, CUDA-Oxide, and Metal backends, but it does not own backend dispatch or kernel-launch policy.

Modulesยง

classic
JPEG 2000 classic Tier-1 probability and context tables. Shared JPEG 2000 classic Tier-1 probability and context tables.
dwt
JPEG 2000 DWT constants. JPEG 2000 discrete wavelet transform constants.
generated
Generated backend source fragments derived from codec constants.
htj2k
HTJ2K decode limits shared by host launch code and device kernels. HTJ2K decode limits shared by host launch code and device kernels.
jpeg
Baseline JPEG constants. Baseline JPEG constants shared by CPU and device backends.
mct
JPEG 2000 multi-component transform constants. JPEG 2000 multi-component transform constants.