Files
hyperframes/packages
Vance Ingalls 39dfc84922 fix(producer): add HDR image decode cache + promote blit failure to warn
Implements the decode-once cache claimed in the PR review reply:
HDR image layers now reuse decoded rgb48le buffers across the frames
they're visible. Cache is render-scoped (cleared per job) and keyed
by framePath::sourceTransfer::targetTransfer because convertTransfer
mutates the buffer in-place.

Only image layers receive the cache. Video layers would bloat memory
(every frame has a unique path: ~37 MB × 300 frames at 1080p ≈ 11 GB).
Images decode once and are blitted on every visible frame.

Also promotes the blitHdrVideoLayer catch block from log.debug to
log.warn — a blit failure means a missing/dropped HDR layer, which
is user-visible and shouldn't be silent at the default log level.

Made-with: Cursor
2026-04-19 14:46:52 -07:00
..
2026-04-18 22:36:20 +00:00
2026-04-18 22:36:20 +00:00