yuv-rx
Version:
Reading videos as Rx Observables of decoded frames
13 lines (12 loc) • 372 B
TypeScript
import { YuvFrame } from './frame';
/**
* Bilinear resize grayscale image. Target dimension is w * h.
*
* w * h cannot be zero.
*
* @param w
* New width.
* @param h
* New height. Optional, calculated to preserve frame aspect ratio if not given.
*/
export declare function scaleBilinear(w: number, h?: number): (frame: YuvFrame) => YuvFrame;