Commit Graph
4741 Commits
Author SHA1 Message Date
FredApps 5a7a63a21d Merge pull request #1593 from storytold/i778/opus-encoder-effectcraft-speedups
craft-audio: port EffectCraft's later Opus encoder speed-ups
2026-11-15 22:26:13 +01:00
Dylan M. Taylor da591dc6b2 fix(raw): bound LJ92 writer tile padding before allocation 2026-11-15 16:21:37 -05:00
el-j 0281d0951b craft-video: Motion JPEG decoder and encoder (mjpeg)
A frame-level wrapper over craft-jpeg: packets decode to gray or RGB
frames (Annex K Huffman tables put in for AVI MJPG packets that have
none) and frames encode to baseline JPEG packets. Checked against
ffmpeg as a black-box oracle in both directions.

Part of #1510.
2026-11-15 22:19:12 +01:00
FredApps 048c93634a image-codecs: probe PNG, JPEG and TIFF sizes from the header
probe_size returned Unsupported for PNG, JPEG and TIFF, so callers sized
those images with a full decode. Each now reads only its header with the
checks decode runs: PNG's IHDR/fcTL, limits and plausibility; JPEG's
first frame header and EXIF; TIFF's default page directory, camera-raw
refusal and Orientation tag. The size is turned upright for 5-8, as
decode returns it.
2026-11-15 22:15:55 +01:00
dotCooCoo 90b6cbef8a craft-exr: deep chunk offsets must follow every part's offset table
In a multipart file the chunks start after the offset tables of all
parts. The deep readers in craft-exr and craft-image-codecs took the end
of the deep part's own table as the start of the chunk area, so an
offset into a later part's table passed the chunk-area check and its
bytes were parsed as a chunk.

Both readers now compute where the deep part's table starts and where
the last table ends with checked arithmetic, and refuse a file whose
tables run past its end before reading any offsets. The earlier tables'
sizes are no longer capped or saturated.

Tests build a two-part file from scratch (a deep part and a 1x1 flat
part, in both orders): the deep part decodes as in a single-part file,
an offset into the second table or one byte before the end of the
tables is refused, and a file that ends inside the second table is
refused.
2026-11-15 13:13:48 -08:00
kiwi4boy 8b7cdcdbf0 Merge remote-tracking branch 'origin/main' into xlsb-styles 2026-11-15 16:12:50 -05:00
Dylan M. Taylor 30596f73c5 Merge pull request #1707 from storytold/extract/wav-marker-metadata
audio: extract WAV cue, adtl, RF64 and XMP marker metadata
2026-11-15 15:43:10 -05:00
bflatasticandDylan M. Taylor f7655fb3ea Extract bounded USD Crate integer delta encoding
Adapt TextureCraft bdbb52c9b66b221a55b370105b42f485a76e6fc7 integer writer with exact wire oracle. Preserve common-delta tie-breaking and signed wrapping; cap combined output and scratch reservations and reserve fallibly.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 15:29:04 -05:00
FredApps a99c8f8e36 raw: leave LinearizationTable unapplied when OpcodeList1 is present
DNG chapter 7 runs OpcodeList1 on the stored codes, then the
LinearizationTable maps them to sensor values. decode was applying the
table first, so a develop pipeline that later applied list 1 saw already
linearized samples.

When list 1 is present the table is now carried on RawImage and left
unapplied (`linearized` stays false). apply_linearization maps it after
the list. Files without list 1 are unchanged.

The dng-only build already compiles on main (d16ee792 gated
cr3::orientation). A comment at that gate records the E0433 failure
mode.

Part of #778.
2026-11-15 21:26:02 +01:00
Dylan M. Taylor 589842f0da Merge pull request #1702 from storytold/extract/psd-guides-v2
craft-psd: share Grid and Guides v2 record decoding
2026-11-15 15:18:52 -05:00
bflatastic 02ab4e01ef Share bounded USD Crate LZ4 compression
Adapt TextureCraft bdbb52c9 single-block framing with checked worst-case output sizing and fallible allocation. Preserve original compressed wire bytes.
2026-11-15 15:15:31 -05:00
bflatastic 456abf7b7a Extract bounded USD Crate integer delta decoding
Retain TextureCraft signed wrapping and delta widths from bdbb52c9b66b221a55b370105b42f485a76e6fc7; use explicit widths, output byte budget, checked code-table admission and fallible reservation.
2026-11-15 15:08:22 -05:00
9d56699be8 psd: share borrowed Unicode channel-name record framing
Extract framing from PhotoCraft 16941f7198da9ae1811a8928f4c256b5cb37c1cb, retaining the overflow protection added by 3b45e8baee7117e53847523b5bc3ae2b337966d4. Allocation-free adaptation leaves text policy with callers.

Co-authored-by: Valentin Klein <vangel1976@googlemail.com>

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 15:08:20 -05:00
Dylan M. Taylor 808730f49b ps: preserve reencoded glyph names in fallback fonts 2026-11-15 14:57:56 -05:00
bflatastic 556d02941a Extract bounded USD Crate LZ4 decoding from TextureCraft
Source: storytold/texturecraft bdbb52c9b66b221a55b370105b42f485a76e6fc7. Preserve chunk framing and output cap policy, with fallible allocation and checked offsets.
2026-11-15 14:49:24 -05:00
Dylan M. Taylor 8ef4542960 Fix DDS test fixture Header module path 2026-11-15 14:39:53 -05:00
5e2bc54a48 psd: share raw channel display and alternate spot records
Port raw framing from PhotoCraft f7f8fdcd89 and 9a390661b5; preserve tolerant import semantics and keep colour policy with consumers.

Co-authored-by: Khawar Zamman Wani <wanikhawar@gmail.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 14:38:21 -05:00
Dylan M. Taylor dfe9d6fe97 chore: update rustls-webpki 0.103.15→0.103.16 and zip 9.1.0→9.1.3 2026-11-15 14:33:16 -05:00
Dylan M. Taylor 201601fa2d Fix external stream-codecs consumers to use bounded vendored JBIG2 2026-11-15 14:31:01 -05:00
SteamSmithandbflatastic 6c09292724 cms: share bounded ICC v2 matrix-profile serialization
Extract the TextureCraft writer originally introduced in 59f0ab48508e2dc5a812acd1aee00d5d59a528d8, retaining caller colour and timestamp policy. Preserve the is_multiple_of cleanup from 59a3018.

Co-authored-by: bflatastic <bflat@storyteller.ai>
2026-11-15 14:27:36 -05:00
Dylan M. Taylor 7d39dc4df2 Merge pull request #1145 from vangel76/feat/mxf-cinemadng
MXF: CinemaDNG pictures can be read and written
2026-11-15 14:22:04 -05:00
Dylan M. Taylor 316d40376e Keep OBJ declaration groups across smoothing changes 2026-11-15 19:19:15 +00:00
Dylan M. Taylor 54485a66ce Test malformed break ordering 2026-11-15 19:19:04 +00:00
Dylan M. Taylor 2ee29d87b5 Preserve repeated OBJ group declarations 2026-11-15 19:18:54 +00:00
Dylan M. Taylor b0cbe87bdb Reject unordered paragraph breaks 2026-11-15 19:18:30 +00:00
Dylan M. Taylor 935dc00846 Share paragraph-wide line composer 2026-11-15 19:17:13 +00:00
Dylan M. Taylor ae584d3c2f Cover optional JSON-RPC async line transport 2026-11-15 19:16:03 +00:00
Dylan M. Taylor 284b0d815b Expose compatible OBJ read options 2026-11-15 19:15:02 +00:00
Dylan M. Taylor 7d8884c62c Move typed project envelope encode and decode into shared API 2026-11-15 19:14:12 +00:00
Dylan M. Taylor 40b9b7ef45 Bound OBJ face and continued-line parsing 2026-11-15 19:13:32 +00:00
Dylan M. Taylor b761b5b57f Apply shared format production lint policy 2026-11-15 19:13:00 +00:00
Dylan M. Taylor 654e8d55e1 Merge pull request #1611 from storytold/codex/bento-public
aaf: expose bounded Bento container access
2026-11-15 14:11:15 -05:00
Dylan M. Taylor 4f9c718985 Identify the source model of each FBX placement 2026-11-15 19:09:27 +00:00
Dylan M. Taylor 2aca045a78 Exercise cancellation after partial line consumption 2026-11-15 19:09:15 +00:00
Dylan M. Taylor baa9bfed78 Preserve partial lines across cancellation 2026-11-15 19:08:24 +00:00
aiongg a83b8e9ce7 draw: a transform box whose inside does not move declares no inside part, so presses over its body reach what lies beneath 2026-11-15 19:07:21 +00:00
Dylan M. Taylor e469ec0558 Expose FBX placement and polygon order 2026-11-15 19:07:13 +00:00
Dylan M. Taylor c5ce8a2366 Bound async JSON-RPC line buffering 2026-11-15 19:06:40 +00:00
Dylan M. Taylor e2b5907a40 Test control framing failures and backpressure 2026-11-15 19:05:00 +00:00
aiongg fb8838ed41 tfix3-f5: a tool that takes every move gets every move from the press, inside the click distance too; other tools keep click-vs-drag 2026-11-15 19:02:41 +00:00
Dylan M. Taylor 48dcbe61b1 Retain off-path glyph state 2026-11-15 19:02:30 +00:00
aiongg 95ee8ae9a5 tfix3-f5: pen readings pair one to one with the pass's moves from the last reading before them; a pass with contact drops pressure-0 readings and a lifted tap keeps its contact reading (#1798) 2026-11-15 19:00:52 +00:00
Dylan M. Taylor edfd24c004 Share control client request and reply grammar 2026-11-15 19:00:31 +00:00
5c0fc062b4 cms: share Sony SPI3D and SPIMTX readers
Port EffectCraft 492fa6de0a049c22afcc690afa36930d295261f3 readers, preserving red-fast coordinates, matrix scaling and format tolerance. Replace temporary token vectors with fixed-width parsing and bound row processing to the declared lattice.

Co-authored-by: sanyamsingh001 <314051937+sanyamsingh001@users.noreply.github.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 13:59:42 -05:00
Dylan M. Taylor 2e6878d973 Share session token shape validation 2026-11-15 18:59:28 +00:00
Dylan M. Taylor 726ad0f829 Document DDS result fields and errors 2026-11-15 13:59:20 -05:00
Dylan M. Taylor ebdff8b931 Document Duotone public record fields and counts 2026-11-15 13:59:18 -05:00
Dylan M. Taylor 375617e060 Expose caret stops for hit testing 2026-11-15 18:58:26 +00:00
aiongg c8713d756a tfix3-f5: a tool command's key release fires it in the release phase (spring-loaded tools); framework tool pickers act on the press only 2026-11-15 18:58:20 +00:00
Dylan M. Taylor 5bba73843d Share placed glyph model and caret geometry 2026-11-15 18:58:04 +00:00