Skip to content

Commit 2da7339

Browse files
Djuffindalecurtis
authored andcommitted
Per frame quantizer option for Av1.
This value is used by VideoEncoder.encode() if VideoEncoder is configured with "quantizer" bitrate mode.
1 parent e1018c5 commit 2da7339

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

av1_codec_registration.src.html

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
It describes, for AV1, the (1) fully qualified codec strings,
1616
(2) the codec-specific {{EncodedVideoChunk}}
1717
{{EncodedVideoChunk/[[internal data]]}} bytes, (3) the
18-
{{VideoDecoderConfig/description|VideoDecoderConfig.description}} bytes, and
19-
(4) the values of {{EncodedVideoChunk}} {{EncodedVideoChunk/[[type]]}}.
18+
{{VideoDecoderConfig/description|VideoDecoderConfig.description}} bytes,
19+
(4) the values of {{EncodedVideoChunk}} {{EncodedVideoChunk/[[type]]}}, and
20+
(5) the codec-specific extensions to {{VideoEncoderEncodeOptions}}.
2021

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

77+
VideoEncoderEncodeOptions extensions {#videoencoderencodeoptions-extensions}
78+
==============================================================
79+
80+
<pre class='idl'>
81+
<xmp>
82+
partial dictionary VideoEncoderEncodeOptions {
83+
VideoEncoderEncodeOptionsForAv1 av1;
84+
};
85+
</xmp>
86+
</pre>
87+
88+
<dl>
89+
<dt><dfn dict-member for=VideoEncoderEncodeOptions>av1</dfn></dt>
90+
<dd>
91+
Contains codec specific encode options for the [[AV1]] codec.
92+
</dd>
93+
</dl>
94+
95+
VideoEncoderEncodeOptionsForAv1 {#av1-encode-options}
96+
--------------------------------------
97+
<pre class='idl'>
98+
<xmp>
99+
dictionary VideoEncoderEncodeOptionsForAv1 {
100+
unsigned short? quantizer;
101+
};
102+
</xmp>
103+
</pre>
104+
105+
<dl>
106+
<dt><dfn dict-member for=VideoEncoderEncodeOptionsForAv1>quantizer</dfn></dt>
107+
<dd>
108+
Sets per-frame quantizer value.
109+
In [[AV1]] the quantizer threshold can be varied from 0 to 63
110+
</dd>
111+
</dl>
112+
76113
Privacy Considerations {#privacy-considerations}
77114
==========================================================================
78115

0 commit comments

Comments
 (0)