513 lines
36 KiB
HTML
513 lines
36 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::VideoStreamInfo 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="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html">VideoStreamInfo</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="../../d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">shaka::media::VideoStreamInfo Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Holds video stream information.
|
|
<a href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="../../d7/d87/video__stream__info_8h_source.html">video_stream_info.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for shaka::media::VideoStreamInfo:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.png" usemap="#shaka::media::VideoStreamInfo_map" alt=""/>
|
|
<map id="shaka::media::VideoStreamInfo_map" name="shaka::media::VideoStreamInfo_map">
|
|
<area href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" title="Abstract class holds stream information." alt="shaka::media::StreamInfo" shape="rect" coords="0,0,183,24"/>
|
|
</map>
|
|
</div></div>
|
|
<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:a7c4eb713af9de075f4214de0b3c4aaf4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a7c4eb713af9de075f4214de0b3c4aaf4">VideoStreamInfo</a> (int track_id, uint32_t time_scale, uint64_t duration, Codec codec, H26xStreamFormat h26x_stream_format, const std::string &codec_string, const uint8_t *codec_config, size_t codec_config_size, uint16_t width, uint16_t height, uint32_t <a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#ac0356f4786e3cc2699c13a253c5f3cb5">pixel_width</a>, uint32_t <a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a40b2e26c533904ff890f4ea8086d7f71">pixel_height</a>, uint8_t transfer_characteristics, uint32_t trick_play_factor, uint8_t nalu_length_size, const std::string &language, bool is_encrypted)</td></tr>
|
|
<tr class="separator:a7c4eb713af9de075f4214de0b3c4aaf4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf2dde983fe8c6d9edf51ae5a69c2466"><td class="memItemLeft" align="right" valign="top"><a id="abf2dde983fe8c6d9edf51ae5a69c2466"></a>
|
|
const std::vector< uint8_t > & </td><td class="memItemRight" valign="bottom"><b>extra_config</b> () const</td></tr>
|
|
<tr class="separator:abf2dde983fe8c6d9edf51ae5a69c2466"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a023616c012d29672351c2c951af7ba2f"><td class="memItemLeft" align="right" valign="top"><a id="a023616c012d29672351c2c951af7ba2f"></a>
|
|
H26xStreamFormat </td><td class="memItemRight" valign="bottom"><b>h26x_stream_format</b> () const</td></tr>
|
|
<tr class="separator:a023616c012d29672351c2c951af7ba2f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af59bdaef9766f1e0431c0874fbb07f3f"><td class="memItemLeft" align="right" valign="top"><a id="af59bdaef9766f1e0431c0874fbb07f3f"></a>
|
|
uint16_t </td><td class="memItemRight" valign="bottom"><b>width</b> () const</td></tr>
|
|
<tr class="separator:af59bdaef9766f1e0431c0874fbb07f3f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ff822972ab23a14872be002b8b74026"><td class="memItemLeft" align="right" valign="top"><a id="a0ff822972ab23a14872be002b8b74026"></a>
|
|
uint16_t </td><td class="memItemRight" valign="bottom"><b>height</b> () const</td></tr>
|
|
<tr class="separator:a0ff822972ab23a14872be002b8b74026"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac0356f4786e3cc2699c13a253c5f3cb5"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#ac0356f4786e3cc2699c13a253c5f3cb5">pixel_width</a> () const</td></tr>
|
|
<tr class="separator:ac0356f4786e3cc2699c13a253c5f3cb5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a40b2e26c533904ff890f4ea8086d7f71"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a40b2e26c533904ff890f4ea8086d7f71">pixel_height</a> () const</td></tr>
|
|
<tr class="separator:a40b2e26c533904ff890f4ea8086d7f71"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3399ecc120d23847a57512dd80d1473d"><td class="memItemLeft" align="right" valign="top"><a id="a3399ecc120d23847a57512dd80d1473d"></a>
|
|
uint8_t </td><td class="memItemRight" valign="bottom"><b>transfer_characteristics</b> () const</td></tr>
|
|
<tr class="separator:a3399ecc120d23847a57512dd80d1473d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9a820033afd83b62e51a3c575b3bed77"><td class="memItemLeft" align="right" valign="top"><a id="a9a820033afd83b62e51a3c575b3bed77"></a>
|
|
uint8_t </td><td class="memItemRight" valign="bottom"><b>nalu_length_size</b> () const</td></tr>
|
|
<tr class="separator:a9a820033afd83b62e51a3c575b3bed77"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4b99352da1c8a6eb723150af6111ef3e"><td class="memItemLeft" align="right" valign="top"><a id="a4b99352da1c8a6eb723150af6111ef3e"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><b>trick_play_factor</b> () const</td></tr>
|
|
<tr class="separator:a4b99352da1c8a6eb723150af6111ef3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7886b13af1a3acff20807a00f736d49f"><td class="memItemLeft" align="right" valign="top"><a id="a7886b13af1a3acff20807a00f736d49f"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><b>playback_rate</b> () const</td></tr>
|
|
<tr class="separator:a7886b13af1a3acff20807a00f736d49f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae0fa4e5f3a060c97de5d8557a9de9beb"><td class="memItemLeft" align="right" valign="top"><a id="ae0fa4e5f3a060c97de5d8557a9de9beb"></a>
|
|
const std::vector< uint8_t > & </td><td class="memItemRight" valign="bottom"><b>eme_init_data</b> () const</td></tr>
|
|
<tr class="separator:ae0fa4e5f3a060c97de5d8557a9de9beb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab5cb4317e39733491a070def2b63efea"><td class="memItemLeft" align="right" valign="top"><a id="ab5cb4317e39733491a070def2b63efea"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_extra_config</b> (const std::vector< uint8_t > &extra_config)</td></tr>
|
|
<tr class="separator:ab5cb4317e39733491a070def2b63efea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a588400629a7a0cd63cf961d39bba7d05"><td class="memItemLeft" align="right" valign="top"><a id="a588400629a7a0cd63cf961d39bba7d05"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_width</b> (uint32_t width)</td></tr>
|
|
<tr class="separator:a588400629a7a0cd63cf961d39bba7d05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add57ec1bd90e88d049ae92a8d34435dd"><td class="memItemLeft" align="right" valign="top"><a id="add57ec1bd90e88d049ae92a8d34435dd"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_height</b> (uint32_t height)</td></tr>
|
|
<tr class="separator:add57ec1bd90e88d049ae92a8d34435dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a71bccdddd9ca7cad121c50fe2699381c"><td class="memItemLeft" align="right" valign="top"><a id="a71bccdddd9ca7cad121c50fe2699381c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_pixel_width</b> (uint32_t <a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#ac0356f4786e3cc2699c13a253c5f3cb5">pixel_width</a>)</td></tr>
|
|
<tr class="separator:a71bccdddd9ca7cad121c50fe2699381c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9317eb72ff858a63379a5a62f650fa34"><td class="memItemLeft" align="right" valign="top"><a id="a9317eb72ff858a63379a5a62f650fa34"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_pixel_height</b> (uint32_t <a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a40b2e26c533904ff890f4ea8086d7f71">pixel_height</a>)</td></tr>
|
|
<tr class="separator:a9317eb72ff858a63379a5a62f650fa34"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a461d30d62bd41bc1c99a33d7d2064363"><td class="memItemLeft" align="right" valign="top"><a id="a461d30d62bd41bc1c99a33d7d2064363"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_transfer_characteristics</b> (uint8_t transfer_characteristics)</td></tr>
|
|
<tr class="separator:a461d30d62bd41bc1c99a33d7d2064363"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab9be80e9f0575be7ab54b216330b40aa"><td class="memItemLeft" align="right" valign="top"><a id="ab9be80e9f0575be7ab54b216330b40aa"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_trick_play_factor</b> (uint32_t trick_play_factor)</td></tr>
|
|
<tr class="separator:ab9be80e9f0575be7ab54b216330b40aa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8f5e411f59fc4f43c68c2438b80b8144"><td class="memItemLeft" align="right" valign="top"><a id="a8f5e411f59fc4f43c68c2438b80b8144"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_playback_rate</b> (uint32_t playback_rate)</td></tr>
|
|
<tr class="separator:a8f5e411f59fc4f43c68c2438b80b8144"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb94e0586c2c533fffb41246c7e6b5b8"><td class="memItemLeft" align="right" valign="top"><a id="adb94e0586c2c533fffb41246c7e6b5b8"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_eme_init_data</b> (const uint8_t *eme_init_data, size_t eme_init_data_size)</td></tr>
|
|
<tr class="separator:adb94e0586c2c533fffb41246c7e6b5b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">StreamInfo implementation overrides.</div></td></tr>
|
|
<tr class="memitem:a8978ca2bc2dd63c2e25e77cdcf676162"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a8978ca2bc2dd63c2e25e77cdcf676162">IsValidConfig</a> () const override</td></tr>
|
|
<tr class="separator:a8978ca2bc2dd63c2e25e77cdcf676162"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9cac8e75d76f1192a48d1dcf61435537"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537">ToString</a> () const override</td></tr>
|
|
<tr class="separator:a9cac8e75d76f1192a48d1dcf61435537"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d62499eaf37fe6df75f35beaebf71f1"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a0d62499eaf37fe6df75f35beaebf71f1">Clone</a> () const override</td></tr>
|
|
<tr class="separator:a0d62499eaf37fe6df75f35beaebf71f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classshaka_1_1media_1_1StreamInfo"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1media_1_1StreamInfo')"><img src="../../closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">shaka::media::StreamInfo</a></td></tr>
|
|
<tr class="memitem:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a4dd520edf7452a27afccd578a53c246f"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>StreamInfo</b> (StreamType stream_type, int track_id, uint32_t time_scale, uint64_t duration, Codec codec, const std::string &codec_string, const uint8_t *codec_config, size_t codec_config_size, const std::string &language, bool is_encrypted)</td></tr>
|
|
<tr class="separator:a4dd520edf7452a27afccd578a53c246f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a9835c6ef38897c5d44b510c65548ce05"></a>
|
|
StreamType </td><td class="memItemRight" valign="bottom"><b>stream_type</b> () const</td></tr>
|
|
<tr class="separator:a9835c6ef38897c5d44b510c65548ce05 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a7816dc6944476f469b9fc754b942d9c1"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><b>track_id</b> () const</td></tr>
|
|
<tr class="separator:a7816dc6944476f469b9fc754b942d9c1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ae85f78a0c703e022d11c00b7b72d6a07"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><b>time_scale</b> () const</td></tr>
|
|
<tr class="separator:ae85f78a0c703e022d11c00b7b72d6a07 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ad104a3ded73699b2603186e82d0f6a58"></a>
|
|
uint64_t </td><td class="memItemRight" valign="bottom"><b>duration</b> () const</td></tr>
|
|
<tr class="separator:ad104a3ded73699b2603186e82d0f6a58 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0e59776f40d93a3fbf5d68a090243a9f"></a>
|
|
Codec </td><td class="memItemRight" valign="bottom"><b>codec</b> () const</td></tr>
|
|
<tr class="separator:a0e59776f40d93a3fbf5d68a090243a9f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="af969cb3d31979d3468b84d1a0ba5e2f6"></a>
|
|
const std::string & </td><td class="memItemRight" valign="bottom"><b>codec_string</b> () const</td></tr>
|
|
<tr class="separator:af969cb3d31979d3468b84d1a0ba5e2f6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a493a98b67db7efa91df80e08466d850e"></a>
|
|
const std::vector< uint8_t > & </td><td class="memItemRight" valign="bottom"><b>codec_config</b> () const</td></tr>
|
|
<tr class="separator:a493a98b67db7efa91df80e08466d850e inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ac6e17af7698c28d9d3f8cba398d9c3c4"></a>
|
|
const std::string & </td><td class="memItemRight" valign="bottom"><b>language</b> () const</td></tr>
|
|
<tr class="separator:ac6e17af7698c28d9d3f8cba398d9c3c4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a77602180c6ea6cd20deeb2947a184fb1"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>is_encrypted</b> () const</td></tr>
|
|
<tr class="separator:a77602180c6ea6cd20deeb2947a184fb1 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="af80fd9e3f318adb43dc11e08a8498dff"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>has_clear_lead</b> () const</td></tr>
|
|
<tr class="separator:af80fd9e3f318adb43dc11e08a8498dff inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="afc3e97f59b7f8006f1513a8c56c51395"></a>
|
|
const <a class="el" href="../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html">EncryptionConfig</a> & </td><td class="memItemRight" valign="bottom"><b>encryption_config</b> () const</td></tr>
|
|
<tr class="separator:afc3e97f59b7f8006f1513a8c56c51395 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ad7848cffb0b01bb4ff8f998a5eb732f4"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_duration</b> (uint64_t duration)</td></tr>
|
|
<tr class="separator:ad7848cffb0b01bb4ff8f998a5eb732f4 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0744a0e813c8ad8c5df649a130794fb6"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_codec</b> (Codec codec)</td></tr>
|
|
<tr class="separator:a0744a0e813c8ad8c5df649a130794fb6 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="aa54bb3e89db461517aec46d994bf972f"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_codec_config</b> (const std::vector< uint8_t > &data)</td></tr>
|
|
<tr class="separator:aa54bb3e89db461517aec46d994bf972f inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a253c9f1d0cd2d58cd041a2b5fcd2eb93"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_codec_string</b> (const std::string &codec_string)</td></tr>
|
|
<tr class="separator:a253c9f1d0cd2d58cd041a2b5fcd2eb93 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="aa939a8328421d629d778f8b149146911"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_language</b> (const std::string &language)</td></tr>
|
|
<tr class="separator:aa939a8328421d629d778f8b149146911 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a6b43537963de8997b570932f84ba08d0"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_is_encrypted</b> (bool is_encrypted)</td></tr>
|
|
<tr class="separator:a6b43537963de8997b570932f84ba08d0 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="ac1642886c381844d411740414dfde36c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_has_clear_lead</b> (bool has_clear_lead)</td></tr>
|
|
<tr class="separator:ac1642886c381844d411740414dfde36c inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memItemLeft" align="right" valign="top"><a id="a0e302302c13350278e4dda8c4964e483"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>set_encryption_config</b> (const <a class="el" href="../../d7/d34/structshaka_1_1media_1_1EncryptionConfig.html">EncryptionConfig</a> &encryption_config)</td></tr>
|
|
<tr class="separator:a0e302302c13350278e4dda8c4964e483 inherit pub_methods_classshaka_1_1media_1_1StreamInfo"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Holds video stream information. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d7/d87/video__stream__info_8h_source.html#l00023">23</a> of file <a class="el" href="../../d7/d87/video__stream__info_8h_source.html">video_stream_info.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a7c4eb713af9de075f4214de0b3c4aaf4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c4eb713af9de075f4214de0b3c4aaf4">◆ </a></span>VideoStreamInfo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">shaka::media::VideoStreamInfo::VideoStreamInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>track_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>time_scale</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t </td>
|
|
<td class="paramname"><em>duration</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Codec </td>
|
|
<td class="paramname"><em>codec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">H26xStreamFormat </td>
|
|
<td class="paramname"><em>h26x_stream_format</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>codec_string</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint8_t * </td>
|
|
<td class="paramname"><em>codec_config</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"><em>codec_config_size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>height</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>pixel_width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>pixel_height</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>transfer_characteristics</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>trick_play_factor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>nalu_length_size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>language</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>is_encrypted</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Construct an initialized video stream info object. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pixel_width</td><td>is the width of the pixel. 0 if unknown. </td></tr>
|
|
<tr><td class="paramname">pixel_height</td><td>is the height of the pixels. 0 if unknown. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html#l00041">41</a> of file <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html">video_stream_info.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a0d62499eaf37fe6df75f35beaebf71f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0d62499eaf37fe6df75f35beaebf71f1">◆ </a></span>Clone()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::unique_ptr< <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> > shaka::media::VideoStreamInfo::Clone </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>A new copy of this stream info. The copy will be of the same type as the original. This should be used when a copy is needed without explicitly knowing the stream info type. </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#afdd9b2df8ae1c11bb033c44eaba5e38d">shaka::media::StreamInfo</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html#l00095">95</a> of file <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html">video_stream_info.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8978ca2bc2dd63c2e25e77cdcf676162"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8978ca2bc2dd63c2e25e77cdcf676162">◆ </a></span>IsValidConfig()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::media::VideoStreamInfo::IsValidConfig </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>true if this object has appropriate configuration values, false otherwise. </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#a6e5c5ade77b7bcf0b7822de568695dc8">shaka::media::StreamInfo</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html#l00079">79</a> of file <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html">video_stream_info.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a40b2e26c533904ff890f4ea8086d7f71"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40b2e26c533904ff890f4ea8086d7f71">◆ </a></span>pixel_height()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t shaka::media::VideoStreamInfo::pixel_height </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Returns the pixel height. </p><dl class="section return"><dt>Returns</dt><dd>0 if unknown. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d7/d87/video__stream__info_8h_source.html#l00066">66</a> of file <a class="el" href="../../d7/d87/video__stream__info_8h_source.html">video_stream_info.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac0356f4786e3cc2699c13a253c5f3cb5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac0356f4786e3cc2699c13a253c5f3cb5">◆ </a></span>pixel_width()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t shaka::media::VideoStreamInfo::pixel_width </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Returns the pixel width. </p><dl class="section return"><dt>Returns</dt><dd>0 if unknown. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d7/d87/video__stream__info_8h_source.html#l00063">63</a> of file <a class="el" href="../../d7/d87/video__stream__info_8h_source.html">video_stream_info.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9cac8e75d76f1192a48d1dcf61435537"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9cac8e75d76f1192a48d1dcf61435537">◆ </a></span>ToString()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string shaka::media::VideoStreamInfo::ToString </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>A human-readable string describing the stream info. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html#ab3628e7fdcfccd0dc530df4b0f6e83b8">shaka::media::StreamInfo</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html#l00086">86</a> of file <a class="el" href="../../dd/d19/video__stream__info_8cc_source.html">video_stream_info.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>packager/media/base/<a class="el" href="../../d7/d87/video__stream__info_8h_source.html">video_stream_info.h</a></li>
|
|
<li>packager/media/base/<a class="el" href="../../dd/d19/video__stream__info_8cc_source.html">video_stream_info.cc</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue Jun 22 2021 00:16:06 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>
|