libpag
Version:
Portable Animated Graphics
32 lines (31 loc) • 756 B
TypeScript
/**
* VideoDecode wait frame num.
*/
export declare const VIDEO_DECODE_WAIT_FRAME = 3;
/**
* VideoDecode seek timeout frame num.
*/
export declare const VIDEO_DECODE_SEEK_TIMEOUT_FRAME = 12;
/**
* NAL unit length. [ 0, 0, 0, 1 ]
*/
export declare const NALU_HEADER_LENGTH = 4;
/**
* Web safe font.
*/
export declare const WEB_SAFE_FONT = "Arial";
/**
* Default render canvas size.
*/
export declare const DEFAULT_CANVAS_SIZE = 2560;
/**
* Default WebGL ContextAttributes
*/
export declare const WEBGL_CONTEXT_ATTRIBUTES: {
depth: boolean;
stencil: boolean;
antialias: boolean;
};
export declare const VIDEO_PLAYBACK_RATE_MIN = 0.125;
export declare const VIDEO_PLAYBACK_RATE_MAX = 4;
export declare const CANVAS_POOL_MAX_SIZE = 10;