198 lines
12 KiB
HTML
198 lines
12 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Shaka Packager SDK: shaka::media::ContentEncoding Class Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Shaka Packager SDK
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>media</b></li><li class="navelem"><a class="el" href="../../dc/da6/classshaka_1_1media_1_1ContentEncoding.html">ContentEncoding</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="../../d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">shaka::media::ContentEncoding Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a3a4bd0100326c38ad85e8fa73558c45f"><td class="memItemLeft" align="right" valign="top"><a id="a3a4bd0100326c38ad85e8fa73558c45f"></a>enum  </td><td class="memItemRight" valign="bottom"><b>Scope</b> { <br />
|
|
  <b>kScopeInvalid</b> = 0,
|
|
<b>kScopeAllFrameContents</b> = 1,
|
|
<b>kScopeTrackPrivateData</b> = 2,
|
|
<b>kScopeNextContentEncodingData</b> = 4,
|
|
<br />
|
|
  <b>kScopeMax</b> = 7
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a3a4bd0100326c38ad85e8fa73558c45f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a139b4afbbe0046847f76f7fd9d38cd0f"><td class="memItemLeft" align="right" valign="top"><a id="a139b4afbbe0046847f76f7fd9d38cd0f"></a>enum  </td><td class="memItemRight" valign="bottom"><b>Type</b> { <b>kTypeInvalid</b> = -1,
|
|
<b>kTypeCompression</b> = 0,
|
|
<b>kTypeEncryption</b> = 1
|
|
}</td></tr>
|
|
<tr class="separator:a139b4afbbe0046847f76f7fd9d38cd0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a973da342b6fb4e84d21a748dc85f678f"><td class="memItemLeft" align="right" valign="top"><a id="a973da342b6fb4e84d21a748dc85f678f"></a>enum  </td><td class="memItemRight" valign="bottom"><b>EncryptionAlgo</b> { <br />
|
|
  <b>kEncAlgoInvalid</b> = -1,
|
|
<b>kEncAlgoNotEncrypted</b> = 0,
|
|
<b>kEncAlgoDes</b> = 1,
|
|
<b>kEncAlgo3des</b> = 2,
|
|
<br />
|
|
  <b>kEncAlgoTwofish</b> = 3,
|
|
<b>kEncAlgoBlowfish</b> = 4,
|
|
<b>kEncAlgoAes</b> = 5
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a973da342b6fb4e84d21a748dc85f678f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a232f961852a363c81f9027f79d59bc7d"><td class="memItemLeft" align="right" valign="top"><a id="a232f961852a363c81f9027f79d59bc7d"></a>enum  </td><td class="memItemRight" valign="bottom"><b>CipherMode</b> { <b>kCipherModeInvalid</b> = 0,
|
|
<b>kCipherModeCtr</b> = 1
|
|
}</td></tr>
|
|
<tr class="separator:a232f961852a363c81f9027f79d59bc7d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a37a52e39fcbe5df55f70ae9b1817da15"><td class="memItemLeft" align="right" valign="top"><a id="a37a52e39fcbe5df55f70ae9b1817da15"></a>
|
|
int64_t </td><td class="memItemRight" valign="bottom"><b>order</b> () const</td></tr>
|
|
<tr class="separator:a37a52e39fcbe5df55f70ae9b1817da15"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1dbdf7e54264be2cbbb4eacb3b33dc8b"><td class="memItemLeft" align="right" valign="top"><a id="a1dbdf7e54264be2cbbb4eacb3b33dc8b"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_order</b> (int64_t order)</td></tr>
|
|
<tr class="separator:a1dbdf7e54264be2cbbb4eacb3b33dc8b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af2e96cd8a379a5a93025f18957f0cff7"><td class="memItemLeft" align="right" valign="top"><a id="af2e96cd8a379a5a93025f18957f0cff7"></a>
|
|
Scope </td><td class="memItemRight" valign="bottom"><b>scope</b> () const</td></tr>
|
|
<tr class="separator:af2e96cd8a379a5a93025f18957f0cff7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a120015c1a8f60f30ce95978aeb0aca64"><td class="memItemLeft" align="right" valign="top"><a id="a120015c1a8f60f30ce95978aeb0aca64"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_scope</b> (Scope scope)</td></tr>
|
|
<tr class="separator:a120015c1a8f60f30ce95978aeb0aca64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24245f1d62994fa72afa62e91bfbe566"><td class="memItemLeft" align="right" valign="top"><a id="a24245f1d62994fa72afa62e91bfbe566"></a>
|
|
Type </td><td class="memItemRight" valign="bottom"><b>type</b> () const</td></tr>
|
|
<tr class="separator:a24245f1d62994fa72afa62e91bfbe566"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a528a1f34b9a46541a9da98aa7766fd46"><td class="memItemLeft" align="right" valign="top"><a id="a528a1f34b9a46541a9da98aa7766fd46"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_type</b> (Type type)</td></tr>
|
|
<tr class="separator:a528a1f34b9a46541a9da98aa7766fd46"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4547a1741c35912bc35d0598bafe2786"><td class="memItemLeft" align="right" valign="top"><a id="a4547a1741c35912bc35d0598bafe2786"></a>
|
|
EncryptionAlgo </td><td class="memItemRight" valign="bottom"><b>encryption_algo</b> () const</td></tr>
|
|
<tr class="separator:a4547a1741c35912bc35d0598bafe2786"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad25358e6cd90030ce9588aa90fcdd945"><td class="memItemLeft" align="right" valign="top"><a id="ad25358e6cd90030ce9588aa90fcdd945"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_encryption_algo</b> (EncryptionAlgo encryption_algo)</td></tr>
|
|
<tr class="separator:ad25358e6cd90030ce9588aa90fcdd945"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a452fa5206967f9144462a674fa6f83cf"><td class="memItemLeft" align="right" valign="top"><a id="a452fa5206967f9144462a674fa6f83cf"></a>
|
|
const std::string & </td><td class="memItemRight" valign="bottom"><b>encryption_key_id</b> () const</td></tr>
|
|
<tr class="separator:a452fa5206967f9144462a674fa6f83cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af15a1d0c2e475048715275d8c6c49b29"><td class="memItemLeft" align="right" valign="top"><a id="af15a1d0c2e475048715275d8c6c49b29"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetEncryptionKeyId</b> (const uint8_t *encryption_key_id, int size)</td></tr>
|
|
<tr class="separator:af15a1d0c2e475048715275d8c6c49b29"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5d69fd8df8e217c8a2965e6fcf8d9561"><td class="memItemLeft" align="right" valign="top"><a id="a5d69fd8df8e217c8a2965e6fcf8d9561"></a>
|
|
CipherMode </td><td class="memItemRight" valign="bottom"><b>cipher_mode</b> () const</td></tr>
|
|
<tr class="separator:a5d69fd8df8e217c8a2965e6fcf8d9561"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac4a2e7cc8310e0d3e269ee117dd8d379"><td class="memItemLeft" align="right" valign="top"><a id="ac4a2e7cc8310e0d3e269ee117dd8d379"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_cipher_mode</b> (CipherMode mode)</td></tr>
|
|
<tr class="separator:ac4a2e7cc8310e0d3e269ee117dd8d379"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a3ba32d5ca8b0688b2dc6b2ec8a5be6d2"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da6/classshaka_1_1media_1_1ContentEncoding.html#a3ba32d5ca8b0688b2dc6b2ec8a5be6d2">kOrderInvalid</a> = -1</td></tr>
|
|
<tr class="separator:a3ba32d5ca8b0688b2dc6b2ec8a5be6d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p class="definition">Definition at line <a class="el" href="../../d9/d3b/webm__content__encodings_8h_source.html#l00015">15</a> of file <a class="el" href="../../d9/d3b/webm__content__encodings_8h_source.html">webm_content_encodings.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a3ba32d5ca8b0688b2dc6b2ec8a5be6d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3ba32d5ca8b0688b2dc6b2ec8a5be6d2">◆ </a></span>kOrderInvalid</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const int shaka::media::ContentEncoding::kOrderInvalid = -1</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The following enum definitions are based on the <a class="el" href="../../dc/da6/classshaka_1_1media_1_1ContentEncoding.html">ContentEncoding</a> element specified in the Matroska spec. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d9/d3b/webm__content__encodings_8h_source.html#l00020">20</a> of file <a class="el" href="../../d9/d3b/webm__content__encodings_8h_source.html">webm_content_encodings.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>packager/media/formats/webm/<a class="el" href="../../d9/d3b/webm__content__encodings_8h_source.html">webm_content_encodings.h</a></li>
|
|
<li>packager/media/formats/webm/<a class="el" href="../../d6/d35/webm__content__encodings_8cc_source.html">webm_content_encodings.cc</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|