Commit Graph
3080 Commits
Author SHA1 Message Date
FredApps 9b87ff0a0e raw: dng_metadata checks the LinearizationTable count before reading its entries 2026-11-16 10:34:00 +01:00
FredApps 2686ac1f95 Merge remote-tracking branch 'origin/codex/shared-dng-opcode-envelope' into w1647 2026-11-16 08:52:05 +01:00
FredApps 456e71da87 Merge remote-tracking branch 'origin/codex/shared-dng-raw' into w1645 2026-11-16 08:52:01 +01:00
FredApps 8a067d58d0 raw: dng_lines checks unpack sizes, budgets each chunk's real decode allocation, and allows subsampled lossy JPEG
- unpack: checked sample, row-bit and output products, capped at MAX_SAMPLES before allocating
- every chunk is charged what its decoder may allocate (lossless: coded rows + 1/8; lossy: the
  32-pixel MCU-padded tile) against the aggregate budget before decoding, the lossless decoder
  is held to that, and truncated capacity is released
- the lossy encoded-size floor allows 64 x spp samples per two-bit block (chroma subsampling)
2026-11-16 08:51:58 +01:00
FredApps 6225363b1f raw: dng_metadata tests against hand-built DNGs and the full reader; document why it keeps its own tag reads 2026-11-16 08:33:43 +01:00
FredApps b611b03a29 Merge remote-tracking branch 'origin/codex/shared-dng-opcode-envelope' into w1647 2026-11-16 08:32:30 +01:00
FredApps 89e96d2790 raw: opcodes::parse_list/write_list use the opcode_raw envelope walker and encoder
One opcode-list envelope implementation: opcode_raw::Records walks the records (stopping at a
truncated one) for both the strict opcode_raw::parse and the typed opcodes::parse_list, and
opcodes::write_list encodes through opcode_raw::encode instead of truncating lengths with as.
2026-11-16 08:32:10 +01:00
FredApps 456b7d5b35 Merge remote-tracking branch 'origin/codex/shared-dng-raw' into w1645 2026-11-16 08:30:57 +01:00
FredApps 59d28093e6 raw: dng_lines reuses the DNG reader's unpackers and JPEG decoder, drops the image dependency
- uncompressed rows go through crate::unpack (read_u16s / unpack_msb), as in dng.rs
- lossy JPEG tiles (34892) use tiffraw::lossy_jpeg_with_tile (zune-jpeg) with its tile-size checks
- line-dng now implies dng instead of pulling in image
- tests: every layout and compression read against the full reader, refusals, unpack depths
2026-11-16 08:27:55 +01:00
FredApps 3fd0383c81 Merge remote-tracking branch 'origin/main' into w1644 2026-11-16 08:20:40 +01:00
FredApps 4ffa307f1a Merge pull request #1407 from AlexChambers/craft-heif/primary-item-metadata
craft-heif: items reads the primary image's EXIF and XMP; add scan for every metadata item
2026-11-16 08:19:32 +01:00
FredApps 3a85d8b69a Merge pull request #1725 from storytold/codex/shared-positioned-glyph
Share composed glyph model and caret placement
2026-11-16 07:06:59 +01:00
FredApps 82062077bb Merge pull request #1697 from storytold/codex/codec-config-fields
Share video and audio codec configuration fields
2026-11-16 07:05:00 +01:00
FredApps a380d33f46 Merge pull request #1699 from storytold/codex/lpcm-shared
Share DVD and Blu-ray LPCM decoding
2026-11-16 07:04:47 +01:00
Dylan M. Taylor 4f9c4dd7aa Merge pull request #1816 from storytold/fix/wmf-frame-target
fix(metafile): support WMF mapping records without resizing the frame
2026-11-16 01:04:32 -05:00
FredApps 51b074a35a Merge pull request #1627 from storytold/pr-solidcraft-format
feat: add craft-format (versioned JSON file formats)
2026-11-16 06:55:33 +01:00
FredApps a1540d3039 Merge pull request #1696 from storytold/codex/psd-head-metadata
Share PSD EXIF and XMP resource selection
2026-11-16 06:48:01 +01:00
FredApps 791561953d Merge pull request #1686 from storytold/codex/exif-ifd0-orientation
Expose compatible first-IFD orientation lookup
2026-11-16 06:47:48 +01:00
FredApps 763312c0a4 Merge pull request #1777 from storytold/fredapps/i778-fbx-batch
mesh: land the FBX import batch (#1719 #1717 #1703 #1704 #1705 #1701 #1714 #1706 #1711)
2026-11-16 06:35:01 +01:00
Dylan M. Taylor 8644532ed7 fix(metafile): preserve viewport scaling before inferred target 2026-11-16 00:05:09 -05:00
Dylan M. Taylor 7585d2df79 fix(metafile): retain WMF player target across viewport scaling 2026-11-15 23:50:34 -05:00
Hamza aaa7230822 craft-metafile: WMF scale and offset mapping records
META_SCALEVIEWPORTEXT, META_SCALEWINDOWEXT, META_OFFSETVIEWPORTORG and
META_OFFSETWINDOWORG were skipped, so a WMF that draws sub-pictures into
parts of its frame (each halving the viewport between SaveDC and RestoreDC)
stretched the first one over the whole frame and drew the next outside it
(storytold/deckcraft#2069).
2026-11-15 23:50:11 -05:00
Dylan M. Taylor 5c91598ccc Merge pull request #1807 from storytold/fix/av1-zero-quantizer
fix(video): preserve explicit rav1e zero quantizer
2026-11-15 23:44:40 -05:00
FredApps 5e780f24e1 fbx package: refuse an oversized model up front and stop resolving once the byte limit is passed 2026-11-16 05:26:28 +01:00
FredApps 4f75e7ccbc Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 05:26:28 +01:00
FredApps 75017e2bdf craft-format: multi-line step detection, budget keeps every byte read, unreadable-entry test, place match when no identity survives 2026-11-16 05:25:45 +01:00
FredApps 009c8d23b3 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:25:45 +01:00
Dylan M. Taylor 0050743b99 Merge pull request #1798 from storytold/feat/smf-raw-timed-writer
MIDI: share bounded source-timed SMF framing for LoopCraft
2026-11-15 23:24:44 -05:00
FredApps f299664d7c craft-format: string-aware step detection, live expanded budget, unreadable names refused, retention identity fixes 2026-11-16 05:07:48 +01:00
FredApps b9636d757a Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:06:49 +01:00
FredApps 2ecbd1e9cd fbx: integer index arrays in strict mode, cache package textures, set-based missing dedup 2026-11-16 05:04:55 +01:00
FredApps b203dc6705 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 05:04:55 +01:00
FredApps b3643af647 Merge pull request #1616 from storytold/codex/omf-bounds
aaf: preserve bounded FilmCraft OMF traversal
2026-11-16 04:50:18 +01:00
FredApps a499742a93 Merge pull request #1779 from storytold/image-codecs/jpeg-stored-inks
feat(image-codecs): read four-component JPEGs as stored inks
2026-11-16 04:48:49 +01:00
FredApps a64f5a6e4a Merge pull request #1621 from storytold/codex/pcm-export-shared
audio: share streaming PCM export encoding
2026-11-16 04:48:11 +01:00
FredApps 07b5e88dce craft-format: block comments in step detection, room past budget, configured Deflate level, duplicate names, cached limits, whole-section/identity/top-level retention 2026-11-16 04:42:51 +01:00
FredApps 1d2cd4a9b2 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 04:41:16 +01:00
FredApps 0479988f65 fbx package: entry limit counts only resolved textures; report overflow before the no-texture return 2026-11-16 04:39:34 +01:00
FredApps 232c2aa1f6 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 04:39:34 +01:00
FredApps aa6f41a3c8 Merge pull request #1732 from storytold/codex/jsonrpc-async-coverage
Cover optional JSON-RPC async line transport
2026-11-16 04:38:46 +01:00
FredApps 5a86ef0f26 Merge pull request #1692 from storytold/codex/shared-raw-video
Share uncompressed AVI and QuickTime sample decoding
2026-11-16 04:38:34 +01:00
Dylan M. Taylor f450b5b591 fix(video): preserve explicit rav1e zero quantizer 2026-11-15 22:33:24 -05:00
FredApps 2f10c9389e Merge pull request #1782 from storytold/image-codecs/jpeg-zune-panic
fix(image-codecs): read the JPEGs zune-jpeg panics on with craft-jpeg
2026-11-16 04:08:51 +01:00
FredApps 1b00186ae0 Merge pull request #1687 from storytold/codex/shared-font-plan-cache
Share per-face shaping plan cache
2026-11-16 04:01:15 +01:00
FredApps 5ca6bf4f9d Merge pull request #1790 from storytold/fredapps/i778-rgba8-oom-tests
tga, dpx: test the RGBA8 encoders' allocation-failure path
2026-11-16 04:01:03 +01:00
Dylan M. Taylor e25e6dbcad Expose bounded source-timed SMF framing without note normalization 2026-11-15 21:51:54 -05:00
Dylan M. Taylor 61a9330f4e Adapt attributed FilmCraft metadata to bounded shared reader
Preserve vangel76 original FilmCraft source commit 28247afae7806590dcdb149d744408739fb738df before the shared metadata extraction. Final metadata implementation is unchanged from the existing PR.
2026-11-15 21:49:46 -05:00
vangel76andClaude Opus 5.5 440e14c7f2 #1065: clean-room DNG / CinemaDNG decoder crate
Problem: camera RAW is at 0% (docs/codec-parity.md, #383). CinemaDNG,
the one cinema RAW format with a public specification, could not be
read at all.

Fix: new L0 crate filmcraft-dng, written from the public DNG 1.4-1.7,
TIFF 6.0 / TIFF-EP, ITU-T T.81 and CinemaDNG specifications only (no
other decoder's source read; editions in the crate README):
- TIFF container with SubIFDs, bounded (64 IFDs, 4 levels, cycles end
  the walk) and checked offsets; the main raw IFD is the largest
  NewSubFileType 0 CFA / LinearRaw image.
- Raw data: 1-16-bit uncompressed (MSB-first packing) and lossless JPEG
  (process 14, predictors 1-7, 1-4 components, point transform, line
  restarts), strips and tiles, tiles decoded in parallel; allocations
  capped by size and by the data present.
- Processing per the DNG model: ActiveArea, LinearizationTable, per-site
  black levels with deltas, white levels, as-shot white balance with
  neutral highlight clipping, Malvar-He-Cutler Bayer demosaic (bilinear
  for other patterns), DefaultCrop, ColorMatrix / CameraCalibration /
  ForwardMatrix with illuminant interpolation, Bradford to linear
  Rec. 709, BaselineExposure; output scene-linear RGBA floats.
- CinemaDNG FrameRate, TimeCodes and ReelName tags.
- A test-only writer (feature `writer`) synthesises DNGs. Tests: raw
  samples bit-exact for every depth / predictor / layout, processing
  against hand-computed values, hostile files (every truncation, 12k
  mutations, cyclic IFDs, huge sizes, bad offsets), and LibRaw's
  unprocessed_raw as an external oracle reading the same samples
  (skipped when not installed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:49:46 -05:00
FredApps 3a6613f058 Merge pull request #1770 from storytold/extract/dng-writer-view
raw: share borrowed and prepared-lossy DNG writing
2026-11-16 03:38:01 +01:00
FredApps 82597f403d fbx: strict check for ColorsIndex/NormalIndex, stop texture resolution at the entry limit, model entry keeps .fbx 2026-11-16 03:13:21 +01:00