Package-level declarations
Types
Stores one kind of stage output in a cache entry folder. write gets an empty folder; read gets a folder an earlier write filled completely, and throws an IOException when its content is not what write leaves, so StageCache can discard the entry and compute it again.
A cache entry whose content is not readable as what its stage wrote.
Names one stage output: the stage that produced it and a hash of everything the output depends on — the stage's algorithm version, its parameters and its inputs. The same inputs and parameters always give the same key, on every machine and in every run; change any of them, or bump the version when the algorithm changes, and the key changes, so a stale output is never read back.
Feeds the inputs and parameters of one stage output into its CacheKey.
A model, as value.json in the same canonical form every Roto JSON file has.
Label maps — zone or palette indices, one map per frame — stored as opaque gray levels.
Masks, one per frame, stored as their Mask.toRaster.
A sequence of per-frame values that each convert to and from one Raster, stored through RasterSequenceCacheCodec: masks, label maps.
One raster, as raster.png.
A sequence of rasters — a clip's frames, or one mask per frame — as 000000.png, 000001.png, … Frame i is always fileName of i, and the sequence ends at the first number with no file.
Stage outputs stored on disk under folder (a profile's cache/), one entry folder per CacheKey at <stage>/<hash>/.