import { clContext as nodenCLContext, OpenCLBuffer } from 'nodencl'; import { ClJobs } from '../clJobQueue'; export declare type YadifMode = 'send_frame' | 'send_field' | 'send_frame_nospatial' | 'send_field_nospatial'; export declare type YadifConfig = { mode: YadifMode; tff: boolean; }; export default class Yadif { private readonly clContext; private readonly clJobs; private readonly width; private readonly height; private readonly config; private readonly interlaced; private readonly sendField; private readonly skipSpatial; private yadifCl; private in; private out; constructor(clContext: nodenCLContext, clJobs: ClJobs, width: number, height: number, config: YadifConfig, interlaced: boolean); init(): Promise; private makeOutput; private runYadif; processFrame(input: OpenCLBuffer, outputs: Array, sourceID: string): Promise; release(): void; }