mfx
Version:
In-browser video editing toolkit, with effects accelerated by WebGL
2,151 lines • 504 kB
JSON
{
"id": 0,
"name": "mfx",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 605,
"name": "shaders",
"variant": "declaration",
"kind": 4,
"flags": {},
"children": [
{
"id": 611,
"name": "Uniform",
"variant": "declaration",
"kind": 2097152,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 6,
"character": 12,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L6"
}
],
"typeParameters": [
{
"id": 612,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": 612,
"name": "T",
"package": "mfx",
"refersToTypeParameter": true
},
{
"type": "reference",
"target": 606,
"typeArguments": [
{
"type": "reference",
"target": 612,
"name": "T",
"package": "mfx",
"refersToTypeParameter": true
}
],
"name": "UniformProducer",
"package": "mfx"
}
]
}
},
{
"id": 606,
"name": "UniformProducer",
"variant": "declaration",
"kind": 2097152,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 5,
"character": 12,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L5"
}
],
"typeParameters": [
{
"id": 610,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 607,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 5,
"character": 33,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L5"
}
],
"signatures": [
{
"id": 608,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"parameters": [
{
"id": 609,
"name": "frame",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 476,
"name": "ExtendedVideoFrame",
"package": "mfx"
}
}
],
"type": {
"type": "reference",
"target": 610,
"name": "T",
"package": "mfx",
"refersToTypeParameter": true
}
}
]
}
}
},
{
"id": 625,
"name": "adjustment",
"variant": "declaration",
"kind": 64,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 37,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L37"
}
],
"signatures": [
{
"id": 626,
"name": "adjustment",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 37,
"character": 26,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L37"
}
],
"parameters": [
{
"id": 627,
"name": "__namedParameters",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 628,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 630,
"name": "brightness",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 43,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L43"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "1"
},
{
"id": 631,
"name": "contrast",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 44,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L44"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "1"
},
{
"id": 629,
"name": "saturation",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 42,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L42"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "1"
}
],
"groups": [
{
"title": "Properties",
"children": [
630,
631,
629
]
}
],
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 41,
"character": 3,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L41"
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/effects/GLEffect.ts",
"qualifiedName": "Effect"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Effect",
"package": "mfx"
}
}
]
},
{
"id": 613,
"name": "blur",
"variant": "declaration",
"kind": 64,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 8,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L8"
}
],
"signatures": [
{
"id": 614,
"name": "blur",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 8,
"character": 20,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L8"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/effects/GLEffect.ts",
"qualifiedName": "Effect"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Effect",
"package": "mfx"
}
}
]
},
{
"id": 615,
"name": "convolution",
"variant": "declaration",
"kind": 64,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 12,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L12"
}
],
"signatures": [
{
"id": 616,
"name": "convolution",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 12,
"character": 27,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L12"
}
],
"parameters": [
{
"id": 617,
"name": "kernel",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "number"
}
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/effects/GLEffect.ts",
"qualifiedName": "Effect"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Effect",
"package": "mfx"
}
}
]
},
{
"id": 618,
"name": "zoom",
"variant": "declaration",
"kind": 64,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 21,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L21"
}
],
"signatures": [
{
"id": 619,
"name": "zoom",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 21,
"character": 20,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L21"
}
],
"parameters": [
{
"id": 620,
"name": "__namedParameters",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 621,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 622,
"name": "factor",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 26,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L26"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "1"
},
{
"id": 623,
"name": "x",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 27,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L27"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "0.5"
},
{
"id": 624,
"name": "y",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 28,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L28"
}
],
"type": {
"type": "reference",
"target": 611,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
],
"name": "Uniform",
"package": "mfx"
},
"defaultValue": "0.5"
}
],
"groups": [
{
"title": "Properties",
"children": [
622,
623,
624
]
}
],
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 25,
"character": 3,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L25"
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../lib/effects/GLEffect.ts",
"qualifiedName": "Effect"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Effect",
"package": "mfx"
}
}
]
}
],
"groups": [
{
"title": "Type Aliases",
"children": [
611,
606
]
},
{
"title": "Functions",
"children": [
625,
613,
615,
618
]
}
],
"sources": [
{
"fileName": "lib/effects/shaders/index.ts",
"line": 1,
"character": 0,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/shaders/index.ts#L1"
}
]
},
{
"id": 808,
"name": "TrackType",
"variant": "declaration",
"kind": 8,
"flags": {},
"children": [
{
"id": 810,
"name": "Audio",
"variant": "declaration",
"kind": 16,
"flags": {},
"sources": [
{
"fileName": "lib/container/Track.ts",
"line": 3,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L3"
}
],
"type": {
"type": "literal",
"value": "audio"
}
},
{
"id": 809,
"name": "Video",
"variant": "declaration",
"kind": 16,
"flags": {},
"sources": [
{
"fileName": "lib/container/Track.ts",
"line": 2,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L2"
}
],
"type": {
"type": "literal",
"value": "video"
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [
810,
809
]
}
],
"sources": [
{
"fileName": "lib/container/Track.ts",
"line": 1,
"character": 12,
"url": "https://github.com/schahriar/mfx/blob/master/lib/container/Track.ts#L1"
}
]
},
{
"id": 155,
"name": "Compositor",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 156,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 57,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L57"
}
],
"signatures": [
{
"id": 157,
"name": "new Compositor",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 57,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L57"
}
],
"parameters": [
{
"id": 158,
"name": "pipeline",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": {
"sourceFileName": "../lib/effects/Compositor.ts",
"qualifiedName": "Layer"
},
"name": "Layer",
"package": "mfx"
}
}
},
{
"id": 159,
"name": "canvas",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "HTMLCanvasElement"
},
"name": "HTMLCanvasElement",
"package": "typescript"
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": 155,
"name": "Compositor",
"package": "mfx"
},
"overwrites": {
"type": "reference",
"target": 539,
"name": "MFXTransformStream.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 538,
"name": "MFXTransformStream.constructor"
}
},
{
"id": 162,
"name": "drained",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 55,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L55"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
},
{
"id": 167,
"name": "desiredSize",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 158,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L158"
}
],
"getSignature": {
"id": 168,
"name": "desiredSize",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 158,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L158"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.desiredSize"
}
},
"inheritedFrom": {
"type": "reference",
"target": 554,
"name": "MFXTransformStream.desiredSize"
}
},
{
"id": 160,
"name": "identifier",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 51,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L51"
}
],
"getSignature": {
"id": 161,
"name": "identifier",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 51,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L51"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.identifier"
}
},
"overwrites": {
"type": "reference",
"target": 549,
"name": "MFXTransformStream.identifier"
}
},
{
"id": 169,
"name": "track",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 162,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L162"
}
],
"getSignature": {
"id": 170,
"name": "track",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 162,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L162"
}
],
"type": {
"type": "reference",
"target": 831,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.track"
}
},
"inheritedFrom": {
"type": "reference",
"target": 556,
"name": "MFXTransformStream.track"
}
},
{
"id": 183,
"name": "addEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 200,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L200"
}
],
"signatures": [
{
"id": 184,
"name": "addEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 200,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L200"
}
],
"parameters": [
{
"id": 185,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 186,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 187,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "AddEventListenerOptions"
},
"name": "AddEventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 571,
"name": "MFXTransformStream.addEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 570,
"name": "MFXTransformStream.addEventListener"
}
},
{
"id": 180,
"name": "dispatchError",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 193,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L193"
}
],
"signatures": [
{
"id": 181,
"name": "dispatchError",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 193,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L193"
}
],
"parameters": [
{
"id": 182,
"name": "error",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 568,
"name": "MFXTransformStream.dispatchError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 567,
"name": "MFXTransformStream.dispatchError"
}
},
{
"id": 177,
"name": "dispatchEvent",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 189,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L189"
}
],
"signatures": [
{
"id": 178,
"name": "dispatchEvent",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 189,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L189"
}
],
"parameters": [
{
"id": 179,
"name": "event",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Event"
},
"name": "Event",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 565,
"name": "MFXTransformStream.dispatchEvent"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 564,
"name": "MFXTransformStream.dispatchEvent"
}
},
{
"id": 174,
"name": "queue",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 172,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L172"
}
],
"signatures": [
{
"id": 175,
"name": "queue",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 172,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L172"
}
],
"parameters": [
{
"id": 176,
"name": "items",
"variant": "param",
"kind": 32768,
"flags": {
"isRest": true
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 476,
"name": "ExtendedVideoFrame",
"package": "mfx"
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 562,
"name": "MFXTransformStream.queue"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 561,
"name": "MFXTransformStream.queue"
}
},
{
"id": 188,
"name": "removeEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 208,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L208"
}
],
"signatures": [
{
"id": 189,
"name": "removeEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 208,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L208"
}
],
"parameters": [
{
"id": 190,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 191,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 192,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOptions"
},
"name": "EventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 576,
"name": "MFXTransformStream.removeEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 575,
"name": "MFXTransformStream.removeEventListener"
}
},
{
"id": 171,
"name": "setTrack",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 166,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L166"
}
],
"signatures": [
{
"id": 172,
"name": "setTrack",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 166,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L166"
}
],
"parameters": [
{
"id": 173,
"name": "track",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 831,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
}
}
],
"type": {
"type": "reference",
"target": 155,
"name": "Compositor",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": 559,
"name": "MFXTransformStream.setTrack"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 558,
"name": "MFXTransformStream.setTrack"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
156
]
},
{
"title": "Properties",
"children": [
162
]
},
{
"title": "Accessors",
"children": [
167,
160,
169
]
},
{
"title": "Methods",
"children": [
183,
180,
177,
174,
188,
171
]
}
],
"sources": [
{
"fileName": "lib/effects/Compositor.ts",
"line": 47,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/effects/Compositor.ts#L47"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 537,
"typeArguments": [
{
"type": "reference",
"target": 476,
"name": "ExtendedVideoFrame",
"package": "mfx"
},
{
"type": "reference",
"target": 476,
"name": "ExtendedVideoFrame",
"package": "mfx"
}
],
"name": "MFXTransformStream",
"package": "mfx"
}
]
},
{
"id": 283,
"name": "ConsoleWritableStream",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 284,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 12,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L12"
}
],
"signatures": [
{
"id": 285,
"name": "new ConsoleWritableStream",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 12,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L12"
}
],
"typeParameter": [
{
"id": 286,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 287,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 283,
"typeArguments": [
{
"type": "reference",
"target": 286,
"name": "T",
"package": "mfx",
"qualifiedName": "ConsoleWritableStream.T",
"refersToTypeParameter": true
}
],
"name": "ConsoleWritableStream",
"package": "mfx"
}
}
]
},
{
"id": 288,
"name": "writable",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 10,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L10"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "WritableStream"
},
"typeArguments": [
{
"type": "reference",
"target": 286,
"name": "T",
"package": "mfx",
"qualifiedName": "ConsoleWritableStream.T",
"refersToTypeParameter": true
}
],
"name": "WritableStream",
"package": "typescript"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
284
]
},
{
"title": "Properties",
"children": [
288
]
}
],
"sources": [
{
"fileName": "lib/debug.ts",
"line": 9,
"character": 13,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L9"
}
],
"typeParameters": [
{
"id": 289,
"name": "T",
"variant": "typeParam",
"kind": 131072,
"flags": {},
"default": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 290,
"name": "Digest",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 291,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 50,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L50"
}
],
"signatures": [
{
"id": 292,
"name": "new Digest",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 50,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L50"
}
],
"parameters": [
{
"id": 293,
"name": "cb",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 294,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 51,
"character": 8,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L51"
}
],
"signatures": [
{
"id": 295,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 51,
"character": 8,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L51"
}
],
"parameters": [
{
"id": 296,
"name": "sum",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
},
{
"id": 297,
"name": "final",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 298,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 52,
"character": 11,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L52"
}
],
"signatures": [
{
"id": 299,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 52,
"character": 11,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L52"
}
],
"parameters": [
{
"id": 300,
"name": "sum",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": 290,
"name": "Digest",
"package": "mfx"
},
"overwrites": {
"type": "reference",
"target": 539,
"name": "MFXTransformStream.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 538,
"name": "MFXTransformStream.constructor"
}
},
{
"id": 303,
"name": "globalChecksum",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 49,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L49"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"\""
},
{
"id": 308,
"name": "desiredSize",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 158,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L158"
}
],
"getSignature": {
"id": 309,
"name": "desiredSize",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 158,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L158"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.desiredSize"
}
},
"inheritedFrom": {
"type": "reference",
"target": 554,
"name": "MFXTransformStream.desiredSize"
}
},
{
"id": 301,
"name": "identifier",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 45,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L45"
}
],
"getSignature": {
"id": 302,
"name": "identifier",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/debug.ts",
"line": 45,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/debug.ts#L45"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.identifier"
}
},
"overwrites": {
"type": "reference",
"target": 549,
"name": "MFXTransformStream.identifier"
}
},
{
"id": 310,
"name": "track",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 162,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L162"
}
],
"getSignature": {
"id": 311,
"name": "track",
"variant": "signature",
"kind": 524288,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 162,
"character": 6,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L162"
}
],
"type": {
"type": "reference",
"target": 831,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "GenericTrack",
"package": "mfx"
},
"inheritedFrom": {
"type": "reference",
"target": -1,
"name": "MFXTransformStream.track"
}
},
"inheritedFrom": {
"type": "reference",
"target": 556,
"name": "MFXTransformStream.track"
}
},
{
"id": 324,
"name": "addEventListener",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 200,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L200"
}
],
"signatures": [
{
"id": 325,
"name": "addEventListener",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 200,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L200"
}
],
"parameters": [
{
"id": 326,
"name": "type",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 327,
"name": "callback",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "EventListenerOrEventListenerObject"
},
"name": "EventListenerOrEventListenerObject",
"package": "typescript"
}
},
{
"id": 328,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "AddEventListenerOptions"
},
"name": "AddEventListenerOptions",
"package": "typescript"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 571,
"name": "MFXTransformStream.addEventListener"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 570,
"name": "MFXTransformStream.addEventListener"
}
},
{
"id": 321,
"name": "dispatchError",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 193,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L193"
}
],
"signatures": [
{
"id": 322,
"name": "dispatchError",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "lib/stream.ts",
"line": 193,
"character": 2,
"url": "https://github.com/schahriar/mfx/blob/master/lib/stream.ts#L193"
}
],
"parameters": [
{
"id": 323,
"name": "error",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"target": 568,
"name": "MFXTransformStream.dispatchError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 567,
"name": "MFXTransformStream.dispatchErr