alpha2 0.4.6 → 0.5.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 (123) hide show
  1. package/README.md +5 -4
  2. package/THIRD_PARTY_NOTICES.md +4 -0
  3. package/dist/abort.d.ts +12 -0
  4. package/dist/abort.js +48 -0
  5. package/dist/active-clock.d.ts +35 -0
  6. package/dist/active-clock.js +99 -0
  7. package/dist/assets.d.ts +51 -22
  8. package/dist/assets.js +8 -12
  9. package/dist/audio-layout.d.ts +52 -74
  10. package/dist/audio-layout.js +114 -148
  11. package/dist/audio-timeline.d.ts +89 -117
  12. package/dist/audio-timeline.js +102 -118
  13. package/dist/audio-worker.d.ts +12 -21
  14. package/dist/audio-worker.js +8 -13
  15. package/dist/audio-worklet-processor.js +45 -58
  16. package/dist/audio-worklet.d.ts +45 -76
  17. package/dist/audio-worklet.js +44 -79
  18. package/dist/audio.d.ts +15 -23
  19. package/dist/audio.js +9 -13
  20. package/dist/builder.d.ts +45 -63
  21. package/dist/builder.js +49 -45
  22. package/dist/capabilities.d.ts +99 -16
  23. package/dist/capabilities.js +2 -2
  24. package/dist/captions.d.ts +45 -22
  25. package/dist/captions.js +60 -15
  26. package/dist/chroma-siting.d.ts +24 -41
  27. package/dist/chroma-siting.js +38 -71
  28. package/dist/containers.d.ts +41 -30
  29. package/dist/containers.js +59 -27
  30. package/dist/decoder-fallback.d.ts +13 -0
  31. package/dist/decoder-fallback.js +38 -0
  32. package/dist/decoder-order.d.ts +24 -39
  33. package/dist/decoder-order.js +28 -42
  34. package/dist/edit.d.ts +77 -154
  35. package/dist/edit.js +98 -180
  36. package/dist/effects.d.ts +125 -176
  37. package/dist/effects.js +7 -9
  38. package/dist/export-destination.d.ts +25 -41
  39. package/dist/export-destination.js +20 -32
  40. package/dist/export-failure.d.ts +34 -59
  41. package/dist/export-failure.js +54 -48
  42. package/dist/export-metrics.d.ts +116 -0
  43. package/dist/export-metrics.js +74 -0
  44. package/dist/export-retry.d.ts +46 -29
  45. package/dist/export-retry.js +86 -51
  46. package/dist/exporter.d.ts +67 -116
  47. package/dist/exporter.js +133 -133
  48. package/dist/extensions.d.ts +69 -115
  49. package/dist/extensions.js +55 -82
  50. package/dist/frame-intake.d.ts +92 -0
  51. package/dist/frame-intake.js +114 -0
  52. package/dist/frame-supply.d.ts +96 -162
  53. package/dist/frame-supply.js +181 -171
  54. package/dist/frames.d.ts +23 -0
  55. package/dist/frames.js +34 -0
  56. package/dist/generated/project-schema.d.ts +712 -485
  57. package/dist/generated/project-schema.js +55 -2
  58. package/dist/generated/project-shape.js +276 -16
  59. package/dist/geometry.d.ts +28 -34
  60. package/dist/geometry.js +18 -23
  61. package/dist/gpu-recovery.d.ts +92 -0
  62. package/dist/gpu-recovery.js +135 -0
  63. package/dist/hdr-frames.d.ts +82 -67
  64. package/dist/hdr-frames.js +112 -49
  65. package/dist/index.d.ts +6 -0
  66. package/dist/index.js +6 -0
  67. package/dist/json-text.d.ts +13 -23
  68. package/dist/json-text.js +10 -20
  69. package/dist/layout-values.d.ts +14 -22
  70. package/dist/layout-values.js +18 -21
  71. package/dist/layout.d.ts +48 -63
  72. package/dist/layout.js +37 -37
  73. package/dist/loudness.d.ts +27 -32
  74. package/dist/loudness.js +19 -23
  75. package/dist/media.d.ts +85 -237
  76. package/dist/media.js +133 -287
  77. package/dist/mediabunny.d.ts +178 -246
  78. package/dist/mediabunny.js +781 -583
  79. package/dist/paint.d.ts +23 -0
  80. package/dist/paint.js +37 -0
  81. package/dist/physical-frames.d.ts +5 -17
  82. package/dist/physical-frames.js +4 -11
  83. package/dist/player.d.ts +56 -47
  84. package/dist/player.js +155 -40
  85. package/dist/presented-frames.d.ts +2 -7
  86. package/dist/presented-frames.js +3 -8
  87. package/dist/project.d.ts +74 -118
  88. package/dist/project.js +384 -445
  89. package/dist/rate-control.d.ts +9 -23
  90. package/dist/rate-control.js +7 -18
  91. package/dist/renderer-choice.d.ts +41 -0
  92. package/dist/renderer-choice.js +82 -0
  93. package/dist/repacked-bytes.d.ts +0 -2
  94. package/dist/repacked-bytes.js +2 -5
  95. package/dist/robustness.d.ts +25 -37
  96. package/dist/robustness.js +71 -54
  97. package/dist/sha256.d.ts +5 -13
  98. package/dist/sha256.js +9 -24
  99. package/dist/text.d.ts +97 -71
  100. package/dist/text.js +33 -70
  101. package/dist/video-frames.d.ts +7 -25
  102. package/dist/video-frames.js +12 -29
  103. package/dist/waveform.d.ts +5 -11
  104. package/dist/waveform.js +4 -9
  105. package/dist/worker-error.d.ts +5 -20
  106. package/dist/worker-error.js +8 -25
  107. package/dist/worker.d.ts +82 -95
  108. package/dist/worker.js +235 -143
  109. package/package.json +26 -2
  110. package/wasm/alpha2_audio_worklet.wasm +0 -0
  111. package/wasm/alpha2_extensions.d.ts +26 -47
  112. package/wasm/alpha2_extensions.js +26 -47
  113. package/wasm/alpha2_extensions_bg.wasm +0 -0
  114. package/wasm/alpha2_wasm.d.ts +501 -587
  115. package/wasm/alpha2_wasm.js +661 -616
  116. package/wasm/alpha2_wasm_bg.wasm +0 -0
  117. package/wasm/alpha2_wasm_bg.wasm.d.ts +22 -12
  118. package/wasm/rust-crate-licenses.md +2 -2
  119. package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-070d94113471ef0a}/inline1.js +1 -0
  120. package/wasm/snippets/alpha2-wasm-070d94113471ef0a/inline2.js +82 -0
  121. package/wasm/snippets/alpha2-wasm-c62e60c964e88a52/inline2.js +0 -52
  122. /package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-070d94113471ef0a}/inline0.js +0 -0
  123. /package/wasm/snippets/{alpha2-wasm-c62e60c964e88a52 → alpha2-wasm-070d94113471ef0a}/inline3.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alpha2",
3
- "version": "0.4.6",
3
+ "version": "0.5.1",
4
4
  "license": "MIT",
5
5
  "description": "JavaScript bindings for the standalone alpha2 media engine.",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "scripts": {
23
23
  "build": "npm run build:wasm && npm run build:js",
24
- "build:js": "rm -rf dist && tsc -p tsconfig.json",
24
+ "build:js": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
25
25
  "build:wasm": "node scripts/build-wasm.mjs"
26
26
  },
27
27
  "exports": {
@@ -45,6 +45,10 @@
45
45
  "types": "./dist/export-destination.d.ts",
46
46
  "import": "./dist/export-destination.js"
47
47
  },
48
+ "./export-metrics": {
49
+ "types": "./dist/export-metrics.d.ts",
50
+ "import": "./dist/export-metrics.js"
51
+ },
48
52
  "./export-retry": {
49
53
  "types": "./dist/export-retry.d.ts",
50
54
  "import": "./dist/export-retry.js"
@@ -57,6 +61,26 @@
57
61
  "types": "./dist/frame-supply.d.ts",
58
62
  "import": "./dist/frame-supply.js"
59
63
  },
64
+ "./gpu-recovery": {
65
+ "types": "./dist/gpu-recovery.d.ts",
66
+ "import": "./dist/gpu-recovery.js"
67
+ },
68
+ "./renderer-choice": {
69
+ "types": "./dist/renderer-choice.d.ts",
70
+ "import": "./dist/renderer-choice.js"
71
+ },
72
+ "./worker-error": {
73
+ "types": "./dist/worker-error.d.ts",
74
+ "import": "./dist/worker-error.js"
75
+ },
76
+ "./abort": {
77
+ "types": "./dist/abort.d.ts",
78
+ "import": "./dist/abort.js"
79
+ },
80
+ "./active-clock": {
81
+ "types": "./dist/active-clock.d.ts",
82
+ "import": "./dist/active-clock.js"
83
+ },
60
84
  "./assets": {
61
85
  "types": "./dist/assets.d.ts",
62
86
  "import": "./dist/assets.js"
Binary file
@@ -10,13 +10,11 @@ export class ExtensionRegistry {
10
10
  free(): void;
11
11
  [Symbol.dispose](): void;
12
12
  /**
13
- * Forgets every registered font. Sources opened before keep the fonts
14
- * they opened with.
13
+ * Forgets every registered font; open sources keep theirs.
15
14
  */
16
15
  clearFonts(): void;
17
16
  /**
18
- * The resources rendering a source at a source tick reads, as a JSON
19
- * array of locators: those it does not already hold.
17
+ * Locators rendering at a source tick reads that the source does not hold, as a JSON array.
20
18
  *
21
19
  * # Errors
22
20
  * When the handle is not open.
@@ -27,27 +25,25 @@ export class ExtensionRegistry {
27
25
  */
28
26
  constructor();
29
27
  /**
30
- * The resources opening a project's provider source (JSON) reads, as a
31
- * JSON array of locators: an image sequence's first frame.
28
+ * Locators opening a provider source (JSON) reads, as a JSON array.
32
29
  *
33
30
  * # Errors
34
31
  * When the provider source is not valid JSON.
35
32
  */
36
33
  openNeeds(provider: string): string;
37
34
  /**
38
- * Opens a project's provider source (JSON) with its own bytes (none for
39
- * an image sequence), returning a handle.
35
+ * Opens a provider source (JSON) with its bytes (none for an image sequence) and returns a
36
+ * handle.
40
37
  *
41
38
  * # Errors
42
- * Why the source cannot be opened.
39
+ * If the source cannot be opened.
43
40
  */
44
41
  open(provider: string, bytes?: Uint8Array | null): number;
45
42
  /**
46
- * What the first provider that claims `bytes` finds, as JSON
47
- * `{ provider, report }`, or `undefined` when none does.
43
+ * The first claiming provider's result as JSON `{ provider, report }`, or `undefined`.
48
44
  *
49
45
  * # Errors
50
- * Why bytes a provider claims cannot be read.
46
+ * If a claiming provider cannot read the bytes.
51
47
  */
52
48
  probe(bytes: Uint8Array): string | undefined;
53
49
  /**
@@ -55,27 +51,21 @@ export class ExtensionRegistry {
55
51
  */
56
52
  providers(): string;
57
53
  /**
58
- * Another reader of an opened source, positioned on its own, returning
59
- * its handle: it shares what the source decoded when it opened (an
60
- * animation's file, checked frames, and kept frames) with the source
61
- * and every other reader made from either, and decodes on its own. The
62
- * readers stay valid when the source they were made from is released.
63
- * `undefined` for a source that draws any time as cheaply, which a
64
- * page shares instead.
54
+ * A handle to another independently positioned reader that shares the source's decoded
55
+ * data. It stays valid after the original is closed. `undefined` when any time is equally
56
+ * cheap to draw, so the page should share the source.
65
57
  *
66
58
  * # Errors
67
59
  * When the handle is not open.
68
60
  */
69
61
  reader(handle: number): number | undefined;
70
62
  /**
71
- * Registers a font an SVG's text may draw with, after those registered
72
- * before. A source reads the fonts when it opens.
63
+ * Registers a font for SVG text. Sources read fonts when they open.
73
64
  */
74
65
  registerFont(bytes: Uint8Array): void;
75
66
  /**
76
- * Registers bytes under a locator: an image sequence's frame, or an
77
- * image an SVG names. A source reads them when it opens or renders, so
78
- * a page may register them only for that call (see [`Self::needs`]).
67
+ * Registers bytes under a locator. Sources read them only during open or render, so a page
68
+ * may register them just for that call (see [`Self::needs`]).
79
69
  */
80
70
  registerResource(locator: string, bytes: Uint8Array): void;
81
71
  /**
@@ -87,9 +77,8 @@ export class ExtensionRegistry {
87
77
  */
88
78
  release(handle: number): void;
89
79
  /**
90
- * The frame a source shows at a source tick, rasterized to fit
91
- * `fit_width` by `fit_height` when it is a vector source (0 by 0 for its
92
- * own size).
80
+ * The frame at a source tick. Vector sources rasterize to fit `fit_width` by `fit_height`
81
+ * (0 by 0 for their own size).
93
82
  *
94
83
  * # Errors
95
84
  * When the handle is not open or the frame cannot be produced.
@@ -103,22 +92,18 @@ export class ExtensionRegistry {
103
92
  */
104
93
  report(handle: number): string;
105
94
  /**
106
- * The bytes an opened source holds between renders: its decoded frames
107
- * and images, its last rendered frame, its file's bytes when it keeps
108
- * them. A page that bounds what its open sources hold counts this.
95
+ * Bytes an open source holds between renders (cached frames, images, and file bytes).
109
96
  *
110
97
  * # Errors
111
98
  * When the handle is not open.
112
99
  */
113
100
  residentBytes(handle: number): number;
114
101
  /**
115
- * The bytes registered under locators, all together.
102
+ * Total bytes registered under locators.
116
103
  */
117
104
  resourceBytes(): number;
118
105
  /**
119
- * Of [`Self::resident_bytes`], what the source shares with the readers
120
- * made from it ([`Self::reader`]): the same bytes for each, which a page
121
- * counts once.
106
+ * The part of [`Self::resident_bytes`] shared with [`Self::reader`] readers, counted once.
122
107
  *
123
108
  * # Errors
124
109
  * When the handle is not open.
@@ -138,18 +123,16 @@ export class RenderedFrame {
138
123
  free(): void;
139
124
  [Symbol.dispose](): void;
140
125
  /**
141
- * What producing the frame found, as a JSON array of diagnostics.
126
+ * Diagnostics, as a JSON array.
142
127
  */
143
128
  readonly diagnostics: string;
144
129
  /**
145
- * The first source tick it no longer shows at, or `undefined` for the
146
- * last frame.
130
+ * The first source tick it no longer shows at, or `undefined` for the last frame.
147
131
  */
148
132
  readonly endTicks: bigint | undefined;
149
133
  /**
150
- * Premultiplied linear-light RGBA half floats (their bits) in BT.709
151
- * primaries, rows packed; empty for another precision. Copied once,
152
- * as [`Self::pixels`] is.
134
+ * Premultiplied linear-light RGBA half-float bits, BT.709 primaries, rows packed; empty for
135
+ * another precision.
153
136
  */
154
137
  readonly halfPixels: Uint16Array;
155
138
  /**
@@ -161,19 +144,15 @@ export class RenderedFrame {
161
144
  */
162
145
  readonly index: number;
163
146
  /**
164
- * Premultiplied, sRGB-encoded RGBA8 rows, packed; empty for another
165
- * precision. Copied once, from the pixels the source shares, straight
166
- * into a new JavaScript array.
147
+ * Premultiplied, sRGB-encoded, packed RGBA8 rows; empty for another precision.
167
148
  */
168
149
  readonly pixels: Uint8Array;
169
150
  /**
170
- * The pixels' precision: `rgba8` for [`Self::pixels`], `linear_f16`
171
- * for [`Self::half_pixels`].
151
+ * `rgba8` for [`Self::pixels`], `linear_f16` for [`Self::half_pixels`].
172
152
  */
173
153
  readonly precision: string;
174
154
  /**
175
- * The first source tick it shows at; 0 for the first frame, which also
176
- * answers every earlier time.
155
+ * The first source tick it shows at; 0 for the first frame.
177
156
  */
178
157
  readonly startTicks: bigint;
179
158
  /**
@@ -19,8 +19,7 @@ export class ExtensionRegistry {
19
19
 
20
20
  }
21
21
  /**
22
- * Forgets every registered font. Sources opened before keep the fonts
23
- * they opened with.
22
+ * Forgets every registered font; open sources keep theirs.
24
23
  */
25
24
  clearFonts() {
26
25
  if (this.__wbg_inst !== undefined && this.__wbg_inst !== __wbg_instance_id) {
@@ -30,8 +29,7 @@ export class ExtensionRegistry {
30
29
  wasm.extensionregistry_clearFonts(this.__wbg_ptr);
31
30
  }
32
31
  /**
33
- * The resources rendering a source at a source tick reads, as a JSON
34
- * array of locators: those it does not already hold.
32
+ * Locators rendering at a source tick reads that the source does not hold, as a JSON array.
35
33
  *
36
34
  * # Errors
37
35
  * When the handle is not open.
@@ -76,8 +74,7 @@ export class ExtensionRegistry {
76
74
  return this;
77
75
  }
78
76
  /**
79
- * The resources opening a project's provider source (JSON) reads, as a
80
- * JSON array of locators: an image sequence's first frame.
77
+ * Locators opening a provider source (JSON) reads, as a JSON array.
81
78
  *
82
79
  * # Errors
83
80
  * When the provider source is not valid JSON.
@@ -111,11 +108,11 @@ export class ExtensionRegistry {
111
108
  }
112
109
  }
113
110
  /**
114
- * Opens a project's provider source (JSON) with its own bytes (none for
115
- * an image sequence), returning a handle.
111
+ * Opens a provider source (JSON) with its bytes (none for an image sequence) and returns a
112
+ * handle.
116
113
  *
117
114
  * # Errors
118
- * Why the source cannot be opened.
115
+ * If the source cannot be opened.
119
116
  * @param {string} provider
120
117
  * @param {Uint8Array | null} [bytes]
121
118
  * @returns {number}
@@ -137,11 +134,10 @@ export class ExtensionRegistry {
137
134
  return ret[0] >>> 0;
138
135
  }
139
136
  /**
140
- * What the first provider that claims `bytes` finds, as JSON
141
- * `{ provider, report }`, or `undefined` when none does.
137
+ * The first claiming provider's result as JSON `{ provider, report }`, or `undefined`.
142
138
  *
143
139
  * # Errors
144
- * Why bytes a provider claims cannot be read.
140
+ * If a claiming provider cannot read the bytes.
145
141
  * @param {Uint8Array} bytes
146
142
  * @returns {string | undefined}
147
143
  */
@@ -187,13 +183,9 @@ export class ExtensionRegistry {
187
183
  }
188
184
  }
189
185
  /**
190
- * Another reader of an opened source, positioned on its own, returning
191
- * its handle: it shares what the source decoded when it opened (an
192
- * animation's file, checked frames, and kept frames) with the source
193
- * and every other reader made from either, and decodes on its own. The
194
- * readers stay valid when the source they were made from is released.
195
- * `undefined` for a source that draws any time as cheaply, which a
196
- * page shares instead.
186
+ * A handle to another independently positioned reader that shares the source's decoded
187
+ * data. It stays valid after the original is closed. `undefined` when any time is equally
188
+ * cheap to draw, so the page should share the source.
197
189
  *
198
190
  * # Errors
199
191
  * When the handle is not open.
@@ -213,8 +205,7 @@ export class ExtensionRegistry {
213
205
  return ret[0] === Number.MAX_SAFE_INTEGER ? undefined : ret[0];
214
206
  }
215
207
  /**
216
- * Registers a font an SVG's text may draw with, after those registered
217
- * before. A source reads the fonts when it opens.
208
+ * Registers a font for SVG text. Sources read fonts when they open.
218
209
  * @param {Uint8Array} bytes
219
210
  */
220
211
  registerFont(bytes) {
@@ -227,9 +218,8 @@ export class ExtensionRegistry {
227
218
  wasm.extensionregistry_registerFont(this.__wbg_ptr, ptr0, len0);
228
219
  }
229
220
  /**
230
- * Registers bytes under a locator: an image sequence's frame, or an
231
- * image an SVG names. A source reads them when it opens or renders, so
232
- * a page may register them only for that call (see [`Self::needs`]).
221
+ * Registers bytes under a locator. Sources read them only during open or render, so a page
222
+ * may register them just for that call (see [`Self::needs`]).
233
223
  * @param {string} locator
234
224
  * @param {Uint8Array} bytes
235
225
  */
@@ -269,9 +259,8 @@ export class ExtensionRegistry {
269
259
  wasm.extensionregistry_release(this.__wbg_ptr, handle);
270
260
  }
271
261
  /**
272
- * The frame a source shows at a source tick, rasterized to fit
273
- * `fit_width` by `fit_height` when it is a vector source (0 by 0 for its
274
- * own size).
262
+ * The frame at a source tick. Vector sources rasterize to fit `fit_width` by `fit_height`
263
+ * (0 by 0 for their own size).
275
264
  *
276
265
  * # Errors
277
266
  * When the handle is not open or the frame cannot be produced.
@@ -326,9 +315,7 @@ export class ExtensionRegistry {
326
315
  }
327
316
  }
328
317
  /**
329
- * The bytes an opened source holds between renders: its decoded frames
330
- * and images, its last rendered frame, its file's bytes when it keeps
331
- * them. A page that bounds what its open sources hold counts this.
318
+ * Bytes an open source holds between renders (cached frames, images, and file bytes).
332
319
  *
333
320
  * # Errors
334
321
  * When the handle is not open.
@@ -348,7 +335,7 @@ export class ExtensionRegistry {
348
335
  return ret[0] >>> 0;
349
336
  }
350
337
  /**
351
- * The bytes registered under locators, all together.
338
+ * Total bytes registered under locators.
352
339
  * @returns {number}
353
340
  */
354
341
  resourceBytes() {
@@ -361,9 +348,7 @@ export class ExtensionRegistry {
361
348
  return ret >>> 0;
362
349
  }
363
350
  /**
364
- * Of [`Self::resident_bytes`], what the source shares with the readers
365
- * made from it ([`Self::reader`]): the same bytes for each, which a page
366
- * counts once.
351
+ * The part of [`Self::resident_bytes`] shared with [`Self::reader`] readers, counted once.
367
352
  *
368
353
  * # Errors
369
354
  * When the handle is not open.
@@ -426,7 +411,7 @@ export class RenderedFrame {
426
411
 
427
412
  }
428
413
  /**
429
- * What producing the frame found, as a JSON array of diagnostics.
414
+ * Diagnostics, as a JSON array.
430
415
  * @returns {string}
431
416
  */
432
417
  get diagnostics() {
@@ -448,8 +433,7 @@ export class RenderedFrame {
448
433
  }
449
434
  }
450
435
  /**
451
- * The first source tick it no longer shows at, or `undefined` for the
452
- * last frame.
436
+ * The first source tick it no longer shows at, or `undefined` for the last frame.
453
437
  * @returns {bigint | undefined}
454
438
  */
455
439
  get endTicks() {
@@ -462,9 +446,8 @@ export class RenderedFrame {
462
446
  return ret[0] === 0 ? undefined : ret[1];
463
447
  }
464
448
  /**
465
- * Premultiplied linear-light RGBA half floats (their bits) in BT.709
466
- * primaries, rows packed; empty for another precision. Copied once,
467
- * as [`Self::pixels`] is.
449
+ * Premultiplied linear-light RGBA half-float bits, BT.709 primaries, rows packed; empty for
450
+ * another precision.
468
451
  * @returns {Uint16Array}
469
452
  */
470
453
  get halfPixels() {
@@ -503,9 +486,7 @@ export class RenderedFrame {
503
486
  return ret >>> 0;
504
487
  }
505
488
  /**
506
- * Premultiplied, sRGB-encoded RGBA8 rows, packed; empty for another
507
- * precision. Copied once, from the pixels the source shares, straight
508
- * into a new JavaScript array.
489
+ * Premultiplied, sRGB-encoded, packed RGBA8 rows; empty for another precision.
509
490
  * @returns {Uint8Array}
510
491
  */
511
492
  get pixels() {
@@ -518,8 +499,7 @@ export class RenderedFrame {
518
499
  return ret;
519
500
  }
520
501
  /**
521
- * The pixels' precision: `rgba8` for [`Self::pixels`], `linear_f16`
522
- * for [`Self::half_pixels`].
502
+ * `rgba8` for [`Self::pixels`], `linear_f16` for [`Self::half_pixels`].
523
503
  * @returns {string}
524
504
  */
525
505
  get precision() {
@@ -541,8 +521,7 @@ export class RenderedFrame {
541
521
  }
542
522
  }
543
523
  /**
544
- * The first source tick it shows at; 0 for the first frame, which also
545
- * answers every earlier time.
524
+ * The first source tick it shows at; 0 for the first frame.
546
525
  * @returns {bigint}
547
526
  */
548
527
  get startTicks() {
Binary file