filmcraft/crates/media
vangel76 595f94f303 #1407: import Radiance HDR stills and image sequences
Problem: Premiere reads Radiance HDR (.hdr) pictures; FilmCraft listed
the extension nowhere and could not open them.

Fix: clean-room RGBE decoder in filmcraft-media from the public format
description: header with FORMAT, all eight axis orders, flat, old
run-length and new per-channel run-length scan lines. Frames are linear
float (Rec.709), like EXR. Allocations are bounded by the data present;
hostile headers and truncated data return errors. "hdr" joins the
importable still extensions; stills and image sequences share the decoder.
Output equals ffmpeg's decode exactly for flat and RLE files; EXPOSURE and
PRIMARIES lines are ignored and XYZE is refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 21:12:44 +02:00
..
examples M0.3–M0.8: geom, color, frame, media generators, project model, edit algebra, CPU renderer 2026-09-30 05:58:41 -04:00
src #1407: import Radiance HDR stills and image sequences 2026-10-12 21:12:44 +02:00
tests #1407: import Radiance HDR stills and image sequences 2026-10-12 21:12:44 +02:00
Cargo.toml Merge main into #837 (EXR next to DNG and APNG); cap EXR chunk size, fallible chunk buffers 2026-10-11 22:18:05 -04:00