/** * captureHdrSequentialLoop — the legacy sequential HDR / shader-transition * frame loop. Single DOM session, single-threaded per-frame work. Used by: * * - HDR renders (HDR video raw-frame sources are fd-bound to one worker) * - single-worker SDR renders * - the all-transition edge case (parallel workers buy nothing there) * * Sister of `captureHdrHybridLoop.ts`. Both consume the same per-frame * primitives from `captureHdrFrameShared.ts` so behavior parity is enforced * by reusing the helpers rather than by careful comment-keeping. */ import { type CaptureSession, type StreamingEncoder } from "@hyperframes/engine"; import type { ProducerLogger } from "../../../logger.js"; import { type HdrCompositeContext, type HdrPerfCollector, type ProgressCallback, type RenderJob, type TransitionRange } from "../../renderOrchestrator.js"; export interface SequentialLoopInput { job: RenderJob; log: ProducerLogger; width: number; height: number; totalFrames: number; nativeHdrIds: Set; nativeHdrImageIds: Set; hdrCompositeCtx: HdrCompositeContext; hdrPerf: HdrPerfCollector | undefined; hdrEncoder: StreamingEncoder; domSession: CaptureSession; transitionRanges: TransitionRange[]; sceneElements: Record; compositeTransfer: "srgb" | "pq" | "hlg"; hdrTargetTransfer: "pq" | "hlg" | undefined; hdrVideoEndTimes: Map; cleanedUpVideos: Set; hdrVideoFrameSources: Map; debugDumpEnabled: boolean; debugDumpDir: string | null; assertNotAborted: () => void; onProgress?: ProgressCallback; } export declare function runSequentialLayeredFrameLoop(input: SequentialLoopInput): Promise; //# sourceMappingURL=captureHdrSequentialLoop.d.ts.map