mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-20 09:05:51 +00:00
The renderer maps a top-level region of interest back through a 2D footage layer's transform to the footage rows it shows, grown by the resampling (wider at a reduced scale) and the effects' declared margins (effects::pixel_margin: 0 for the per-pixel 3D Channel effects). It reads the whole frame for 3D layers, motion blur, frame blending, fields, layer styles, effects that don't declare, and comps that read layers' pixels elsewhere (layer parameters, expressions); a layer read in part isn't layer-cached. FootageSource::frame_rows hands the rows to the media pool, which keys the frame by them and reads only those rows (1-line chunks: exactly those lines), for footage whose channels no effect reads. Pixels in the region are those of a whole-frame read.