Skip to content

Commit e27c2be

Browse files
authored
Merge pull request #667 from w3c/aboba-patch-5
Add per-frame QP support to AVC
2 parents 4dceb7a + 89c802f commit e27c2be

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

avc_codec_registration.src.html

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
{{EncodedVideoChunk/[[internal data]]}} bytes, (3) the
1818
{{VideoDecoderConfig/description|VideoDecoderConfig.description}} bytes,
1919
(4) the values of {{EncodedVideoChunk}} {{EncodedVideoChunk/[[type]]}},
20-
and (5) the codec-specific extensions to {{VideoEncoderConfig}}
20+
(5) the codec-specific extensions to {{VideoEncoderConfig}}, 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
@@ -187,6 +188,42 @@
187188
player generally has random access to the media data.
188189
</dl>
189190

191+
VideoEncoderEncodeOptions extensions {#videoencoderencodeoptions-extensions}
192+
==============================================================
193+
194+
<pre class='idl'>
195+
<xmp>
196+
partial dictionary VideoEncoderEncodeOptions {
197+
VideoEncoderEncodeOptionsForAvc avc;
198+
};
199+
</xmp>
200+
</pre>
201+
202+
<dl>
203+
<dt><dfn dict-member for=VideoEncoderEncodeOptions>avc</dfn></dt>
204+
<dd>
205+
Contains codec specific encode options for the [[ITU-T-REC-H.264]] codec.
206+
</dd>
207+
</dl>
208+
209+
VideoEncoderEncodeOptionsForAvc {#avc-encode-options}
210+
--------------------------------------
211+
<pre class='idl'>
212+
<xmp>
213+
dictionary VideoEncoderEncodeOptionsForAvc {
214+
unsigned short? quantizer;
215+
};
216+
</xmp>
217+
</pre>
218+
219+
<dl>
220+
<dt><dfn dict-member for=VideoEncoderEncodeOptionsForAvc>quantizer</dfn></dt>
221+
<dd>
222+
Sets per-frame quantizer value.
223+
In [[ITU-T-REC-H.264]] the quantizer threshold can be varied from 0 to 51.
224+
</dd>
225+
</dl>
226+
190227
Privacy Considerations {#privacy-considerations}
191228
==========================================================================
192229

0 commit comments

Comments
 (0)