VFX-JS
    Preparing search index...

    Type Alias DatamoshParams

    type DatamoshParams = {
        blockSize: number;
        chromaGain: number;
        colorSpace: DatamoshColorSpace;
        dup: number;
        healRate: number;
        healThreshold: number;
        searchRange: number;
        searchStep: number;
        useResidual: boolean;
        view: DatamoshView;
    }
    Index

    Properties

    blockSize: number

    Motion-estimation block size in px.

    chromaGain: number

    Chroma saturation boost (YCbCr output). 1 = unchanged.

    colorSpace: DatamoshColorSpace

    Color model. "ycbcr" is 4:2:0 (half-res chroma w/ truncated MV).

    dup: number

    P-frame duplication: re-apply the frame's motion this many extra
    times per frame, dragging the accumulator further along the field
    (the bloom/smear amplifier). 0 = one normal application.

    healRate: number

    Chance per block per frame to refresh from the clean frame (0..1).
    Ramp up to heal the mosh gradually.
    Works with healThreshold: a block refreshes if either one hits.

    healThreshold: number

    Refresh blocks whose best motion match is worse than this.
    Mean abs diff per channel (0..1); 1 = never.

    searchRange: number

    Motion search radius, in steps. Coverage = searchRange * searchStep px.

    searchStep: number

    Pixels per search step. Widens coverage at a fixed candidate count.

    useResidual: boolean

    Add the residual during decode (off = pure motion).

    Stage shown on the canvas.