Skip to content

JPEG 2000 tier-1 decoding speed #255

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What to build

Packed neighbourhood significance state, coding-pass loops without per-sample bounds checks, and vectorised 5/3 and 9/7 inverse wavelets and colour transforms take tier-1 decoding from about 150 ns per sample toward a target the PR states (recommendation: 40 ns on the CI runner).

Spec clauses

ITU-T T.800 Annex D, Annex F

Acceptance criteria

  • The JPX benchmark meets the stated target.
  • Output is identical sample for sample on every JPX corpus file and conformance vector.
  • Allocations per code-block stay at zero; vector paths equal scalar paths (P1's determinism rule).
  • The fuzz smoke run passes.

Blocked by

None — can start immediately

Draft note: none (builds on #67, #68)

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    task
    ready-for-agent
    phase:7
    track:7B-hardening
    on Oct 10, 2026
  2. added
    in-progress
    on Nov 11, 2026
  3. removed
    in-progress
    on Nov 12, 2026
  4. michaelstonis commented on Nov 12, 2026

    @michaelstonis
    OwnerAuthor

    Landed in #502 (tier-1 at 41.5 ns/sample on Apple M4; first render of the #352 pages 35–49% faster across builds).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

phase:7ready-for-agenttasktrack:7B-hardening

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions