summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl
diff options
context:
space:
mode:
Diffstat (limited to 'test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl')
-rw-r--r--test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl b/test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl
new file mode 100644
index 0000000..2b952c2
--- /dev/null
+++ b/test/wpt/tests/interfaces/webcodecs-avc-codec-registration.idl
@@ -0,0 +1,25 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into webref
+// (https://github.com/w3c/webref)
+// Source: AVC (H.264) WebCodecs Registration (https://w3c.github.io/webcodecs/avc_codec_registration.html)
+
+partial dictionary VideoEncoderConfig {
+ AvcEncoderConfig avc;
+};
+
+dictionary AvcEncoderConfig {
+ AvcBitstreamFormat format = "avc";
+};
+
+enum AvcBitstreamFormat {
+ "annexb",
+ "avc",
+};
+
+partial dictionary VideoEncoderEncodeOptions {
+ VideoEncoderEncodeOptionsForAvc avc;
+};
+
+dictionary VideoEncoderEncodeOptionsForAvc {
+ unsigned short? quantizer;
+};