SpectrumSettings interface

Signature:

export interface SpectrumSettings extends ProcessorNodeSettings<SpectrumNode>

Properties

Property Type Description

buildOptions?

SpectrumBuildOptions

(Optional) Optional build-time knobs. See SpectrumBuildOptions.

nvidiaOutput?

boolean

(Optional) When set, the spectrum processor runs its GPU-mode pipeline regardless of whether the input frame is host (InMemory) or an NVIDIA surface, and emits nvidia-output frames. Useful when the downstream consumer (e.g. an nv-h264 encoder) expects a GPU surface and you want to avoid the host→GPU bounce that would otherwise happen via a separate payload-to-surface step.

Default: false (host-in/host-out or gpu-in/gpu-out, inferred from the input).

outputs

SpectrumOutputSpec[]

Non-empty list of outputs. One frame stream is produced per entry, sharing a single internal expression DAG so common subtrees (sources, resizes, tone maps, …​) are evaluated once.