kairos-lib 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +7 -0
  2. package/dist/lib/encode-decode.d.ts +7 -0
  3. package/dist/lib/encode-decode.d.ts.map +1 -0
  4. package/dist/lib/encode-decode.js +32 -0
  5. package/dist/lib/encode-decode.js.map +1 -0
  6. package/dist/lib/lib.d.ts +2 -0
  7. package/dist/lib/lib.d.ts.map +1 -0
  8. package/dist/lib/lib.js +7 -0
  9. package/dist/lib/lib.js.map +1 -0
  10. package/dist/lib/omit-readonly.d.ts +23 -0
  11. package/dist/lib/omit-readonly.d.ts.map +1 -0
  12. package/dist/lib/omit-readonly.js +3 -0
  13. package/dist/lib/omit-readonly.js.map +1 -0
  14. package/dist/lib/reference.d.ts +165 -0
  15. package/dist/lib/reference.d.ts.map +1 -0
  16. package/dist/lib/reference.js +437 -0
  17. package/dist/lib/reference.js.map +1 -0
  18. package/dist/main.d.ts +5 -0
  19. package/dist/main.d.ts.map +1 -0
  20. package/dist/main.js +8 -0
  21. package/dist/main.js.map +1 -0
  22. package/dist/types/audio-mixer.d.ts +11 -0
  23. package/dist/types/audio-mixer.d.ts.map +1 -0
  24. package/dist/types/audio-mixer.js +3 -0
  25. package/dist/types/audio-mixer.js.map +1 -0
  26. package/dist/types/audio-player.d.ts +8 -0
  27. package/dist/types/audio-player.d.ts.map +1 -0
  28. package/dist/types/audio-player.js +3 -0
  29. package/dist/types/audio-player.js.map +1 -0
  30. package/dist/types/auxes.d.ts +31 -0
  31. package/dist/types/auxes.d.ts.map +1 -0
  32. package/dist/types/auxes.js +18 -0
  33. package/dist/types/auxes.js.map +1 -0
  34. package/dist/types/clip-player.d.ts +35 -0
  35. package/dist/types/clip-player.d.ts.map +1 -0
  36. package/dist/types/clip-player.js +16 -0
  37. package/dist/types/clip-player.js.map +1 -0
  38. package/dist/types/effects.d.ts +859 -0
  39. package/dist/types/effects.d.ts.map +1 -0
  40. package/dist/types/effects.js +70 -0
  41. package/dist/types/effects.js.map +1 -0
  42. package/dist/types/gfx-channel.d.ts +8 -0
  43. package/dist/types/gfx-channel.d.ts.map +1 -0
  44. package/dist/types/gfx-channel.js +3 -0
  45. package/dist/types/gfx-channel.js.map +1 -0
  46. package/dist/types/gfx-scene.d.ts +42 -0
  47. package/dist/types/gfx-scene.d.ts.map +1 -0
  48. package/dist/types/gfx-scene.js +3 -0
  49. package/dist/types/gfx-scene.js.map +1 -0
  50. package/dist/types/image-store.d.ts +39 -0
  51. package/dist/types/image-store.d.ts.map +1 -0
  52. package/dist/types/image-store.js +12 -0
  53. package/dist/types/image-store.js.map +1 -0
  54. package/dist/types/input.d.ts +44 -0
  55. package/dist/types/input.d.ts.map +1 -0
  56. package/dist/types/input.js +18 -0
  57. package/dist/types/input.js.map +1 -0
  58. package/dist/types/lib-types.d.ts +29 -0
  59. package/dist/types/lib-types.d.ts.map +1 -0
  60. package/dist/types/lib-types.js +16 -0
  61. package/dist/types/lib-types.js.map +1 -0
  62. package/dist/types/macro.d.ts +14 -0
  63. package/dist/types/macro.d.ts.map +1 -0
  64. package/dist/types/macro.js +12 -0
  65. package/dist/types/macro.js.map +1 -0
  66. package/dist/types/main.d.ts +16 -0
  67. package/dist/types/main.d.ts.map +1 -0
  68. package/dist/types/main.js +19 -0
  69. package/dist/types/main.js.map +1 -0
  70. package/dist/types/media.d.ts +8 -0
  71. package/dist/types/media.d.ts.map +1 -0
  72. package/dist/types/media.js +3 -0
  73. package/dist/types/media.js.map +1 -0
  74. package/dist/types/ramrec-player.d.ts +8 -0
  75. package/dist/types/ramrec-player.d.ts.map +1 -0
  76. package/dist/types/ramrec-player.js +3 -0
  77. package/dist/types/ramrec-player.js.map +1 -0
  78. package/dist/types/scene.d.ts +421 -0
  79. package/dist/types/scene.d.ts.map +1 -0
  80. package/dist/types/scene.js +122 -0
  81. package/dist/types/scene.js.map +1 -0
  82. package/dist/types/sources.d.ts +23 -0
  83. package/dist/types/sources.d.ts.map +1 -0
  84. package/dist/types/sources.js +13 -0
  85. package/dist/types/sources.js.map +1 -0
  86. package/package.json +31 -0
@@ -0,0 +1,859 @@
1
+ import type { OmitReadonly } from '../lib/omit-readonly.js';
2
+ import type { SourceRef } from '../lib/reference.js';
3
+ import type { ColorRGB, Pos2D, Pos2Df, Pos3Df } from './lib-types.js';
4
+ export interface EffectCropObject {
5
+ enabled: boolean;
6
+ /**
7
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated Crop
8
+ * value, the according slider, the numeric entry box or the arrow up/down icons can
9
+ * be used.
10
+ * [ float, min: 0, max: 1 ]
11
+ */
12
+ top: number;
13
+ /**
14
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated Crop
15
+ * value, the according slider, the numeric entry box or the arrow up/down icons can
16
+ * be used.
17
+ * [ float, min: 0, max: 1 ]
18
+ */
19
+ left: number;
20
+ /**
21
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated Crop
22
+ * value, the according slider, the numeric entry box or the arrow up/down icons can
23
+ * be used.
24
+ * [ float, min: 0, max: 1 ]
25
+ */
26
+ right: number;
27
+ /**
28
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated Crop
29
+ * value, the according slider, the numeric entry box or the arrow up/down icons can
30
+ * be used.
31
+ * [ float, min: 0, max: 1 ]
32
+ */
33
+ bottom: number;
34
+ /**
35
+ * Softness will be applied for all edges equally. The control range is from 0.00% to
36
+ * 100.00%. To adjust the "Softness" value, the according slider, the numeric entry box
37
+ * or the arrow up/down icons can be used.
38
+ * [ float, min: 0, max: 1 ]
39
+ */
40
+ softness: number;
41
+ /**
42
+ * With the slider "Rounded corners" the radius on the Top-Left, Top-Right, Bottom-
43
+ * Left and Bottom-Right corner of a selected Layer source can be adjusted, once
44
+ * "Crop" for this Layer is enabled. The control range is from 0.00% to 100.00%,
45
+ * default = 0.00%.
46
+ * [ float, min: 0, max: 1 ]
47
+ */
48
+ roundedCorners: number;
49
+ /**
50
+ * "Global Softness" is enabled by default. In this case the check box appears ticked.
51
+ * Apart from overall "Softness", all other Softness controls underneath are disabled.
52
+ */
53
+ globalSoftness: boolean;
54
+ /**
55
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated
56
+ * Softness value, the according slider, the numeric entry box or the arrow up/down
57
+ * icons can be used.
58
+ * [ float, read_only, min: 0, max: 1 ]
59
+ */
60
+ readonly softnessTop: number;
61
+ /**
62
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated
63
+ * Softness value, the according slider, the numeric entry box or the arrow up/down
64
+ * icons can be used.
65
+ * [ float, read_only, min: 0, max: 1 ]
66
+ */
67
+ readonly softnessLeft: number;
68
+ /**
69
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated
70
+ * Softness value, the according slider, the numeric entry box or the arrow up/down
71
+ * icons can be used.
72
+ * [ float, read_only, min: 0, max: 1 ]
73
+ */
74
+ readonly softnessRight: number;
75
+ /**
76
+ * The control range is from 0.00% to 100.00%. In order to adjust the designated
77
+ * Softness value, the according slider, the numeric entry box or the arrow up/down
78
+ * icons can be used.
79
+ * [ float, read_only, min: 0, max: 1 ]
80
+ */
81
+ readonly softnessBottom: number;
82
+ }
83
+ export interface EffectLuminanceKeyObject {
84
+ enabled: boolean;
85
+ /**
86
+ * In order to adjust the level for Clip, the according slider, the numeric entry box or the
87
+ * arrow up/down icons can be used. The "Clip" control range is from 0.00% to
88
+ * 100.00%. Default is at 50.00%.
89
+ * Clip control acts like an attenuator or amplifier to the processed Key signal.
90
+ * [ float, min: 0, max: 1 ]
91
+ */
92
+ clip: number;
93
+ /**
94
+ * In order to adjust the level for Clip, the according slider, the numeric entry box or the
95
+ * arrow up/down icons can be used. The "Clip" control range is from 1.00% to
96
+ * 1000.00%. Default is at 100.00%.
97
+ * Gain control acts like a Contrast or Focus control to the processed Key signal.
98
+ * [ float, min: 0.01, max: 10 ]
99
+ */
100
+ gain: number;
101
+ /**
102
+ * In order to adjust the level for Cleanup, the according slider, the numeric entry box
103
+ * or the arrow up/down icons can be used. The "Clip" control range is from 0.00% to
104
+ * 100.00%. Default is at 0.00%.
105
+ * Cleanup control is affecting the processed Key signal on the dark areas, resulting in
106
+ * making the Black even more Black, avoiding unwanted shaddows for example.
107
+ * [ float, min: -2, max: 2 ]
108
+ */
109
+ cleanup: number;
110
+ /**
111
+ * In order to adjust the level for Density, the according slider, the numeric entry box or
112
+ * the arrow up/down icons can be used. The "Clip" control range is from 0.00% to
113
+ * 100.00%. Default is at 0.00%.
114
+ * Density control is affecting the processed Key signal on the light areas, resulting in
115
+ * making the White even more White, avoiding unwanted transparency.
116
+ * [ float, min: -2, max: 2 ]
117
+ */
118
+ density: number;
119
+ /**
120
+ * When inverting the Key signal regardless of mode "Selfkey" or "Splitkey", the entire
121
+ * Black and White values of the Key signal will be inverted in luminance. When Invert
122
+ * is enabled the check box appears ticked.
123
+ */
124
+ invert: boolean;
125
+ /**
126
+ * When a "Luminance Key" operation is in progress the "Blend mode" drop down
127
+ * menu can be used to change from "Auto" mode direct into "Additive" or
128
+ * "Multiplicative" mode. Default mode is "Auto", in which the most common mode in
129
+ * respect to the actual selected Luminance Key source is used.
130
+ * In Additive mode the Key Signal is multiplied with the Background signal. The
131
+ * according Foreground Fill signal which mandatory has to be on a Black background,
132
+ * will be added on top, which means all Luminance and Chrominance levels higher
133
+ * than 0% Black. "Multiplicative" mode instead is multiplying the Foreground Fill
134
+ * signal.
135
+ */
136
+ blendMode: EffectLuminanceKeyBlendMode;
137
+ /**
138
+ * Enabling a "Source Key" apart from Default=none, will change the so called
139
+ * "Selfkey" mode into a "Split Key" mode.
140
+ * "Source Key" source selection allows the User to select a different source to be
141
+ * used as Key signal than the Layer source. Next to the Source Key source selection
142
+ * items, the actual selected source (Default=None)is displayed. Clicking on the
143
+ * symbol (Pen) right next to the setting, will open the according Source selection
144
+ * menu to select from all available listed external as well as internal sources.
145
+ * [ ObjectID ]
146
+ */
147
+ sourceKey: SourceRef | null;
148
+ }
149
+ export interface EffectTransform2DObject {
150
+ enabled: boolean;
151
+ /**
152
+ * Transform type selection
153
+ * 0 = 2D, 1 = 2.5D
154
+ */
155
+ type: EffectTransform2DType;
156
+ /**
157
+ * Default for "Scale" is 100.00% which is fullscreen size for selected Layer or
158
+ * Background Layer. So a "Scale" of e.g. 50.00% will result in a quarter sized Layer.
159
+ * The control range for "Scale" is from 0,00% to 1000,00% and adjustments can be
160
+ * done using the according slider, the numeric entry box or the arrow up/down icons.
161
+ * [ float, min: 0, max: 10 ]
162
+ */
163
+ scale: number;
164
+ /**
165
+ * ( can only be set if type=2.5D )
166
+ * [ float, min: -3.6, max: 3.6 ]
167
+ */
168
+ rotationX: number;
169
+ /**
170
+ * ( can only be set if type=2.5D )
171
+ * [ float, min: -3.6, max: 3.6 ]
172
+ */
173
+ rotationY: number;
174
+ /**
175
+ * The "Rotation" control range is from 0,00% to 999900,00% whereby a value of
176
+ * 25,00% and it's multiples is equivelant to angles of 90 degrees (and their multiples).
177
+ * Rotation adjustments can be applied using the according slider, the numeric entry
178
+ * box or the arrow up/down icons.
179
+ * [ float, min: -3.6, max: 3.6 ]
180
+ */
181
+ rotationZ: number;
182
+ /**
183
+ * The control range for "Rotation origin" is +/- 5.0000 in X/Y position and can be
184
+ * modified using the numeric entry box, the arrow up/down icons or the "drag-pad"
185
+ * located to the far right side at the "Rotation origin" item.
186
+ */
187
+ rotationOrigin: Pos3Df;
188
+ /**
189
+ * Default Layer "Position" is at X=0.0000/Y=0.0000 which is at center position. The
190
+ * "Position" control range in respect to the picture dimension is +/- 5.0000 in X/Y
191
+ * position and can be modified using the numeric entry box, the arrow up/down icons
192
+ * or the "drag-pad" located to the far right side at the "Position" item.
193
+ */
194
+ position: Pos3Df;
195
+ /**
196
+ * While the "Cubic interpolition" mode is disabled, the check box appears unticked
197
+ * and the linear interpolation method is used.
198
+ * The "Linear interpolation" is using a smaller amount of pixels in the
199
+ * Scaling/Positioning process and is mainly used when the target size of the image is
200
+ * smaller than the original image size. The "Cubic interpolation" mode is
201
+ * recommended when the target image size is enlarged compared to the original
202
+ * image size.
203
+ */
204
+ cubicInterpolation: boolean;
205
+ hideBackside: boolean;
206
+ /**
207
+ * [ float, min: -1, max: 1 ]
208
+ */
209
+ stretchH: number;
210
+ /**
211
+ * [ float, min: -1, max: 1 ]
212
+ */
213
+ stretchV: number;
214
+ }
215
+ export interface EffectChromaKeyObject {
216
+ enabled: boolean;
217
+ /**
218
+ * In order to adjust the level for Clip, the according slider, the numeric entry box or the
219
+ * arrow up/down icons can be used. The "Clip" control range is from 0.00% to
220
+ * 100.00%. Default is at 50.00%.
221
+ * Clip control acts like an attenuator or amplifier to the processed Key signal.
222
+ * [ float, min: 0, max: 1 ]
223
+ */
224
+ clip: number;
225
+ /**
226
+ * In order to adjust the level for Clip, the according slider, the numeric entry box or the
227
+ * arrow up/down icons can be used. The "Gain" control range is from 0.00% to
228
+ * 100.00%. Default is at 50.00%.
229
+ * Gain control acts like a Contrast or Focus control to the processed Key signal.
230
+ * [ float, min: 0.01, max: 10 ]
231
+ */
232
+ gain: number;
233
+ /**
234
+ * In order to adjust the level for Cleanup, the according slider, the numeric entry box
235
+ * or the arrow up/down icons can be used. The "Cleanup" control range is from 0.00%
236
+ * to 100.00%. Default is at 0.00%.
237
+ * Cleanup control is affecting the processed Key signal on the dark areas, resulting in
238
+ * making the Black even more Black, avoiding unwanted shaddows for example.
239
+ * [ float, min: -2, max: 2 ]
240
+ */
241
+ cleanup: number;
242
+ /**
243
+ * In order to adjust the level for Density, the according slider, the numeric entry box or
244
+ * the arrow up/down icons can be used. The "Density" control range is from 0.00% to
245
+ * 100.00%. Default is at 0.00%.
246
+ * Density control is affecting the processed Key signal on the light areas, resulting in
247
+ * making the White even more White, avoiding unwanted transparency.
248
+ * [ float, min: -2, max: 2 ]
249
+ */
250
+ density: number;
251
+ /**
252
+ * In order to adjust the level for Hue, the according slider, the numeric entry box or
253
+ * the arrow up/down icons can be used. The "Hue" control range is from 0.00 degree
254
+ * to 36000.00 degree. Default is at 22500.00 degree.
255
+ * Hue control is defining the Chroma angle inside a 360 degree color circle. Refering
256
+ * to a test pattern called "Hue" or also known as "Color Circle".
257
+ * [ float, min: 0, max: 3.60 ]
258
+ */
259
+ hue: number;
260
+ /**
261
+ * In order to adjust the level for Selectivity Left, the according slider, the numeric entry
262
+ * box or the arrow up/down icons can be used. The "Selectivity Left" control range is
263
+ * from 0.00 degree to 90.00 degree. Default is at 30.00 degree.
264
+ * When chroma key source is using a so called "Hue" test pattern, also known as
265
+ * "Color Circle", the Selectivity Left control is opening or closing the left shoulder of
266
+ * the used chroma key color. Maximum open is at 90.00 degree. In total Selectivity
267
+ * Left and Selectivity Right is 180.00 degree.
268
+ * [ float, min: 0, max: 0.9 ]
269
+ */
270
+ selectivityLeft: number;
271
+ /**
272
+ * In order to adjust the level for Selectivity Right, the according slider, the numeric
273
+ * entry box or the arrow up/down icons can be used. The "Selectivity Right" control
274
+ * range is from 0.00 degree to 90.00 degree. Default is at 30.00 degree.
275
+ * When chroma key source is using a so called "Hue" test pattern, also known as
276
+ * "Color Circle", the Selectivity Right control is opening or closing the right shoulder of
277
+ * the used chroma key color. Maximum open is at 90.00 degree. In total Selectivity
278
+ * Left and Selectivity Right is 180.00 degree.
279
+ * [ float, min: 0, max: 0.9 ]
280
+ */
281
+ selectivityRight: number;
282
+ /**
283
+ * In order to adjust the level for Luminance, the according slider, the numeric entry
284
+ * box or the arrow up/down icons can be used. The "Luminance" control range is from
285
+ * 0.00% to 100.00%. Default is at 50.00%.
286
+ * Luminance control is used to setup the level of luminance for the selected color and
287
+ * adjusted saturation.
288
+ * [ float, min: 0, max: 1 ]
289
+ */
290
+ luminance: number;
291
+ /**
292
+ * In order to adjust the level for Chroma, the according slider, the numeric entry box
293
+ * or the arrow up/down icons can be used. The "Chroma" control range is from 0.00%
294
+ * to 100.00%. Default is at 20.00%.
295
+ * Chroma control is used to setup the level of saturation for the selected color angle.
296
+ * [ float, min: 0, max: 1 ]
297
+ */
298
+ chroma: number;
299
+ /**
300
+ * In order to adjust the level for Achroma, the according slider, the numeric entry box
301
+ * or the arrow up/down icons can be used. The "Achroma" control range is from
302
+ * 0.00% to 100.00%. Default is at 0.00%.
303
+ * Achroma control can be used to limit the level of saturation formerly defined in
304
+ * "Chroma" control.
305
+ * [ float, min: 0, max: 1 ]
306
+ */
307
+ aChroma: number;
308
+ /**
309
+ * In order to adjust the level for Spill Supression, the according slider, the numeric
310
+ * entry box or the arrow up/down icons can be used. The "Spill Supression" control
311
+ * range is from 0.00% to 100.00%. Default is at 0.00%.
312
+ * Spill Supression is using the defined Chroma Key color area and opens the
313
+ * processed key whole in concentric direction and added to the main Key signal.
314
+ * [ float, min: 0, max: 1 ]
315
+ */
316
+ spillSupression: number;
317
+ /**
318
+ * [ float, min: 0, max: 1 ]
319
+ */
320
+ spillSupressionLeft: number;
321
+ /**
322
+ * [ float, min: 0, max: 1 ]
323
+ */
324
+ spillSupressionRight: number;
325
+ /**
326
+ * [ float, min: 0, max: 1 ]
327
+ */
328
+ noiseRemoval: number;
329
+ /**
330
+ * When inverting the Key signal regardless of mode "Selfkey" or "Splitkey", the entire
331
+ * Black and White values of the Key signal will be inverted such as the White areas
332
+ * will become transparent and the Black areas will becomes Opac. When Invert is
333
+ * enabled the check box appears ticked.
334
+ */
335
+ invert: boolean;
336
+ /**
337
+ * When FGD-Fade is enabled the key result is forced to be represented in "Additive
338
+ * Key" mode. Disabling FGD-Fade will cause that "Multiplicative Key" mode is
339
+ * enforced.
340
+ */
341
+ fgdFade: boolean;
342
+ /**
343
+ * Starting the Auto adjust task/procedure will ensure that all Chroma Key settings
344
+ * based on the most represented single color in the selected source will be optimized
345
+ * while running the auto setup procedure.
346
+ * [ int ]
347
+ */
348
+ autoState: number;
349
+ edgeSmoothingSize: EffectChromaKeyEdgeSmoothingSize;
350
+ }
351
+ export interface EffectYUVCorrectionObject {
352
+ enabled: boolean;
353
+ /**
354
+ * [ float, min: -1, max: 1 ]
355
+ */
356
+ pedestal: number;
357
+ /**
358
+ * Increasing or decreasing the Luminance Lift value in "YUV Correction Settings" is
359
+ * adding/subtracting luminance from selected source. The "Luminance Lift" control
360
+ * range is +/-100.00%. Default is at 0.00%. Adjustments can be applied using the
361
+ * according slider, the numeric entry box or the arrow up/down icons.
362
+ * [ float, min: -1, max: 1 ]
363
+ */
364
+ luminanceLift: number;
365
+ /**
366
+ * Increasing or decreasing the Luminance Gain value in "YUV Correction Settings" is
367
+ * multiplying luminance into selected source. Pure "Black" remains unaffected. The
368
+ * "Luminance gain" control range is from 0.00% to 600.00%. Default is at 100.00%.
369
+ * Adjustments can be applied using the according slider, the numeric entry box or the
370
+ * arrow up/down icons.
371
+ * [ float, min: 0.1, max: 10 ]
372
+ */
373
+ luminanceGain: number;
374
+ /**
375
+ * Increasing or decreasing the Luminance Gamma value in "YUV Correction Settings"
376
+ * is multiplying luminance only into the midtones on selected source. Pure "Black"
377
+ * and 100% "White" remains unaffected. The "Luminance gamma" control range is
378
+ * from 0.00% to 800.00%. Default is at 100.00%. Adjustments can be applied using
379
+ * the according slider, the numeric entry box or the arrow up/down icons.
380
+ * [ float, min: 0.1, max: 10 ]
381
+ */
382
+ luminanceGamma: number;
383
+ /**
384
+ * Increasing or decreasing the Contrast value in "YUV Correction Settings" is
385
+ * affecting the separation(positive range) or the morphing (negative range) of
386
+ * luminance values over the selected source. Pure "Black" and 100% "White" remains
387
+ * unaffected. The "Contrast" control range is +/-100.00%. Default is at 0.00%.
388
+ * Adjustments can be applied using the according slider, the numeric entry box or the
389
+ * arrow up/down icons.
390
+ * [ float, min: -1, max: 1 ]
391
+ */
392
+ contrast: number;
393
+ /**
394
+ * Increasing or decreasing the Saturation value in "YUV Correction Settings" is
395
+ * adding (positive range) or subtracting (negative range) Saturation into/from the
396
+ * selected source. Bringing the Saturation value down to "0"% will cause a true
397
+ * "Black/White" image as a result. The "Saturation" control range is from 0.00% to
398
+ * 500.00%. Default is at 100.00%. Adjustments can be applied using the according
399
+ * slider, the numeric entry box or the arrow up/down icons.
400
+ * [ float, min: 0, max: 2 ]
401
+ */
402
+ saturation: number;
403
+ /**
404
+ * Changing the UV-Rotation value in "YUV Correction Settings" is rotating/shifting the
405
+ * Color space on the selected source.The "Saturation" control range is +/-36000.00
406
+ * degree. Default is at 0.00%. Adjustments can be applied using the according slider,
407
+ * the numeric entry box or the arrow up/down icons.
408
+ * [ float, min: -3.6, max: 3.6 ]
409
+ */
410
+ uvRotation: number;
411
+ /**
412
+ * [ float, min: -1, max: 1 ]
413
+ */
414
+ cyanRed: number;
415
+ /**
416
+ * [ float, min: -1, max: 1 ]
417
+ */
418
+ magentaGreen: number;
419
+ /**
420
+ * [ float, min: -1, max: 1 ]
421
+ */
422
+ yellowBlue: number;
423
+ }
424
+ export interface EffectRGBCorrectionObject {
425
+ enabled: boolean;
426
+ /**
427
+ * [ float, min: -1, max: 1 ]
428
+ */
429
+ pedestalRed: number;
430
+ /**
431
+ * [ float, min: -1, max: 1 ]
432
+ */
433
+ pedestalGreen: number;
434
+ /**
435
+ * [ float, min: -1, max: 1 ]
436
+ */
437
+ pedestalBlue: number;
438
+ /**
439
+ * Increasing or decreasing the Lift Red value in "RGB Correction Settings" is
440
+ * adding/subtracting Red into/from selected source. The "Lift Red" control range is +/-
441
+ * 100.00%. Default is at 0.00%. Adjustments can be applied using the according
442
+ * slider, the numeric entry box or the arrow up/down icons.
443
+ * [ float, min: -1, max: 1 ]
444
+ */
445
+ liftRed: number;
446
+ /**
447
+ * [ float, min: -1, max: 1 ]
448
+ */
449
+ liftGreen: number;
450
+ /**
451
+ * [ float, min: -1, max: 1 ]
452
+ */
453
+ liftBlue: number;
454
+ /**
455
+ * Increasing or decreasing the Gain Red value in "RGB Correction Settings" is
456
+ * multiplying Red into selected source. Pure "Black" and 100% "White" remains
457
+ * unaffected. The "Gain Red" control range is from 0.00% to 600.00%. Default is at
458
+ * 100.00%. Adjustments can be applied using the according slider, the numeric entry
459
+ * box or the arrow up/down icons.
460
+ * [ float, min: 0.1, max: 10 ]
461
+ */
462
+ gainRed: number;
463
+ /**
464
+ * [ float, min: 0.1, max: 10 ]
465
+ */
466
+ gainGreen: number;
467
+ /**
468
+ * [ float, min: 0.1, max: 10 ]
469
+ */
470
+ gainBlue: number;
471
+ /**
472
+ * Increasing or decreasing the Gamma Red value in "RGB Correction Settings" is
473
+ * multiplying Red only into the midtones on selected source. Pure "Black" and 100%
474
+ * "White" remains unaffected when the default value gets increased. The "Gamma
475
+ * Red" control range is from 0.00% to 800.00%. Default is at 100.00%. Adjustments
476
+ * can be applied using the according slider, the numeric entry box or the arrow
477
+ * up/down icons.
478
+ * [ float, min: 0.1, max: 10 ]
479
+ */
480
+ gammaRed: number;
481
+ /**
482
+ * [ float, min: 0.1, max: 10 ]
483
+ */
484
+ gammaGreen: number;
485
+ /**
486
+ * [ float, min: 0.1, max: 10 ]
487
+ */
488
+ gammaBlue: number;
489
+ }
490
+ export interface EffectLUTCorrectionObject {
491
+ enabled: boolean;
492
+ /**
493
+ * The "Index" drop down menu contains 16 presets to choose from, such as
494
+ * "Cinema", "Cinema (Bright)", "Cinema (Cold)", "Cinema (Warm)", "Cinema (Drama)",
495
+ * "Artistic 1", "Artistic 2", "Artistic 3", "Artistic 4", "Artistic 5", "Artistic 6", "Artistic 7",
496
+ * "Artistic 8", "Artistic 9", "B and W 1" and "B and W 2".
497
+ * [ enum, min: 0, max: 15 ]
498
+ */
499
+ index: EffectLUTCorrectionIndex;
500
+ /**
501
+ * [ enum, min: 0, max: 1 ]
502
+ */
503
+ inputColorspace: EffectLUTCorrectionColorspace;
504
+ /**
505
+ * [ enum, min: 0, max: 1 ]
506
+ */
507
+ outputColorspace: EffectLUTCorrectionColorspace;
508
+ /**
509
+ * [ enum, min: 0, max: 1 ]
510
+ */
511
+ inputRange: EffectLUTCorrectionRange;
512
+ /**
513
+ * [ enum, min: 0, max: 1 ]
514
+ */
515
+ outputRange: EffectLUTCorrectionRange;
516
+ colorSpaceConversion: boolean;
517
+ }
518
+ export interface EffectVirtualPTZObject {
519
+ enabled: boolean;
520
+ /**
521
+ * The "Position" control range in respect to the picture dimension is +/- 5.0000 in X/Y
522
+ * position and can be modified using the numeric entry box, the arrow up/down icons
523
+ * or the "drag-pad" located to the far right side at the "Position" item. Default Layer
524
+ * "Position" is at X=0.0000/Y=0.0000
525
+ */
526
+ position: Pos2Df;
527
+ /**
528
+ * The control range for "Zoom" is from 100,00% to 500,00% and adjustments can be
529
+ * done using the according slider, the numeric entry box or the arrow up/down icons.
530
+ * Default for "Zoom" is 100.00%.
531
+ * [ float, min: 1, max: 15 ]
532
+ */
533
+ zoom: number;
534
+ }
535
+ export interface EffectToneCurveCorrectionObject {
536
+ enabled: boolean;
537
+ /**
538
+ * [ float, min: -0.1, max: 1.08 ]
539
+ */
540
+ blackRed: number;
541
+ /**
542
+ * [ float, min: -0.1, max: 1.08 ]
543
+ */
544
+ blackGreen: number;
545
+ /**
546
+ * [ float, min: -0.1, max: 1.08 ]
547
+ */
548
+ blackBlue: number;
549
+ /**
550
+ * [ float, min: -0.1, max: 1.08 ]
551
+ */
552
+ grayLowRed: number;
553
+ /**
554
+ * [ float, min: -0.1, max: 1.08 ]
555
+ */
556
+ grayLowGreen: number;
557
+ /**
558
+ * [ float, min: -0.1, max: 1.08 ]
559
+ */
560
+ grayLowBlue: number;
561
+ /**
562
+ * [ float, min: -0.1, max: 1.08 ]
563
+ */
564
+ grayHighRed: number;
565
+ /**
566
+ * [ float, min: -0.1, max: 1.08 ]
567
+ */
568
+ grayHighGreen: number;
569
+ /**
570
+ * [ float, min: -0.1, max: 1.08 ]
571
+ */
572
+ grayHighBlue: number;
573
+ /**
574
+ * [ float, min: -0.1, max: 1.08 ]
575
+ */
576
+ whiteRed: number;
577
+ /**
578
+ * [ float, min: -0.1, max: 1.08 ]
579
+ */
580
+ whiteGreen: number;
581
+ /**
582
+ * [ float, min: -0.1, max: 1.08 ]
583
+ */
584
+ whiteBlue: number;
585
+ }
586
+ export interface EffectMatrixCorrectionObject {
587
+ enabled: boolean;
588
+ /**
589
+ * [ float, min: -0.6, max: 0.6 ]
590
+ */
591
+ rgN: number;
592
+ /**
593
+ * [ float, min: -0.6, max: 0.6 ]
594
+ */
595
+ rgP: number;
596
+ /**
597
+ * [ float, min: -0.6, max: 0.6 ]
598
+ */
599
+ rbN: number;
600
+ /**
601
+ * [ float, min: -0.6, max: 0.6 ]
602
+ */
603
+ rbP: number;
604
+ /**
605
+ * [ float, min: -0.6, max: 0.6 ]
606
+ */
607
+ grN: number;
608
+ /**
609
+ * [ float, min: -0.6, max: 0.6 ]
610
+ */
611
+ grP: number;
612
+ /**
613
+ * [ float, min: -0.6, max: 0.6 ]
614
+ */
615
+ gbN: number;
616
+ /**
617
+ * [ float, min: -0.6, max: 0.6 ]
618
+ */
619
+ gbP: number;
620
+ /**
621
+ * [ float, min: -0.6, max: 0.6 ]
622
+ */
623
+ brN: number;
624
+ /**
625
+ * [ float, min: -0.6, max: 0.6 ]
626
+ */
627
+ brP: number;
628
+ /**
629
+ * [ float, min: -0.6, max: 0.6 ]
630
+ */
631
+ bgN: number;
632
+ /**
633
+ * [ float, min: -0.6, max: 0.6 ]
634
+ */
635
+ bgP: number;
636
+ /**
637
+ * [ float, min: -0.3, max: 0.3 ]
638
+ */
639
+ redPhase: number;
640
+ /**
641
+ * [ float, min: 0.0, max: 2.0 ]
642
+ */
643
+ redLevel: number;
644
+ /**
645
+ * [ float, min: -0.3, max: 0.3 ]
646
+ */
647
+ yellowPhase: number;
648
+ /**
649
+ * [ float, min: 0.0, max: 2.0 ]
650
+ */
651
+ yellowLevel: number;
652
+ /**
653
+ * [ float, min: -0.3, max: 0.3 ]
654
+ */
655
+ greenPhase: number;
656
+ /**
657
+ * [ float, min: 0.0, max: 2.0 ]
658
+ */
659
+ greenLevel: number;
660
+ /**
661
+ * [ float, min: -0.3, max: 0.3 ]
662
+ */
663
+ cyanPhase: number;
664
+ /**
665
+ * [ float, min: 0.0, max: 2.0 ]
666
+ */
667
+ cyanLevel: number;
668
+ /**
669
+ * [ float, min: -0.3, max: 0.3 ]
670
+ */
671
+ bluePhase: number;
672
+ /**
673
+ * [ float, min: 0.0, max: 2.0 ]
674
+ */
675
+ blueLevel: number;
676
+ /**
677
+ * [ float, min: -0.3, max: 0.3 ]
678
+ */
679
+ magentaPhase: number;
680
+ /**
681
+ * [ float, min: 0.0, max: 2.0 ]
682
+ */
683
+ magentaLevel: number;
684
+ }
685
+ export interface EffectTemperatureCorrectionObject {
686
+ enabled: boolean;
687
+ /**
688
+ * [ int, min: 1000, max: 40000 ]
689
+ */
690
+ temperature: number;
691
+ /**
692
+ * [ float, min: -0.5, max: 0.5 ]
693
+ */
694
+ tint: number;
695
+ keepLuminance: boolean;
696
+ }
697
+ export interface EffectLinearKeyObject {
698
+ enabled: boolean;
699
+ invert: boolean;
700
+ /**
701
+ * [ ObjectID ]
702
+ */
703
+ keySource: SourceRef | null;
704
+ blendMode: EffectLinearKeyBlendMode;
705
+ }
706
+ export interface EffectPositionObject {
707
+ enabled: boolean;
708
+ position: Pos2D;
709
+ /**
710
+ * [ int, min: 1, max: 4096 ]
711
+ */
712
+ width: number;
713
+ /**
714
+ * [ int, min: 1, max: 4096 ]
715
+ */
716
+ height: number;
717
+ /**
718
+ * [ enum, min: 0, max: 3 ]
719
+ */
720
+ rotate: EffectPositionRotate;
721
+ }
722
+ export interface EffectPCropObject {
723
+ enabled: boolean;
724
+ /**
725
+ * [ int, min: 0, max: 1024 ]
726
+ */
727
+ left: number;
728
+ /**
729
+ * [ int, min: 0, max: 1024 ]
730
+ */
731
+ right: number;
732
+ /**
733
+ * [ int, min: 0, max: 1024 ]
734
+ */
735
+ top: number;
736
+ /**
737
+ * [ int, min: 0, max: 1024 ]
738
+ */
739
+ bottom: number;
740
+ }
741
+ export interface EffectFilmLookObject {
742
+ /**
743
+ * [ float, min: 0, max: 1 ]
744
+ */
745
+ crack: number;
746
+ /**
747
+ * [ float, min: 0, max: 1 ]
748
+ */
749
+ spots: number;
750
+ /**
751
+ * [ float, min: -1, max: 1 ]
752
+ */
753
+ grain: number;
754
+ /**
755
+ * [ float, min: 0, max: 1 ]
756
+ */
757
+ shake: number;
758
+ /**
759
+ * [ float, min: 0, max: 1 ]
760
+ */
761
+ shadow: number;
762
+ colorMode: EffectFilmLookColorMode;
763
+ /**
764
+ * [ float, min: 0, max: 1 ]
765
+ */
766
+ colorStrength: number;
767
+ }
768
+ export interface EffectGlowEffectObject {
769
+ /**
770
+ * [ float, min: 0, max: 1 ]
771
+ */
772
+ clip: number;
773
+ /**
774
+ * [ float, min: 0.01, max: 10 ]
775
+ */
776
+ gain: number;
777
+ /**
778
+ * [ float, min: 0, max: 1 ]
779
+ */
780
+ softness: number;
781
+ glowColor: ColorRGB;
782
+ }
783
+ export declare enum EffectLuminanceKeyBlendMode {
784
+ Auto = "Auto",
785
+ Additive = "Additive",
786
+ Multiplicative = "Multiplicative"
787
+ }
788
+ export declare enum EffectTransform2DType {
789
+ TwoD = "2D",
790
+ TwoPointFiveD = "2.5D"
791
+ }
792
+ export declare enum EffectChromaKeyEdgeSmoothingSize {
793
+ Off = "Off",
794
+ Small = "Small"
795
+ }
796
+ export declare enum EffectLUTCorrectionIndex {
797
+ Cinema = "Cinema",
798
+ CinemaBright = "Cinema (Bright)",
799
+ CinemaCold = "Cinema (Cold)",
800
+ CinemaWarm = "Cinema (Warm)",
801
+ CinemaDrama = "Cinema (Drama)",
802
+ Artistic1 = "Artistic 1",
803
+ Artistic2 = "Artistic 2",
804
+ Artistic3 = "Artistic 3",
805
+ Artistic4 = "Artistic 4",
806
+ Artistic5 = "Artistic 5",
807
+ BWOne = "B&W 1",
808
+ BWTwo = "B&W 2",
809
+ User1 = "User 1",
810
+ User2 = "User 2",
811
+ User3 = "User 3",
812
+ User4 = "User 4"
813
+ }
814
+ export declare enum EffectLUTCorrectionColorspace {
815
+ BT709 = "BT709",
816
+ BT2020BT2100 = "BT2020-BT2100"
817
+ }
818
+ export declare enum EffectLUTCorrectionRange {
819
+ Normal = "Normal",
820
+ Full = "Full"
821
+ }
822
+ export declare enum EffectLinearKeyBlendMode {
823
+ Auto = "Auto",
824
+ Additive = "Additive",
825
+ Multiplicative = "Multiplicative"
826
+ }
827
+ export declare enum EffectPositionRotate {
828
+ Rotate0 = "0\u00B0",
829
+ Rotate90 = "90\u00B0",
830
+ Rotate180 = "180\u00B0",
831
+ Rotate270 = "270\u00B0"
832
+ }
833
+ export declare enum EffectFilmLookColorMode {
834
+ NotChanged = "Not changed",
835
+ Monocrome = "Monocrome",
836
+ Sepia = "Sepia",
837
+ Film = "Film"
838
+ }
839
+ export type UpdateEffectCropObject = OmitReadonly<EffectCropObject>;
840
+ export type UpdateEffectLuminanceKeyObject = OmitReadonly<EffectLuminanceKeyObject> & {
841
+ sourceKey: SourceRef;
842
+ };
843
+ export type UpdateEffectTransform2DObject = OmitReadonly<EffectTransform2DObject>;
844
+ export type UpdateEffectChromaKeyObject = OmitReadonly<EffectChromaKeyObject>;
845
+ export type UpdateEffectYUVCorrectionObject = OmitReadonly<EffectYUVCorrectionObject>;
846
+ export type UpdateEffectRGBCorrectionObject = OmitReadonly<EffectRGBCorrectionObject>;
847
+ export type UpdateEffectLUTCorrectionObject = OmitReadonly<EffectLUTCorrectionObject>;
848
+ export type UpdateEffectVirtualPTZObject = OmitReadonly<EffectVirtualPTZObject>;
849
+ export type UpdateEffectToneCurveCorrectionObject = OmitReadonly<EffectToneCurveCorrectionObject>;
850
+ export type UpdateEffectMatrixCorrectionObject = OmitReadonly<EffectMatrixCorrectionObject>;
851
+ export type UpdateEffectTemperatureCorrectionObject = OmitReadonly<EffectTemperatureCorrectionObject>;
852
+ export type UpdateEffectLinearKeyObject = OmitReadonly<EffectLinearKeyObject> & {
853
+ keySource: SourceRef;
854
+ };
855
+ export type UpdateEffectPositionObject = OmitReadonly<EffectPositionObject>;
856
+ export type UpdateEffectPCropObject = OmitReadonly<EffectPCropObject>;
857
+ export type UpdateEffectFilmLookObject = OmitReadonly<EffectFilmLookObject>;
858
+ export type UpdateEffectGlowEffectObject = OmitReadonly<EffectGlowEffectObject>;
859
+ //# sourceMappingURL=effects.d.ts.map