Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ and stale roadmap entries have been removed from the public documentation set.

## [Unreleased]

Staged workspace version: `0.9.1`.

- Refactors the CPU JPEG AVX2 and NEON paths around unforgeable capability
tokens and safe kernel entry points. SIMD dispatch, IDCT/color arithmetic,
tests, and benchmark wrappers no longer require unsafe calls; the remaining
raw loads/stores and exact-AVX2 bridge are isolated behind fixed-size safe
interfaces. Ten production SIMD unsafe blocks remain, with no `unsafe fn`,
under an AST-enforced 24-block cap.
- Uses `fearless_simd 0.7.0` for AArch64 NEON kernels while preserving the
existing AVX2-only x86 acceleration envelope with a private exact-AVX2 token;
`fearless_simd::Avx2` is intentionally not used because its 0.7 contract is
the broader x86-64-v3 feature set.
- Adds deterministic CPU JPEG decode and expanded SIMD microbenchmarks covering
grayscale, 4:4:4, 4:2:2, full/odd/cropped 4:2:0, row streaming, specialized
IDCT, tail widths, and unaligned source rows.

## [0.9.0] - 2026-08-10

- Breaking: all expert Metal APIs in `j2k-metal-support`, `j2k-metal`,
Expand Down
51 changes: 26 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ members = [
"xtask",
]
[workspace.package]
version = "0.9.0"
version = "0.9.1"
edition = "2021"
rust-version = "1.96"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -85,7 +85,7 @@ jpeg-encoder = "0.7.0"
jpeg-decoder = { version = "0.3.2", default-features = false }
zune-core = "0.5.1"
zune-jpeg = "0.5.15"
fearless_simd = "0.4"
fearless_simd = "0.7"
libm = { version = "0.2", default-features = false }
openjpeg-sys = "1.0.12"
proc-macro2 = "1.0.106"
Expand Down
6 changes: 3 additions & 3 deletions crates/j2k-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ path = "src/main.rs"
doc = false

[dependencies]
j2k = { path = "../j2k", version = "=0.9.0" }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.0" }
j2k-transcode = { path = "../j2k-transcode", version = "=0.9.0" }
j2k = { path = "../j2k", version = "=0.9.1" }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.1" }
j2k-transcode = { path = "../j2k-transcode", version = "=0.9.1" }

[dev-dependencies]
j2k-test-support = { path = "../j2k-test-support" }
Expand Down
8 changes: 4 additions & 4 deletions crates/j2k-compare/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ publish = false
ignored = ["cc"]

[dependencies]
j2k-core = { path = "../j2k-core", version = "=0.9.0" }
j2k-native = { path = "../j2k-native", version = "=0.9.0" }
j2k = { path = "../j2k", version = "=0.9.0" }
j2k-test-support = { path = "../j2k-test-support", version = "=0.9.0" }
j2k-core = { path = "../j2k-core", version = "=0.9.1" }
j2k-native = { path = "../j2k-native", version = "=0.9.1" }
j2k = { path = "../j2k", version = "=0.9.1" }
j2k-test-support = { path = "../j2k-test-support", version = "=0.9.1" }
image = { workspace = true }
openjpeg-sys = { workspace = true }

Expand Down
6 changes: 3 additions & 3 deletions crates/j2k-cuda-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ cuda-oxide-jpeg-decode = []
cuda-oxide-jpeg-encode = []

[dependencies]
j2k-codec-math = { path = "../j2k-codec-math", version = "=0.9.0" }
j2k-core = { path = "../j2k-core", version = "=0.9.0" }
j2k-codec-math = { path = "../j2k-codec-math", version = "=0.9.1" }
j2k-core = { path = "../j2k-core", version = "=0.9.1" }
libloading = { workspace = true }
thiserror = { workspace = true }

[build-dependencies]
j2k-codec-math = { path = "../j2k-codec-math", version = "=0.9.0" }
j2k-codec-math = { path = "../j2k-codec-math", version = "=0.9.1" }

[dev-dependencies]
j2k-test-support = { path = "../j2k-test-support" }
Expand Down
10 changes: 5 additions & 5 deletions crates/j2k-cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ cuda-runtime = [
cuda-profiling = ["cuda-runtime", "j2k-cuda-runtime/cuda-profiling"]

[dependencies]
j2k-core = { path = "../j2k-core", version = "=0.9.0" }
j2k-cuda-runtime = { path = "../j2k-cuda-runtime", version = "=0.9.0", optional = true }
j2k = { path = "../j2k", version = "=0.9.0" }
j2k-native = { path = "../j2k-native", version = "=0.9.0" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.0" }
j2k-core = { path = "../j2k-core", version = "=0.9.1" }
j2k-cuda-runtime = { path = "../j2k-cuda-runtime", version = "=0.9.1", optional = true }
j2k = { path = "../j2k", version = "=0.9.1" }
j2k-native = { path = "../j2k-native", version = "=0.9.1" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.1" }
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions crates/j2k-jpeg-cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ cuda-runtime = [
]

[dependencies]
j2k-core = { path = "../j2k-core", version = "=0.9.0" }
j2k-cuda-runtime = { path = "../j2k-cuda-runtime", version = "=0.9.0", optional = true }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.0" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.0" }
j2k-core = { path = "../j2k-core", version = "=0.9.1" }
j2k-cuda-runtime = { path = "../j2k-cuda-runtime", version = "=0.9.1", optional = true }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.1" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.1" }
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions crates/j2k-jpeg-metal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ name = "j2k_jpeg_metal"
path = "src/lib.rs"

[dependencies]
j2k-core = { path = "../j2k-core", version = "=0.9.0" }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.0" }
j2k-metal-support = { path = "../j2k-metal-support", version = "=0.9.0" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.0" }
j2k-core = { path = "../j2k-core", version = "=0.9.1" }
j2k-jpeg = { path = "../j2k-jpeg", version = "=0.9.1" }
j2k-metal-support = { path = "../j2k-metal-support", version = "=0.9.1" }
j2k-profile = { path = "../j2k-profile", version = "=0.9.1" }
thiserror = { workspace = true }

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down
Loading
Loading