Skip to content

Commit cdb0a57

Browse files
committed
Split webcodecs
1 parent 758e77a commit cdb0a57

File tree

6 files changed

+378
-229
lines changed

6 files changed

+378
-229
lines changed

features/audio-codecs.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Audio codecs
2+
description: The `AudioEncoder` and `AudioDecoder` APIs (part of WebCodecs) provide low-level access to chunks of audio samples, for full control over the way audi is processed.
3+
spec: https://w3c.github.io/webcodecs/
4+
status:
5+
compute_from:
6+
- api.AudioDecoder.AudioDecoder
7+
- api.AudioEncoder.AudioEncoder
8+
compat_features:
9+
- api.AudioData
10+
- api.AudioData.AudioData
11+
- api.AudioData.allocationSize
12+
- api.AudioData.clone
13+
- api.AudioData.close
14+
- api.AudioData.copyTo
15+
- api.AudioData.duration
16+
- api.AudioData.format
17+
- api.AudioData.numberOfChannels
18+
- api.AudioData.numberOfFrames
19+
- api.AudioData.sampleRate
20+
- api.AudioData.timestamp
21+
- api.AudioDecoder
22+
- api.AudioDecoder.AudioDecoder
23+
- api.AudioDecoder.close
24+
- api.AudioDecoder.configure
25+
- api.AudioDecoder.decode
26+
- api.AudioDecoder.decodeQueueSize
27+
- api.AudioDecoder.dequeue_event
28+
- api.AudioDecoder.flush
29+
- api.AudioDecoder.isConfigSupported_static
30+
- api.AudioDecoder.reset
31+
- api.AudioDecoder.state
32+
- api.AudioEncoder
33+
- api.AudioEncoder.AudioEncoder
34+
- api.AudioEncoder.close
35+
- api.AudioEncoder.configure
36+
- api.AudioEncoder.configure.bitrateMode
37+
- api.AudioEncoder.configure.opus
38+
- api.AudioEncoder.configure.opus.opus_application
39+
- api.AudioEncoder.configure.opus.opus_signal
40+
- api.AudioEncoder.dequeue_event
41+
- api.AudioEncoder.encode
42+
- api.AudioEncoder.encodeQueueSize
43+
- api.AudioEncoder.flush
44+
- api.AudioEncoder.isConfigSupported_static
45+
- api.AudioEncoder.reset
46+
- api.AudioEncoder.state
47+
- api.EncodedAudioChunk
48+
- api.EncodedAudioChunk.EncodedAudioChunk
49+
- api.EncodedAudioChunk.byteLength
50+
- api.EncodedAudioChunk.copyTo
51+
- api.EncodedAudioChunk.duration
52+
- api.EncodedAudioChunk.timestamp
53+
- api.EncodedAudioChunk.type

features/audio-codecs.yml.dist

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Generated from: audio-codecs.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "94"
8+
chrome_android: "94"
9+
edge: "94"
10+
firefox: "130"
11+
compat_features:
12+
# ⬇️ Same status as overall feature ⬇️
13+
# baseline: false
14+
# support:
15+
# chrome: "94"
16+
# chrome_android: "94"
17+
# edge: "94"
18+
# firefox: "130"
19+
- api.AudioData
20+
- api.AudioData.AudioData
21+
- api.AudioData.allocationSize
22+
- api.AudioData.clone
23+
- api.AudioData.close
24+
- api.AudioData.copyTo
25+
- api.AudioData.duration
26+
- api.AudioData.format
27+
- api.AudioData.numberOfChannels
28+
- api.AudioData.numberOfFrames
29+
- api.AudioData.sampleRate
30+
- api.AudioData.timestamp
31+
- api.AudioDecoder
32+
- api.AudioDecoder.AudioDecoder
33+
- api.AudioDecoder.close
34+
- api.AudioDecoder.configure
35+
- api.AudioDecoder.decode
36+
- api.AudioDecoder.decodeQueueSize
37+
- api.AudioDecoder.flush
38+
- api.AudioDecoder.isConfigSupported_static
39+
- api.AudioDecoder.reset
40+
- api.AudioDecoder.state
41+
- api.AudioEncoder
42+
- api.AudioEncoder.AudioEncoder
43+
- api.AudioEncoder.close
44+
- api.AudioEncoder.configure
45+
- api.AudioEncoder.encode
46+
- api.AudioEncoder.encodeQueueSize
47+
- api.AudioEncoder.flush
48+
- api.AudioEncoder.isConfigSupported_static
49+
- api.AudioEncoder.reset
50+
- api.AudioEncoder.state
51+
- api.EncodedAudioChunk
52+
- api.EncodedAudioChunk.EncodedAudioChunk
53+
- api.EncodedAudioChunk.byteLength
54+
- api.EncodedAudioChunk.copyTo
55+
- api.EncodedAudioChunk.duration
56+
- api.EncodedAudioChunk.timestamp
57+
- api.EncodedAudioChunk.type
58+
59+
# baseline: false
60+
# support:
61+
# chrome: "106"
62+
# chrome_android: "106"
63+
# edge: "106"
64+
# firefox: "130"
65+
- api.AudioDecoder.dequeue_event
66+
- api.AudioEncoder.dequeue_event
67+
68+
# baseline: false
69+
# support:
70+
# chrome: "110"
71+
# chrome_android: "110"
72+
# edge: "110"
73+
# firefox: "130"
74+
- api.AudioEncoder.configure.opus
75+
76+
# baseline: false
77+
# support:
78+
# chrome: "119"
79+
# chrome_android: "119"
80+
# edge: "119"
81+
# firefox: "130"
82+
- api.AudioEncoder.configure.bitrateMode
83+
84+
# baseline: false
85+
# support:
86+
# chrome: "126"
87+
# chrome_android: "126"
88+
# edge: "126"
89+
- api.AudioEncoder.configure.opus.opus_application
90+
- api.AudioEncoder.configure.opus.opus_signal

features/video-codecs.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: WebCodecs
2+
description: The `VideoEncoder` and `VideoDecoder` APIs (part of WebCodecs) provide low-level access to individual video frames, for full control over the way video is processed.
3+
spec: https://w3c.github.io/webcodecs/
4+
status:
5+
compute_from:
6+
- api.VideoDecoder.VideoDecoder
7+
- api.VideoEncoder.VideoEncoder
8+
compat_features:
9+
- api.EncodedVideoChunk
10+
- api.EncodedVideoChunk.EncodedVideoChunk
11+
- api.EncodedVideoChunk.byteLength
12+
- api.EncodedVideoChunk.copyTo
13+
- api.EncodedVideoChunk.duration
14+
- api.EncodedVideoChunk.timestamp
15+
- api.EncodedVideoChunk.type
16+
- api.ImageDecoder
17+
- api.ImageDecoder.ImageDecoder
18+
- api.ImageDecoder.close
19+
- api.ImageDecoder.complete
20+
- api.ImageDecoder.completed
21+
- api.ImageDecoder.decode
22+
- api.ImageDecoder.isTypeSupported_static
23+
- api.ImageDecoder.reset
24+
- api.ImageDecoder.tracks
25+
- api.ImageDecoder.type
26+
- api.ImageTrack
27+
- api.ImageTrack.animated
28+
- api.ImageTrack.frameCount
29+
- api.ImageTrack.repetitionCount
30+
- api.ImageTrack.selected
31+
- api.ImageTrackList
32+
- api.ImageTrackList.length
33+
- api.ImageTrackList.ready
34+
- api.ImageTrackList.selectedIndex
35+
- api.ImageTrackList.selectedTrack
36+
- api.VideoColorSpace
37+
- api.VideoColorSpace.VideoColorSpace
38+
- api.VideoColorSpace.fullRange
39+
- api.VideoColorSpace.matrix
40+
- api.VideoColorSpace.primaries
41+
- api.VideoColorSpace.toJSON
42+
- api.VideoColorSpace.transfer
43+
- api.VideoDecoder
44+
- api.VideoDecoder.VideoDecoder
45+
- api.VideoDecoder.close
46+
- api.VideoDecoder.configure
47+
- api.VideoDecoder.decode
48+
- api.VideoDecoder.decodeQueueSize
49+
- api.VideoDecoder.dequeue_event
50+
- api.VideoDecoder.flush
51+
- api.VideoDecoder.isConfigSupported_static
52+
- api.VideoDecoder.reset
53+
- api.VideoDecoder.state
54+
- api.VideoEncoder
55+
- api.VideoEncoder.VideoEncoder
56+
- api.VideoEncoder.close
57+
- api.VideoEncoder.configure
58+
- api.VideoEncoder.dequeue_event
59+
- api.VideoEncoder.encode
60+
- api.VideoEncoder.encodeQueueSize
61+
- api.VideoEncoder.flush
62+
- api.VideoEncoder.isConfigSupported_static
63+
- api.VideoEncoder.reset
64+
- api.VideoEncoder.state
65+
- api.VideoFrame
66+
- api.VideoFrame.VideoFrame
67+
- api.VideoFrame.allocationSize
68+
- api.VideoFrame.clone
69+
- api.VideoFrame.close
70+
- api.VideoFrame.codedHeight
71+
- api.VideoFrame.codedRect
72+
- api.VideoFrame.codedWidth
73+
- api.VideoFrame.colorSpace
74+
- api.VideoFrame.copyTo
75+
- api.VideoFrame.displayHeight
76+
- api.VideoFrame.displayWidth
77+
- api.VideoFrame.duration
78+
- api.VideoFrame.format
79+
- api.VideoFrame.timestamp
80+
- api.VideoFrame.visibleRect

features/video-codecs.yml.dist

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# Generated from: video-codecs.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "94"
8+
chrome_android: "94"
9+
edge: "94"
10+
firefox: "130"
11+
safari: "16.4"
12+
safari_ios: "16.4"
13+
compat_features:
14+
# baseline: low
15+
# baseline_low_date: 2024-09-03
16+
# support:
17+
# chrome: "94"
18+
# chrome_android: "94"
19+
# edge: "94"
20+
# firefox: "130"
21+
# firefox_android: "130"
22+
# safari: "15.4"
23+
# safari_ios: "15.4"
24+
- api.VideoColorSpace
25+
- api.VideoColorSpace.fullRange
26+
- api.VideoColorSpace.matrix
27+
- api.VideoColorSpace.primaries
28+
- api.VideoColorSpace.toJSON
29+
- api.VideoColorSpace.transfer
30+
31+
# baseline: low
32+
# baseline_low_date: 2024-09-03
33+
# support:
34+
# chrome: "94"
35+
# chrome_android: "94"
36+
# edge: "94"
37+
# firefox: "130"
38+
# firefox_android: "130"
39+
# safari: "16.4"
40+
# safari_ios: "16.4"
41+
- api.VideoFrame
42+
- api.VideoFrame.VideoFrame
43+
- api.VideoFrame.allocationSize
44+
- api.VideoFrame.clone
45+
- api.VideoFrame.close
46+
- api.VideoFrame.codedHeight
47+
- api.VideoFrame.codedRect
48+
- api.VideoFrame.codedWidth
49+
- api.VideoFrame.colorSpace
50+
- api.VideoFrame.copyTo
51+
- api.VideoFrame.displayHeight
52+
- api.VideoFrame.displayWidth
53+
- api.VideoFrame.duration
54+
- api.VideoFrame.format
55+
- api.VideoFrame.timestamp
56+
- api.VideoFrame.visibleRect
57+
58+
# baseline: low
59+
# baseline_low_date: 2024-09-03
60+
# support:
61+
# chrome: "94"
62+
# chrome_android: "94"
63+
# edge: "94"
64+
# firefox: "130"
65+
# firefox_android: "130"
66+
# safari: "17"
67+
# safari_ios: "17"
68+
- api.VideoColorSpace.VideoColorSpace
69+
70+
# ⬇️ Same status as overall feature ⬇️
71+
# baseline: false
72+
# support:
73+
# chrome: "94"
74+
# chrome_android: "94"
75+
# edge: "94"
76+
# firefox: "130"
77+
# safari: "16.4"
78+
# safari_ios: "16.4"
79+
- api.EncodedVideoChunk
80+
- api.EncodedVideoChunk.EncodedVideoChunk
81+
- api.EncodedVideoChunk.byteLength
82+
- api.EncodedVideoChunk.copyTo
83+
- api.EncodedVideoChunk.duration
84+
- api.EncodedVideoChunk.timestamp
85+
- api.EncodedVideoChunk.type
86+
- api.VideoDecoder
87+
- api.VideoDecoder.VideoDecoder
88+
- api.VideoDecoder.close
89+
- api.VideoDecoder.configure
90+
- api.VideoDecoder.decode
91+
- api.VideoDecoder.decodeQueueSize
92+
- api.VideoDecoder.flush
93+
- api.VideoDecoder.isConfigSupported_static
94+
- api.VideoDecoder.reset
95+
- api.VideoDecoder.state
96+
- api.VideoEncoder
97+
- api.VideoEncoder.VideoEncoder
98+
- api.VideoEncoder.close
99+
- api.VideoEncoder.configure
100+
- api.VideoEncoder.encode
101+
- api.VideoEncoder.encodeQueueSize
102+
- api.VideoEncoder.flush
103+
- api.VideoEncoder.isConfigSupported_static
104+
- api.VideoEncoder.reset
105+
- api.VideoEncoder.state
106+
107+
# baseline: false
108+
# support:
109+
# chrome: "106"
110+
# chrome_android: "106"
111+
# edge: "106"
112+
# firefox: "130"
113+
# safari: "16.4"
114+
# safari_ios: "16.4"
115+
- api.VideoDecoder.dequeue_event
116+
- api.VideoEncoder.dequeue_event
117+
118+
# baseline: false
119+
# support:
120+
# chrome: "94"
121+
# chrome_android: "94"
122+
# edge: "94"
123+
# firefox: "133"
124+
# firefox_android: "133"
125+
- api.ImageDecoder
126+
- api.ImageDecoder.ImageDecoder
127+
- api.ImageDecoder.close
128+
- api.ImageDecoder.complete
129+
- api.ImageDecoder.completed
130+
- api.ImageDecoder.decode
131+
- api.ImageDecoder.isTypeSupported_static
132+
- api.ImageDecoder.reset
133+
- api.ImageDecoder.tracks
134+
- api.ImageDecoder.type
135+
- api.ImageTrack
136+
- api.ImageTrack.animated
137+
- api.ImageTrack.frameCount
138+
- api.ImageTrack.repetitionCount
139+
- api.ImageTrack.selected
140+
- api.ImageTrackList
141+
- api.ImageTrackList.length
142+
- api.ImageTrackList.ready
143+
- api.ImageTrackList.selectedIndex
144+
- api.ImageTrackList.selectedTrack

features/webcodecs.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
name: WebCodecs
2-
description: The WebCodecs API provides low-level access to individual video frames and chunks of audio samples, for full control over the way media is processed.
3-
spec: https://w3c.github.io/webcodecs/
4-
caniuse: webcodecs
5-
status:
6-
compute_from:
7-
- api.AudioDecoder.AudioDecoder
8-
- api.AudioEncoder.AudioEncoder
9-
- api.VideoDecoder.VideoDecoder
10-
- api.VideoEncoder.VideoEncoder
1+
redirect:
2+
reason: split
3+
targets:
4+
- audio-codecs
5+
- video-codecs

0 commit comments

Comments
 (0)