VideoResizeAlgorithm type

Resampling filter for resizes Norsk performs on Nvidia hardware (encode ladder rungs, video transform, smooth switcher). Every filter is anti-aliased when downscaling.

  • cubic (default): sharp, close to a conventional bicubic scaler. - linear: cheapest, but visibly softer. - lanczos: sharpest; may show slight ringing on hard edges.

Signature:

export type VideoResizeAlgorithm = "linear" | "cubic" | "lanczos";