mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
export interface HardwareEncoderCapability {
|
|
available: boolean;
|
|
backend: 'nvenc' | 'videotoolbox' | 'none';
|
|
compiled: boolean;
|
|
runtime: boolean;
|
|
codecs: Array<string>;
|
|
zeroCopy: boolean;
|
|
nativeInputs: Array<'dmabuf' | 'd3d11-texture' | string>;
|
|
reason?: string;
|
|
detail?: string;
|
|
}
|
|
|
|
export declare function getHardwareEncoderCapabilities(): HardwareEncoderCapability;
|