Commit Graph
2496 Commits
Author SHA1 Message Date
vangel76andClaude Opus 5.5 ee87ab6c9e style(raw): rustfmt and clippy for the CR3 decoder changes
Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:33:35 +01:00
vangel76 501738821e Merge remote-tracking branch 'upstream/main' into perf/raw-cr3-1654 2026-11-15 18:31:35 +01:00
vangel76andClaude Opus 5.5 68181b7d15 fix(raw): keep tile-then-plane error order for QP maps; doc and test review points
A tile's QP map error is reported by its first plane job, so a later tile's
corrupt map no longer wins over an earlier tile's plane error. Equivalence
tests also compare error texts; the corpus test fails when the folder holds
none of the pinned files; docs/cr3.md says when the sensor buffer is allocated.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:31:35 +01:00
Dylan M. Taylor c9de09877b Share bounded BMP coverage inspection (#1610) 2026-11-15 12:29:34 -05:00
vangel76andClaude Opus 5.5 308e5c8519 test(raw): name the plane type in the interleave test
Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:27:31 +01:00
Dylan M. Taylor 8503f24cb8 Merge pull request #1595 from storytold/extract/cms-srgb-v2
cms: share the byte-compatible ICC v2 sRGB generator
2026-11-15 12:23:08 -05:00
Dylan M. Taylor 2d0d993c6d Merge pull request #1594 from storytold/feat/psd-tysh-envelope
psd: share editable TySh binary envelope
2026-11-15 12:23:02 -05:00
Dylan M. Taylor f5a22a008c Merge pull request #1576 from el-j/feat/image-codecs-jpegls
craft-image-codecs: JPEG-LS reader and writer
2026-11-15 12:22:57 -05:00
Dylan M. Taylor d1f67cae22 Merge pull request #1578 from el-j/feat/video-ffv1
craft-video: FFV1 lossless video (version 3, range coder) decoder and encoder
2026-11-15 12:22:53 -05:00
Dylan M. Taylor adf049efb3 Merge pull request #1572 from el-j/feat/audio-qoa
craft-audio: QOA (Quite OK Audio) decoder and encoder
2026-11-15 12:22:50 -05:00
vangel76andClaude Opus 5.5 7566f61bad perf(raw): run CRX wavelet synthesis on whole rows, in parallel
The vertical lifting combined strided columns one at a time; it now lifts
whole rows, per pair of output rows in parallel, with the same integer
equations and edge rules (i64 floor shifts equal the div_euclid it replaces).
The horizontal pass runs its rows in parallel and drops the Result per sample;
overflow is still an error. Differential tests compare both passes with the
previous implementation for every size 1..=17 and every edge combination.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:20:39 +01:00
vangel76andClaude Opus 5.5 9ea6cf1ec3 perf(raw): decode all CR3 tiles in parallel and interleave them by row pairs
Every plane of every tile is one parallel task that ends in sensor samples;
the mosaic is then filled per output row pair in parallel, without a modulo,
division, bounds check or Result per sample. The first error in tile and
plane order is still the one reported, and the sensor buffer is allocated
only after every plane has decoded. The CC0 corpus test also pins the four
EOS R5 Mark II files and skips files that are not present.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:18:47 +01:00
Dylan M. Taylor 0325b2d736 Merge pull request #1606 from storytold/codex/base64-legacy-compatible
Add opt-in legacy Base64 compatibility
2026-11-15 12:17:04 -05:00
vangel76andClaude Opus 5.5 ae11e0ae47 perf(raw): decode C-RAW subbands in parallel, one quantization step per band or QP cell
The ten subbands of a plane are separate entropy streams; the first error in
band order is still the one reported. The step is looked up once per band, or
once per QP cell for adaptive gains, instead of once per coefficient.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:16:45 +01:00
vangel76andClaude Opus 5.5 1d950d5597 perf(raw): read CRX entropy streams through a 64-bit bit cache
One 8-byte load per ~56 bits instead of a checked 5-byte window per read;
the Rice prefix and its low bits come from one cached word. Escapes and the
end of the stream keep the bit-by-bit path, so results and errors match.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:15:56 +01:00
Dylan M. Taylor b6222158fb Merge pull request #1604 from storytold/codex/mcp-policy
Support configurable legacy MCP sessions and envelopes
2026-11-15 12:14:36 -05:00
Dylan M. Taylor c4c4547b7b Merge pull request #1602 from storytold/codex/svg-neutral-document
Share streaming SVG primitives and drawing output
2026-11-15 12:10:47 -05:00
Dylan M. Taylor b84bce6ef6 Merge pull request #1607 from storytold/codex/shared-png-header
Share PNG header and color chunk inspection
2026-11-15 12:08:10 -05:00
Dylan M. Taylor 9eb96c47e0 Merge pull request #1199 from storytold/codex/craft-svg-photo-preflight
Expose shared SVG preflight and viewport rewrite
2026-11-15 11:49:35 -05:00
Dylan M. Taylor b0d84cd15d Merge pull request #1598 from storytold/codex/vectorcraft-streaming-envelope
Share VectorCraft streaming envelope helpers
2026-11-15 11:48:48 -05:00
Dylan M. Taylor c376774f15 Merge pull request #1579 from storytold/codex/tcraft-stream-format
Share streaming TextureCraft tile payloads
2026-11-15 11:27:35 -05:00
Dylan M. Taylor 25c7a8959c Merge pull request #1599 from storytold/codex/svg-fixed-viewbox
Support fixed-precision SVG scene coordinates
2026-11-15 11:09:10 -05:00
Dylan M. Taylor 8dcdca5476 Merge pull request #1597 from storytold/codex/shared-segmented-gzip
Share streaming gzip writer with stored segments
2026-11-15 11:02:33 -05:00
Dylan M. Taylor c393428049 Merge pull request #1461 from storytold/fix/png-bounded-row-stream
image-codecs: bound PNG row streaming without a full-frame allocation
2026-11-15 11:01:29 -05:00
Dylan M. Taylor 188d935887 Cover bounded PNG header probing 2026-11-15 15:41:20 +00:00
Dylan M. Taylor e4cef773fc Enforce PNG probe pixel limit before chunk scanning 2026-11-15 15:40:50 +00:00
Dylan M. Taylor 1bce1af0eb Expose early PNG dimension preflight 2026-11-15 15:39:50 +00:00
Dylan M. Taylor 32eff39b74 Share PNG header and color chunk inspection 2026-11-15 15:39:23 +00:00
Dylan M. Taylor 828b07f3c9 Merge pull request #1589 from storytold/codex/zip64-size-sentinel
Guard ZIP64 directory-size sentinel entry counts
2026-11-15 10:39:06 -05:00
Dylan M. Taylor 451a390542 Add opt-in legacy Base64 compatibility 2026-11-15 15:37:41 +00:00
Dylan M. Taylor 2c9903ca1d Support configurable legacy MCP sessions and envelopes 2026-11-15 15:29:27 +00:00
Dylan M. Taylor 2823525586 Merge pull request #1592 from storytold/extract/psd-displace-map
psd: share bounded Displace map payload reader and writer
2026-11-15 10:28:44 -05:00
Dylan M. Taylor 89cbc41650 Satisfy SVG reader clippy gate 2026-11-15 15:22:39 +00:00
Dylan M. Taylor 811b386e89 Merge pull request #1581 from storytold/codex/jpeg-encoder-notices
Retain IJG and SIMD notices for shared JPEG encoding
2026-11-15 10:18:17 -05:00
Dylan M. Taylor 6c22881fc1 Share streaming neutral SVG geometry and output 2026-11-15 15:16:39 +00:00
Dylan M. Taylor c6eb84d427 Merge pull request #1573 from storytold/extract/cube-export-style
cms: share annotated CUBE export and integer-depth precision
2026-11-15 10:12:13 -05:00
Dylan M. Taylor 1d8836f265 Merge pull request #1583 from storytold/feat/mime-optional-base64-padding
mime: expose optional Base64 padding without relaxing strict decoding
2026-11-15 10:11:19 -05:00
Dylan M. Taylor 2bb5d0344f docs(psd): document editable TySh envelope fields 2026-11-15 10:10:41 -05:00
Dylan M. Taylor 560b6f8268 Compare streaming native output with previous framing 2026-11-15 15:02:41 +00:00
Dylan M. Taylor 38c26217b1 Support fixed-precision SVG scene coordinates 2026-11-15 15:01:28 +00:00
Dylan M. Taylor e78ede0aa9 Merge pull request #1587 from storytold/codex/mcp-server-session
Share MCP server session envelopes
2026-11-15 09:53:42 -05:00
FredApps a0aae26efe Merge remote-tracking branch 'origin/main' into svg 2026-11-15 15:52:51 +01:00
FredApps cec6e24381 Check the rewritten SVG viewport output under the same limits 2026-11-15 15:52:47 +01:00
Dylan M. Taylor b5bd10d0d8 Stream envelope fields with bounded buffering 2026-11-15 14:49:04 +00:00
Dylan M. Taylor d1ee17aca4 Own native JSON schema in streaming writer 2026-11-15 14:46:50 +00:00
Dylan M. Taylor 0cdda6e15d Share VectorCraft streaming envelope helpers 2026-11-15 14:44:38 +00:00
Dylan M. Taylor cab96afd08 cms: keep public v2 helper before test module 2026-11-15 09:43:27 -05:00
Dylan M. Taylor 424a2dc2be Share streaming gzip writer with stored segments 2026-11-15 14:41:14 +00:00
Dylan M. Taylor 7bc5f2a4c8 cms: expose fixed v2 sRGB profile and verify shared parsing 2026-11-15 09:40:37 -05:00
Brandon Thomas f483f9d6dd cms: preserve original PDFCraft ICC v2 sRGB generator
Extracted unchanged from storytold/pdfcraft e098c5c85, crates/preflight/src/icc.rs; original implementation 4d60af8b1, rename d3db99818.
2026-11-15 09:39:55 -05:00