2021-04-10 04:00:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-03-08 02:29:00 +00:00
< 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" / >
2021-06-22 00:16:40 +00:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-02-10 23:37:42 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2018-05-23 23:12:00 +00:00
< title > Shaka Packager SDK: shaka::media::PsshBoxBuilder Class Reference< / title >
2016-03-08 02:29:00 +00:00
< 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" / >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../search/searchdata.js" > < / script >
2016-03-08 02:29:00 +00:00
< 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;" >
2018-02-10 23:37:42 +00:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2016-03-08 02:29:00 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-06-22 00:16:40 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2016-03-08 02:29:00 +00:00
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-06-22 00:16:40 +00:00
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2021-04-10 04:00:37 +00:00
/* @license-end */
2016-03-08 02:29:00 +00:00
< / script >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2018-02-10 23:37:42 +00:00
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-04-10 04:00:37 +00:00
/* @license-end */< / script >
2018-02-10 23:37:42 +00:00
< div id = "main-nav" > < / div >
2016-03-08 02:29:00 +00:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-02-10 23:37:42 +00:00
< / div >
2016-03-08 02:29:00 +00:00
<!-- 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 >
2018-05-23 23:12:00 +00:00
< 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 = "../../d2/d24/classshaka_1_1media_1_1PsshBoxBuilder.html" > PsshBoxBuilder< / a > < / li > < / ul >
2016-03-08 02:29:00 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-static-methods" > Static Public Member Functions< / a > |
2018-05-23 23:12:00 +00:00
< a href = "../../dc/d7b/classshaka_1_1media_1_1PsshBoxBuilder-members.html" > List of all members< / a > < / div >
2016-03-08 02:29:00 +00:00
< div class = "headertitle" >
2018-05-23 23:12:00 +00:00
< div class = "title" > shaka::media::PsshBoxBuilder Class Reference< / div > < / div >
2016-03-08 02:29:00 +00:00
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memitem:a171ae52bfa8b3991bacee5c38ed2d529" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a171ae52bfa8b3991bacee5c38ed2d529" > < / a >
std::vector< uint8_t >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/d24/classshaka_1_1media_1_1PsshBoxBuilder.html#a171ae52bfa8b3991bacee5c38ed2d529" > CreateBox< / a > () const< / td > < / tr >
< tr class = "memdesc:a171ae52bfa8b3991bacee5c38ed2d529" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a PSSH box for the current data. < br / > < / td > < / tr >
< tr class = "separator:a171ae52bfa8b3991bacee5c38ed2d529" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5934153e279bf937bbc6caa3ba84e7e6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a5934153e279bf937bbc6caa3ba84e7e6" > < / a >
2018-02-10 23:37:42 +00:00
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > pssh_box_version< / b > () const< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a5934153e279bf937bbc6caa3ba84e7e6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae84b86e4423b9b7de3bb35e347c070eb" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae84b86e4423b9b7de3bb35e347c070eb" > < / a >
2018-02-10 23:37:42 +00:00
const std::vector< uint8_t > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > system_id< / b > () const< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:ae84b86e4423b9b7de3bb35e347c070eb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a795bbdba7dd7a5e7328414acde9832f9" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a795bbdba7dd7a5e7328414acde9832f9" > < / a >
2018-02-10 23:37:42 +00:00
const std::vector< std::vector< uint8_t > > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > key_ids< / b > () const< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a795bbdba7dd7a5e7328414acde9832f9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a52591576c755f875ecad7dc7eaa79fa2" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a52591576c755f875ecad7dc7eaa79fa2" > < / a >
2018-02-10 23:37:42 +00:00
const std::vector< uint8_t > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > pssh_data< / b > () const< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a52591576c755f875ecad7dc7eaa79fa2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa16720aaa8451a378a04ffb78a36cd69" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa16720aaa8451a378a04ffb78a36cd69" > < / a >
2016-03-11 18:47:22 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_pssh_box_version< / b > (uint8_t version)< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:aa16720aaa8451a378a04ffb78a36cd69" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a029940d81c713fdf7028361176c966e3" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a029940d81c713fdf7028361176c966e3" > < / a >
2016-03-11 18:47:22 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_system_id< / b > (const uint8_t *system_id, size_t system_id_size)< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a029940d81c713fdf7028361176c966e3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a25738b05af6d2a863409cd27e55c6c8c" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a25738b05af6d2a863409cd27e55c6c8c" > < / a >
2016-03-08 02:29:00 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > add_key_id< / b > (const std::vector< uint8_t > & key_id)< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a25738b05af6d2a863409cd27e55c6c8c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a89b8972fe7d6a18d51f389ce962a00b6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a89b8972fe7d6a18d51f389ce962a00b6" > < / a >
2016-03-08 02:29:00 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > clear_key_ids< / b > ()< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a89b8972fe7d6a18d51f389ce962a00b6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a165ba8b9012766bd89da70aee7040979" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a165ba8b9012766bd89da70aee7040979" > < / a >
2016-03-08 02:29:00 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_pssh_data< / b > (const std::vector< uint8_t > & pssh_data)< / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "separator:a165ba8b9012766bd89da70aee7040979" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-03-08 02:29:00 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-static-methods" > < / a >
Static Public Member Functions< / h2 > < / td > < / tr >
2018-05-23 23:12:00 +00:00
< tr class = "memitem:a7ebab252f964cd679ca7cf232c61c947" > < td class = "memItemLeft" align = "right" valign = "top" > static std::unique_ptr< < a class = "el" href = "../../d2/d24/classshaka_1_1media_1_1PsshBoxBuilder.html" > PsshBoxBuilder< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/d24/classshaka_1_1media_1_1PsshBoxBuilder.html#a7ebab252f964cd679ca7cf232c61c947" > ParseFromBox< / a > (const uint8_t *data, size_t data_size)< / td > < / tr >
< tr class = "separator:a7ebab252f964cd679ca7cf232c61c947" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-03-08 02:29:00 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2021-04-10 04:00:37 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../d6/d59/protection__system__specific__info_8h_source.html#l00033" > 33< / a > of file < a class = "el" href = "../../d6/d59/protection__system__specific__info_8h_source.html" > protection_system_specific_info.h< / a > .< / p >
2016-03-08 02:29:00 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-05-23 23:12:00 +00:00
< a id = "a7ebab252f964cd679ca7cf232c61c947" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7ebab252f964cd679ca7cf232c61c947" > ◆ < / a > < / span > ParseFromBox()< / h2 >
2018-02-10 23:37:42 +00:00
2016-03-08 02:29:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2018-05-23 23:12:00 +00:00
< td class = "memname" > std::unique_ptr< < a class = "el" href = "../../d2/d24/classshaka_1_1media_1_1PsshBoxBuilder.html" > PsshBoxBuilder< / a > > shaka::media::PsshBoxBuilder::ParseFromBox < / td >
2016-03-08 02:29:00 +00:00
< td > (< / td >
< td class = "paramtype" > const uint8_t *  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
2018-05-23 23:12:00 +00:00
< td class = "paramname" > < em > data_size< / em >   < / td >
2016-03-08 02:29:00 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-05-23 23:12:00 +00:00
< p > Parses the given PSSH box into this object. < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > nullptr on failure. < / dd > < / dl >
2016-03-08 02:29:00 +00:00
2018-05-23 23:12:00 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../d7/d42/protection__system__specific__info_8cc_source.html#l00066" > 66< / a > of file < a class = "el" href = "../../d7/d42/protection__system__specific__info_8cc_source.html" > protection_system_specific_info.cc< / a > .< / p >
2016-03-08 02:29:00 +00:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2017-09-20 02:35:05 +00:00
< li > packager/media/base/< a class = "el" href = "../../d6/d59/protection__system__specific__info_8h_source.html" > protection_system_specific_info.h< / a > < / li >
< li > packager/media/base/< a class = "el" href = "../../d7/d42/protection__system__specific__info_8cc_source.html" > protection_system_specific_info.cc< / a > < / li >
2016-03-08 02:29:00 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2021-06-22 00:16:40 +00:00
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
2016-03-08 02:29:00 +00:00
< / small > < / address >
< / body >
< / html >