Commit Graph
2464 Commits
Author SHA1 Message Date
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
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 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 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 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 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 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 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 424a2dc2be Share streaming gzip writer with stored segments 2026-11-15 14:41:14 +00:00
Dylan M. Taylor 851c5cb8db Merge remote-tracking branch 'origin/main' into codex/tcraft-stream-format 2026-11-15 14:32:39 +00:00
Dylan M. Taylor e2e3b4213a Merge pull request #1585 from storytold/dot/plist-binary-v2
Extract bounded binary Apple property-list reader into craft-plist
2026-11-15 09:32:06 -05:00
Dylan M. Taylor ca64580510 Merge pull request #1577 from storytold/codex/zip-seek-boundary
Share bounded seekable ZIP indexing
2026-11-15 09:31:45 -05:00
Dylan M. Taylor d0feabc6c8 Exercise displacement dimension guards independently of mode 2026-11-15 09:30:43 -05:00
Dylan M. Taylor f2106054e0 Support bounded streaming displacement samples without plane copies 2026-11-15 09:30:28 -05:00
Dylan M. Taylor 46cd009367 Add exact-plane payload writer and hostile-input regression tests 2026-11-15 09:29:01 -05:00
Scott Macdonald 8322a1166c Port bounded Displace payload reader from PhotoCraft 2026-11-15 09:28:27 -05:00
Dylan M. Taylor 2284a6bf76 Merge pull request #1582 from storytold/extract/psd-annotations
craft-psd: bounded annotation record views and writer
2026-11-15 09:17:31 -05:00
FredApps 4f6e49b1ee Test SVG preflight depth and root viewport rewrite; accept px root sizes
Correct the source-depth expectations (svg>g>path is 3 levels, 2 open), cover
Preflight and every rewrite_root_viewport refusal, and read a root width or
height written with px as the pixels the docs promise.
2026-11-15 15:13:06 +01:00
FredApps 3bfe94538b Merge main into codex/craft-svg-photo-preflight
The base this branch was stacked on has landed separately: #1187 through #1182,
and #1198 through #1331 and #1465. Take main for everything outside crates/svg
so this PR carries only the SVG preflight and viewport rewrite.

In crates/svg, keep main's root_unitless_size, embedded data-URL and text-size
accounting, and check_document, now on top of the shared preflight. Embedded
SVGs still charge the reference-following height to the shared depth budget,
as on main, rather than the source depth.
2026-11-15 15:13:00 +01:00
FredApps 5ce2b07fde Merge remote-tracking branch 'origin/main' into jpeg-notices 2026-11-15 15:06:50 +01:00
FredApps 2b724bb168 Link jpeg-encoder licence records by repository URL
The relative link and root path do not resolve from a packaged craft-image-codecs.
2026-11-15 15:06:50 +01:00
Dylan M. Taylor b1ecb6776d Guard ZIP64 directory-size sentinel counts 2026-11-15 14:04:03 +00:00
Dylan M. Taylor f2593bc96d Merge main preserving commented and streaming CUBE writers 2026-11-15 08:50:34 -05:00
Dylan M. Taylor 09188c3bbf Merge pull request #1565 from storytold/extract/psd-linked-views
craft-psd: bounded header-only linked records for deferred consumers
2026-11-15 08:47:29 -05:00
Dylan M. Taylor 2cf13ea7c6 Merge commit '4cf2a6f4cb26bc0503191049edccf85d4d0b21a8' into codex/tcraft-stream-format 2026-11-15 13:46:16 +00:00
Dylan M. Taylor 533b37bd56 Add reusable MCP server session envelopes 2026-11-15 13:41:22 +00:00
Dylan M. Taylor d2c1cac032 Reject colliding project extension fields 2026-11-15 13:38:46 +00:00
Dylan M. Taylor 09a962def8 Merge pull request #1575 from storytold/codex/jsonrpc-envelope
Add bounded JSON-RPC server envelopes
2026-11-15 08:37:05 -05:00
Dylan M. Taylor 5c077a7b5e Merge pull request #1574 from storytold/codex/cms-commented-cube
Share commented CUBE export serialization in craft-cms
2026-11-15 08:34:18 -05:00
Dylan M. Taylor b6d9feed23 Merge pull request #1569 from storytold/codex/shared-mcmat
Share bounded portable material archives
2026-11-15 08:06:54 -05:00
Dylan M. Taylor 4cf2a6f4cb Inspect seekable archive entry budgets and overlaps 2026-11-15 13:06:02 +00:00
Dylan M. Taylor 478c50560d Merge pull request #1448 from storytold/fix/avif-exif-hlg
fix(image-codecs): preserve AVIF EXIF and HLG levels
2026-11-15 08:02:58 -05:00
Dylan M. Taylor ac7586ed9f Merge pull request #1507 from storytold/dot/photo-ipp-shared
print: reuse direct CUPS transport with explicit app parity API
2026-11-15 08:01:42 -05:00
Dylan M. Taylor cc4fc29cdb Add bounded selective plist array lookup for locale parity 2026-11-15 08:00:09 -05:00
Dylan M. Taylor 1ec7ab92b5 Expose bounded cross-platform binary plist reader with explicit limits 2026-11-15 07:57:29 -05:00