filmout_manager/dist/sequence/index.d.ts

49 lines
1.3 KiB
TypeScript
Raw Normal View History

import type { SequenceObject, ImageObject } from '../files';
2024-08-05 02:34:03 +00:00
import type { FD } from '../fd';
import type { Camera } from '../camera';
import type { Display } from '../display';
import type { FFPROBE } from '../ffprobe';
declare enum SequenceStatus {
IDLE = 0,
RUNNING = 1,
PAUSED = 2
}
export declare class Sequence {
private log;
private current;
private info;
private images;
2024-08-05 02:34:03 +00:00
private camera;
private display;
private ffprobe;
2024-08-05 02:34:03 +00:00
private fd;
private send;
private running;
private paused;
private progress;
private frame;
private frames;
private exposure;
constructor(camera: Camera, fd: FD, display: Display, ffprobe: FFPROBE, send: Function);
start(): void;
stop(): void;
isRunning(): boolean;
private run;
load(seq: SequenceObject): Promise<void>;
updateClientsOnLoad(): void;
updateClientsOnState(): void;
private enumerate;
unload(): void;
getState(): State;
getUpdateState(): State;
getSequenceState(): SequenceState;
setExposure(ms: number): void;
getStatus(): SequenceStatus;
getCurrent(): ImageObject;
frameAdvance(frames?: number): void;
frameRewind(frames?: number): void;
frameSet(frame: number): void;
private frameRecord;
}
export {};