blob: 2da31db79dc163dc18588654dbe97aa8d6858225 [file] [edit]
<!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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VA-API: VAEncSegMapBufferAV1 Struct 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">VA-API
&#160;<span id="projectnumber">2.23.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @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&amp;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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structVAEncSegMapBufferAV1-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">VAEncSegMapBufferAV1 Struct Reference<div class="ingroups"><a class="el" href="group__api__enc__av1.html">AV1 encoding API</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Segment map data buffer.
<a href="structVAEncSegMapBufferAV1.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="va__enc__av1_8h_source.html">va_enc_av1.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a94b99b2c579090ba51e44592785e7d8f"><td class="memItemLeft" align="right" valign="top"><a id="a94b99b2c579090ba51e44592785e7d8f"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structVAEncSegMapBufferAV1.html#a94b99b2c579090ba51e44592785e7d8f">segmentMapDataSize</a></td></tr>
<tr class="memdesc:a94b99b2c579090ba51e44592785e7d8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Segment map data size. <br /></td></tr>
<tr class="separator:a94b99b2c579090ba51e44592785e7d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7546d1da289681f3831823e103e8cb0d"><td class="memItemLeft" align="right" valign="top"><a id="a7546d1da289681f3831823e103e8cb0d"></a>
uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structVAEncSegMapBufferAV1.html#a7546d1da289681f3831823e103e8cb0d">pSegmentMap</a></td></tr>
<tr class="memdesc:a7546d1da289681f3831823e103e8cb0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Segment map. Size of this map is indicated by <a class="el" href="structVAEncSegMapBufferAV1.html#a94b99b2c579090ba51e44592785e7d8f">segmentMapDataSize</a> and each element in this map contains the segment id of a particular block. The element is indexed by raster scan order. The value of each entry should be in the range [0..7], inclusive. <br /></td></tr>
<tr class="separator:a7546d1da289681f3831823e103e8cb0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Segment map data buffer. </p>
<p>This buffer is optional depending on the value of av1_segments.segmentation_enabled. If av1_segments.segmentation_enabled in the picture parameters equals 1, and RateControlMethod is not CQP and this surface is not provided by App, the encoder will determine the per block segmentation map. In this case, App should not provide the segmentation parameter data structure in frame header as well. If av1_segments.segmentation_enabled equals 1 and the segmentation map buffer is provided, app should embed the segmentation info in frame header, populate the <a class="el" href="structVAEncSegParamAV1.html" title="Segment parameters.">VAEncSegParamAV1</a> structure with #VAEncMacroblockMapBufferType and the driver as well as the underline encoder should honor what is given by the app. </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="va__enc__av1_8h_source.html">va_enc_av1.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated for VA-API by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1</small></address>
</body>
</html>