This file is indexed.

/usr/share/doc/ffmpeg/api/structAVD3D11VADeviceContext.html is in ffmpeg-doc 7:3.4.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!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>FFmpeg: AVD3D11VADeviceContext 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">FFmpeg
   &#160;<span id="projectnumber">3.4.2</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="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">AVD3D11VADeviceContext Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This struct is allocated as <a class="el" href="structAVHWDeviceContext.html#a46055b48d1a40445d775b4ae24f77f20" title="The format-specific data, allocated and freed by libavutil along with this context. ">AVHWDeviceContext.hwctx</a>.  
 <a href="structAVD3D11VADeviceContext.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="hwcontext__d3d11va_8h_source.html">libavutil/hwcontext_d3d11va.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a846ae4cb1f91302845776cc843dc2808"><td class="memItemLeft" align="right" valign="top">ID3D11Device *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#a846ae4cb1f91302845776cc843dc2808">device</a></td></tr>
<tr class="memdesc:a846ae4cb1f91302845776cc843dc2808"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device used for texture creation and access.  <a href="#a846ae4cb1f91302845776cc843dc2808">More...</a><br /></td></tr>
<tr class="separator:a846ae4cb1f91302845776cc843dc2808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895db1e8e6a1178000baae147afbd5ca"><td class="memItemLeft" align="right" valign="top">ID3D11DeviceContext *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#a895db1e8e6a1178000baae147afbd5ca">device_context</a></td></tr>
<tr class="memdesc:a895db1e8e6a1178000baae147afbd5ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">If unset, this will be set from the device field on init.  <a href="#a895db1e8e6a1178000baae147afbd5ca">More...</a><br /></td></tr>
<tr class="separator:a895db1e8e6a1178000baae147afbd5ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d8ffc06a83aa1dab48d6d2fe314718"><td class="memItemLeft" align="right" valign="top">ID3D11VideoDevice *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#ad5d8ffc06a83aa1dab48d6d2fe314718">video_device</a></td></tr>
<tr class="memdesc:ad5d8ffc06a83aa1dab48d6d2fe314718"><td class="mdescLeft">&#160;</td><td class="mdescRight">If unset, this will be set from the device field on init.  <a href="#ad5d8ffc06a83aa1dab48d6d2fe314718">More...</a><br /></td></tr>
<tr class="separator:ad5d8ffc06a83aa1dab48d6d2fe314718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f7ad9f3193e51307a158a4c02d9241d"><td class="memItemLeft" align="right" valign="top">ID3D11VideoContext *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#a6f7ad9f3193e51307a158a4c02d9241d">video_context</a></td></tr>
<tr class="memdesc:a6f7ad9f3193e51307a158a4c02d9241d"><td class="mdescLeft">&#160;</td><td class="mdescRight">If unset, this will be set from the device_context field on init.  <a href="#a6f7ad9f3193e51307a158a4c02d9241d">More...</a><br /></td></tr>
<tr class="separator:a6f7ad9f3193e51307a158a4c02d9241d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39fcd941aac702ab4733374d2377757f"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#a39fcd941aac702ab4733374d2377757f">lock</a> )(void *<a class="el" href="structAVD3D11VADeviceContext.html#abb2a51b8df82bf9ddba852b41fe32170">lock_ctx</a>)</td></tr>
<tr class="memdesc:a39fcd941aac702ab4733374d2377757f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callbacks for locking.  <a href="#a39fcd941aac702ab4733374d2377757f">More...</a><br /></td></tr>
<tr class="separator:a39fcd941aac702ab4733374d2377757f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646c40b40f9faeacb10245586d0f129b"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#a646c40b40f9faeacb10245586d0f129b">unlock</a> )(void *<a class="el" href="structAVD3D11VADeviceContext.html#abb2a51b8df82bf9ddba852b41fe32170">lock_ctx</a>)</td></tr>
<tr class="separator:a646c40b40f9faeacb10245586d0f129b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb2a51b8df82bf9ddba852b41fe32170"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVD3D11VADeviceContext.html#abb2a51b8df82bf9ddba852b41fe32170">lock_ctx</a></td></tr>
<tr class="separator:abb2a51b8df82bf9ddba852b41fe32170"><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>This struct is allocated as <a class="el" href="structAVHWDeviceContext.html#a46055b48d1a40445d775b4ae24f77f20" title="The format-specific data, allocated and freed by libavutil along with this context. ">AVHWDeviceContext.hwctx</a>. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00044">44</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a846ae4cb1f91302845776cc843dc2808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a846ae4cb1f91302845776cc843dc2808">&#9670;&nbsp;</a></span>device</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11Device* AVD3D11VADeviceContext::device</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device used for texture creation and access. </p>
<p>This can also be used to set the libavcodec decoding device.</p>
<p>Must be set by the user. This is the only mandatory field - the other device context fields are set from this and are available for convenience.</p>
<p>Deallocating the <a class="el" href="structAVHWDeviceContext.html" title="This struct aggregates all the (hardware/vendor-specific) &quot;high-level&quot; state, i.e. ">AVHWDeviceContext</a> will always release this interface, and it does not matter whether it was user-allocated. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00055">55</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11DeviceContext* AVD3D11VADeviceContext::device_context</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If unset, this will be set from the device field on init. </p>
<p>Deallocating the <a class="el" href="structAVHWDeviceContext.html" title="This struct aggregates all the (hardware/vendor-specific) &quot;high-level&quot; state, i.e. ">AVHWDeviceContext</a> will always release this interface, and it does not matter whether it was user-allocated. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00063">63</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11VideoDevice* AVD3D11VADeviceContext::video_device</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If unset, this will be set from the device field on init. </p>
<p>Deallocating the <a class="el" href="structAVHWDeviceContext.html" title="This struct aggregates all the (hardware/vendor-specific) &quot;high-level&quot; state, i.e. ">AVHWDeviceContext</a> will always release this interface, and it does not matter whether it was user-allocated. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00071">71</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11VideoContext* AVD3D11VADeviceContext::video_context</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If unset, this will be set from the device_context field on init. </p>
<p>Deallocating the <a class="el" href="structAVHWDeviceContext.html" title="This struct aggregates all the (hardware/vendor-specific) &quot;high-level&quot; state, i.e. ">AVHWDeviceContext</a> will always release this interface, and it does not matter whether it was user-allocated. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00079">79</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* AVD3D11VADeviceContext::lock) (void *<a class="el" href="structAVD3D11VADeviceContext.html#abb2a51b8df82bf9ddba852b41fe32170">lock_ctx</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callbacks for locking. </p>
<p>They protect accesses to device_context and video_context calls. They also protect access to the internal staging texture (for <a class="el" href="hwcontext_8h.html#abf1b1664b8239d953ae2cac8b643815a" title="Copy data to or from a hw surface. ">av_hwframe_transfer_data()</a> calls). They do NOT protect access to hwcontext or decoder state in general.</p>
<p>If unset on init, the hwcontext implementation will set them to use an internal mutex.</p>
<p>The underlying lock must be recursive. lock_ctx is for free use by the locking implementation. </p>

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00093">93</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* AVD3D11VADeviceContext::unlock) (void *<a class="el" href="structAVD3D11VADeviceContext.html#abb2a51b8df82bf9ddba852b41fe32170">lock_ctx</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00094">94</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* AVD3D11VADeviceContext::lock_ctx</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="hwcontext__d3d11va_8h_source.html#l00095">95</a> of file <a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavutil/<a class="el" href="hwcontext__d3d11va_8h_source.html">hwcontext_d3d11va.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated 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>