summaryrefslogtreecommitdiff
path: root/unionVAConfigAttribValEncRateControlExt.html
blob: 27d1226af21d1a3319aea9299179009ac01edf27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VA-API: VAConfigAttribValEncRateControlExt Union 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.8.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</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="unionVAConfigAttribValEncRateControlExt-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">VAConfigAttribValEncRateControlExt Union Reference<div class="ingroups"><a class="el" href="group__api__core.html">Core API</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Attribute value for VAConfigAttribEncRateControlExt.  
 <a href="unionVAConfigAttribValEncRateControlExt.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="va_8h_source.html">va.h</a>&gt;</code></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Attribute value for VAConfigAttribEncRateControlExt. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="ae44185f23cd56edde7a220362f65a9ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae44185f23cd56edde7a220362f65a9ae">&#9670;&nbsp;</a></span>max_num_temporal_layers_minus1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t VAConfigAttribValEncRateControlExt::max_num_temporal_layers_minus1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The maximum number of temporal layers minus 1. </p>
<p><a class="el" href="unionVAConfigAttribValEncRateControlExt.html#ae44185f23cd56edde7a220362f65a9ae">max_num_temporal_layers_minus1</a> plus 1 specifies the maximum number of temporal layers that supported by the underlying driver. <a class="el" href="unionVAConfigAttribValEncRateControlExt.html#ae44185f23cd56edde7a220362f65a9ae">max_num_temporal_layers_minus1</a> equal to 0 implies the underlying driver doesn't support encoding with temporal layer. </p>

</div>
</div>
<a id="a208a830a1fed195c31e1e9d646c6c437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a208a830a1fed195c31e1e9d646c6c437">&#9670;&nbsp;</a></span>temporal_layer_bitrate_control_flag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t VAConfigAttribValEncRateControlExt::temporal_layer_bitrate_control_flag</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>/brief support temporal layer bit-rate control flag</p>
<p><a class="el" href="unionVAConfigAttribValEncRateControlExt.html#a208a830a1fed195c31e1e9d646c6c437">temporal_layer_bitrate_control_flag</a> equal to 1 specifies the underlying driver can support bit-rate control per temporal layer when (#VAConfigAttribRateControl == <a class="el" href="group__api__core.html#gaa57577c08c899f30861ef30a9579c6e1" title="Constant bitrate. ">VA_RC_CBR</a> || #VAConfigAttribRateControl == <a class="el" href="group__api__core.html#ga2ada19db3fc9a6f9d936c3998bb2f9a1" title="Variable bitrate. ">VA_RC_VBR</a>).</p>
<p>The underlying driver must set <a class="el" href="unionVAConfigAttribValEncRateControlExt.html#a208a830a1fed195c31e1e9d646c6c437">temporal_layer_bitrate_control_flag</a> to 0 when <code>max_num_temporal_layers_minus1</code> is equal to 0</p>
<p>To use bit-rate control per temporal layer, an application must send the right layer structure via <a class="el" href="structVAEncMiscParameterTemporalLayerStructure.html" title="Temporal layer Structure. ">VAEncMiscParameterTemporalLayerStructure</a> at the beginning of a coded sequence and then followed by <a class="el" href="structVAEncMiscParameterRateControl.html" title="Rate control parameters. ">VAEncMiscParameterRateControl</a> and <a class="el" href="structVAEncMiscParameterFrameRate.html">VAEncMiscParameterFrameRate</a> structures for each layer, using the <code>temporal_id</code> field as the layer identifier. Otherwise the driver doesn't use bitrate control per temporal layer if an application doesn't send the layer structure via <a class="el" href="structVAEncMiscParameterTemporalLayerStructure.html" title="Temporal layer Structure. ">VAEncMiscParameterTemporalLayerStructure</a> to the driver. The driver returns VA_STATUS_ERROR_INVALID_PARAMETER if an application sends a wrong layer structure or doesn't send <a class="el" href="structVAEncMiscParameterRateControl.html" title="Rate control parameters. ">VAEncMiscParameterRateControl</a> and <a class="el" href="structVAEncMiscParameterFrameRate.html">VAEncMiscParameterFrameRate</a> for each layer.</p>
<p>The driver will ignore <a class="el" href="structVAEncMiscParameterTemporalLayerStructure.html" title="Temporal layer Structure. ">VAEncMiscParameterTemporalLayerStructure</a> and the <code>temporal_id</code> field in <a class="el" href="structVAEncMiscParameterRateControl.html" title="Rate control parameters. ">VAEncMiscParameterRateControl</a> and <a class="el" href="structVAEncMiscParameterFrameRate.html">VAEncMiscParameterFrameRate</a> if <a class="el" href="unionVAConfigAttribValEncRateControlExt.html#a208a830a1fed195c31e1e9d646c6c437">temporal_layer_bitrate_control_flag</a> is equal to 0 or #VAConfigAttribRateControl == <a class="el" href="group__api__core.html#ga6efd5a7ec33229f63fae20d65c53dc7f" title="Constant QP. ">VA_RC_CQP</a> </p>

</div>
</div>
<hr/>The documentation for this union was generated from the following file:<ul>
<li><a class="el" href="va_8h_source.html">va.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.8.13</small></address>
</body>
</html>