|
1928 | 1928 | <xmp class='idl'>
|
1929 | 1929 | dictionary VideoDecoderConfig {
|
1930 | 1930 | required DOMString codec;
|
1931 |
| - [AllowShared] BufferSource description; |
| 1931 | + AllowSharedBufferSource description; |
1932 | 1932 | [EnforceRange] unsigned long codedWidth;
|
1933 | 1933 | [EnforceRange] unsigned long codedHeight;
|
1934 | 1934 | [EnforceRange] unsigned long displayAspectWidth;
|
|
2461 | 2461 | readonly attribute unsigned long long? duration; // microseconds
|
2462 | 2462 | readonly attribute unsigned long byteLength;
|
2463 | 2463 |
|
2464 |
| - undefined copyTo([AllowShared] BufferSource destination); |
| 2464 | + undefined copyTo(AllowSharedBufferSource destination); |
2465 | 2465 | };
|
2466 | 2466 |
|
2467 | 2467 | dictionary EncodedAudioChunkInit {
|
|
2551 | 2551 | readonly attribute unsigned long long? duration; // microseconds
|
2552 | 2552 | readonly attribute unsigned long byteLength;
|
2553 | 2553 |
|
2554 |
| - undefined copyTo([AllowShared] BufferSource destination); |
| 2554 | + undefined copyTo(AllowSharedBufferSource destination); |
2555 | 2555 | };
|
2556 | 2556 |
|
2557 | 2557 | dictionary EncodedVideoChunkInit {
|
2558 | 2558 | required EncodedVideoChunkType type;
|
2559 | 2559 | [EnforceRange] required long long timestamp; // microseconds
|
2560 | 2560 | [EnforceRange] unsigned long long duration; // microseconds
|
2561 |
| - required [AllowShared] BufferSource data; |
| 2561 | + required AllowSharedBufferSource data; |
2562 | 2562 | };
|
2563 | 2563 |
|
2564 | 2564 | enum EncodedVideoChunkType {
|
|
2715 | 2715 | readonly attribute long long timestamp; // microseconds
|
2716 | 2716 |
|
2717 | 2717 | unsigned long allocationSize(AudioDataCopyToOptions options);
|
2718 |
| - undefined copyTo([AllowShared] BufferSource destination, AudioDataCopyToOptions options); |
| 2718 | + undefined copyTo(AllowSharedBufferSource destination, AudioDataCopyToOptions options); |
2719 | 2719 | AudioData clone();
|
2720 | 2720 | undefined close();
|
2721 | 2721 | };
|
|
3218 | 3218 | [Exposed=(Window,DedicatedWorker), Serializable, Transferable]
|
3219 | 3219 | interface VideoFrame {
|
3220 | 3220 | constructor(CanvasImageSource image, optional VideoFrameInit init = {});
|
3221 |
| - constructor([AllowShared] BufferSource data, VideoFrameBufferInit init); |
| 3221 | + constructor(AllowSharedBufferSource data, VideoFrameBufferInit init); |
3222 | 3222 |
|
3223 | 3223 | readonly attribute VideoPixelFormat? format;
|
3224 | 3224 | readonly attribute unsigned long codedWidth;
|
|
3236 | 3236 | unsigned long allocationSize(
|
3237 | 3237 | optional VideoFrameCopyToOptions options = {});
|
3238 | 3238 | Promise<sequence<PlaneLayout>> copyTo(
|
3239 |
| - [AllowShared] BufferSource destination, |
| 3239 | + AllowSharedBufferSource destination, |
3240 | 3240 | optional VideoFrameCopyToOptions options = {});
|
3241 | 3241 | VideoFrame clone();
|
3242 | 3242 | undefined close();
|
|
0 commit comments