Skip to content

Commit 3ec4530

Browse files
authored
Merge pull request #662 from w3c/aboba-patch-4
Enable configuration of AV1 screen content coding tools
2 parents e27c2be + 142b1cd commit 3ec4530

File tree

1 file changed

+45
-3
lines changed

1 file changed

+45
-3
lines changed

av1_codec_registration.src.html

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
Abstract: This registration is entered into the [[webcodecs-codec-registry]].
1515
It describes, for AV1, the (1) fully qualified codec strings,
1616
(2) the codec-specific {{EncodedVideoChunk}}
17-
{{EncodedVideoChunk/[[internal data]]}} bytes, (3) the
17+
{{EncodedVideoChunk/[[internal data]]}} bytes, (3) the codec-specific
18+
extensions to {{VideoEncoderConfig}}, (4) the
1819
{{VideoDecoderConfig/description|VideoDecoderConfig.description}} bytes,
19-
(4) the values of {{EncodedVideoChunk}} {{EncodedVideoChunk/[[type]]}}, and
20-
(5) the codec-specific extensions to {{VideoEncoderEncodeOptions}}.
20+
(5) the values of {{EncodedVideoChunk}} {{EncodedVideoChunk/[[type]]}}, and
21+
(6) the codec-specific extensions to {{VideoEncoderEncodeOptions}}.
2122

2223
The registration is not intended to include any information on whether a
2324
codec format is encumbered by intellectual property claims. Implementers and
@@ -74,6 +75,47 @@
7475
contain a frame with a `frame_type` of `KEY_FRAME` as defined in Section
7576
6.8.2 of [[AV1]].
7677

78+
VideoEncoderConfig extensions {#videoencoderconfig-extensions}
79+
==============================================================
80+
81+
<pre class='idl'>
82+
<xmp>
83+
partial dictionary VideoEncoderConfig {
84+
AV1EncoderConfig av1;
85+
};
86+
</xmp>
87+
</pre>
88+
89+
<dl>
90+
<dt><dfn dict-member for=VideoEncoderConfig>av1</dfn></dt>
91+
<dd>
92+
Contains codec specific configuration options for the AV1 codec.
93+
</dd>
94+
</dl>
95+
96+
AV1EncoderConfig {#av1-encoder-config}
97+
--------------------------------------
98+
<pre class='idl'>
99+
<xmp>
100+
dictionary AV1EncoderConfig {
101+
boolean forceScreenContentTools = false;
102+
};
103+
</xmp>
104+
</pre>
105+
106+
<dl>
107+
<dt><dfn dict-member for=AV1EncoderConfig>forceScreenContentTools</dfn></dt>
108+
<dd>
109+
Indicates whether the encoder should force use of screen content
110+
coding tools. The default value (false) indicates that use of
111+
screen content coding tools is not forced. A value of true
112+
(corresponding to setting seq_force_screen_content_tools
113+
to SELECT_SCREEN_CONTENT_TOOLS in Section 5.5.1
114+
of [[AV1]]) indicates that use of screen content coding tools
115+
is forced.
116+
</dd>
117+
</dl>
118+
77119
VideoEncoderEncodeOptions extensions {#videoencoderencodeoptions-extensions}
78120
==============================================================
79121

0 commit comments

Comments
 (0)