Skip to main content
Version: 0.8.3

mfx

Index

Advanced

constcodecs

codecs: { avc: { generateCodecString: (profile: AVCProfileLevel, level: AVCLevel) => string }; vp9: { autoSelectCodec: any } } = ...

Effects

constconvolution3x3Kernels

convolution3x3Kernels: { boxBlur: number[]; edge0: number[]; edge1: number[]; edge2: number[]; emboss: number[]; gaussianBlur: number[]; identity: number[]; sharpen: number[] } = ...

Type Aliases

GenericData

GenericData: ExtendedVideoFrame | AudioData

GenericTrack

GenericTrack<Sample>: VideoTrack<Sample> | AudioTrack<Sample>

Type parameters

  • Sample

Variables

constvisual

visual: { add: (video: ReadableStream<VideoFrame>, __namedParameters?: { additive?: Uniform<number>; alpha?: Uniform<number>; multiply?: Uniform<number>; normal?: Uniform<number>; screen?: Uniform<number> }) => MFXGLEffect[]; adjustment: (__namedParameters: { brightness?: Uniform<number>; contrast?: Uniform<number>; saturation?: Uniform<number> }) => MFXGLEffect[]; blur: (__namedParameters: { dirty?: boolean; passes?: number; quality?: Uniform<number> }) => MFXGLEffect[]; boxBlur: (__namedParameters?: { passes: number }) => MFXGLEffect[]; convolution3x3: (__namedParameters: { kernel: Uniform<number[]>; passes?: number }) => MFXGLEffect[]; edge: (__namedParameters?: { passes: number }) => MFXGLEffect[]; edge1: (__namedParameters?: { passes: number }) => MFXGLEffect[]; edge2: (__namedParameters?: { passes: number }) => MFXGLEffect[]; emboss: (__namedParameters?: { passes: number }) => MFXGLEffect[]; gaussianBlur: (__namedParameters?: { passes: number }) => MFXGLEffect[]; mask: (video: ReadableStream<VideoFrame>) => MFXGLEffect[]; rotate: (__namedParameters: { angle: Uniform<number>; origin?: Uniform<Vec3>; values: Uniform<Vec3> }) => MFXGLEffect[]; scale: (__namedParameters: { origin?: Uniform<Vec3>; values: Uniform<Vec3> }) => MFXGLEffect[]; sharpen: (__namedParameters?: { passes: number }) => MFXGLEffect[]; translate: (__namedParameters: { values: Uniform<Vec3> }) => MFXGLEffect[]; zoom: (__namedParameters: { factor?: Uniform<number>; x?: Uniform<number>; y?: Uniform<number> }, __namedParameters?: { isDirty?: boolean }) => MFXGLEffect[] } = ...