This file is indexed.

/usr/share/doc/ffmpeg/api/structAVHWAccel.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<!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: AVHWAccel 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">AVHWAccel Struct Reference<div class="ingroups"><a class="el" href="group__libavc.html">libavcodec</a> &raquo; <a class="el" href="group__lavc__core.html">Core functions/structures.</a> &raquo; <a class="el" href="group__lavc__hwaccel.html">AVHWAccel</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="avcodec_8h_source.html">libavcodec/avcodec.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:a9cc735be128cb62ff4cb594d3e3bdb92"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a9cc735be128cb62ff4cb594d3e3bdb92">name</a></td></tr>
<tr class="memdesc:a9cc735be128cb62ff4cb594d3e3bdb92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the hardware accelerated codec.  <a href="#a9cc735be128cb62ff4cb594d3e3bdb92">More...</a><br /></td></tr>
<tr class="separator:a9cc735be128cb62ff4cb594d3e3bdb92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af962ad3e15697454ba312d1254e5a423"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48">AVMediaType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#af962ad3e15697454ba312d1254e5a423">type</a></td></tr>
<tr class="memdesc:af962ad3e15697454ba312d1254e5a423"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of codec implemented by the hardware accelerator.  <a href="#af962ad3e15697454ba312d1254e5a423">More...</a><br /></td></tr>
<tr class="separator:af962ad3e15697454ba312d1254e5a423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c93d40193e9178eb7408295c6c2b2f2"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce">AVCodecID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a3c93d40193e9178eb7408295c6c2b2f2">id</a></td></tr>
<tr class="memdesc:a3c93d40193e9178eb7408295c6c2b2f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Codec implemented by the hardware accelerator.  <a href="#a3c93d40193e9178eb7408295c6c2b2f2">More...</a><br /></td></tr>
<tr class="separator:a3c93d40193e9178eb7408295c6c2b2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5692f044266af8c1c33b7ac549df338"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ac5692f044266af8c1c33b7ac549df338">pix_fmt</a></td></tr>
<tr class="memdesc:ac5692f044266af8c1c33b7ac549df338"><td class="mdescLeft">&#160;</td><td class="mdescRight">Supported pixel format.  <a href="#ac5692f044266af8c1c33b7ac549df338">More...</a><br /></td></tr>
<tr class="separator:ac5692f044266af8c1c33b7ac549df338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1da71a1cc27b60294023a893759e60a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aa1da71a1cc27b60294023a893759e60a">capabilities</a></td></tr>
<tr class="memdesc:aa1da71a1cc27b60294023a893759e60a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hardware accelerated codec capabilities.  <a href="#aa1da71a1cc27b60294023a893759e60a">More...</a><br /></td></tr>
<tr class="separator:aa1da71a1cc27b60294023a893759e60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaca69ddfacfa72b642007b5ab4b89424"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structAVHWAccel.html">AVHWAccel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aaca69ddfacfa72b642007b5ab4b89424">next</a></td></tr>
<tr class="separator:aaca69ddfacfa72b642007b5ab4b89424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b800e0b878f67b81d17d269249b8a0f"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a0b800e0b878f67b81d17d269249b8a0f">alloc_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>)</td></tr>
<tr class="memdesc:a0b800e0b878f67b81d17d269249b8a0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a custom buffer.  <a href="#a0b800e0b878f67b81d17d269249b8a0f">More...</a><br /></td></tr>
<tr class="separator:a0b800e0b878f67b81d17d269249b8a0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b92f781dbaaecc9c82f636b790629b"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a40b92f781dbaaecc9c82f636b790629b">start_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td></tr>
<tr class="memdesc:a40b92f781dbaaecc9c82f636b790629b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called at the beginning of each frame or field picture.  <a href="#a40b92f781dbaaecc9c82f636b790629b">More...</a><br /></td></tr>
<tr class="separator:a40b92f781dbaaecc9c82f636b790629b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1effeed94fc20e372a60fec7c4d741b"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ab1effeed94fc20e372a60fec7c4d741b">decode_slice</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td></tr>
<tr class="memdesc:ab1effeed94fc20e372a60fec7c4d741b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback for each slice.  <a href="#ab1effeed94fc20e372a60fec7c4d741b">More...</a><br /></td></tr>
<tr class="separator:ab1effeed94fc20e372a60fec7c4d741b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7f4bdfa848f4c38bb6d9d059c11a297"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ae7f4bdfa848f4c38bb6d9d059c11a297">end_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr class="memdesc:ae7f4bdfa848f4c38bb6d9d059c11a297"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called at the end of each frame or field picture.  <a href="#ae7f4bdfa848f4c38bb6d9d059c11a297">More...</a><br /></td></tr>
<tr class="separator:ae7f4bdfa848f4c38bb6d9d059c11a297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd7bfd22ce294f1ae5073164bb90d65"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aecd7bfd22ce294f1ae5073164bb90d65">frame_priv_data_size</a></td></tr>
<tr class="memdesc:aecd7bfd22ce294f1ae5073164bb90d65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of per-frame hardware accelerator private data.  <a href="#aecd7bfd22ce294f1ae5073164bb90d65">More...</a><br /></td></tr>
<tr class="separator:aecd7bfd22ce294f1ae5073164bb90d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78303ba4f7601306141d5f8bfe05d00e"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a78303ba4f7601306141d5f8bfe05d00e">decode_mb</a> )(struct MpegEncContext *s)</td></tr>
<tr class="memdesc:a78303ba4f7601306141d5f8bfe05d00e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called for every Macroblock in a slice.  <a href="#a78303ba4f7601306141d5f8bfe05d00e">More...</a><br /></td></tr>
<tr class="separator:a78303ba4f7601306141d5f8bfe05d00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8acb795f85f9852a98663e0944797d24"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a8acb795f85f9852a98663e0944797d24">init</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr class="memdesc:a8acb795f85f9852a98663e0944797d24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the hwaccel private data.  <a href="#a8acb795f85f9852a98663e0944797d24">More...</a><br /></td></tr>
<tr class="separator:a8acb795f85f9852a98663e0944797d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19115ab5af7bf9e638889ffee0b4e232"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a19115ab5af7bf9e638889ffee0b4e232">uninit</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr class="memdesc:a19115ab5af7bf9e638889ffee0b4e232"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uninitialize the hwaccel private data.  <a href="#a19115ab5af7bf9e638889ffee0b4e232">More...</a><br /></td></tr>
<tr class="separator:a19115ab5af7bf9e638889ffee0b4e232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0094df5ea13d644ebcba1237d45055be"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a0094df5ea13d644ebcba1237d45055be">priv_data_size</a></td></tr>
<tr class="memdesc:a0094df5ea13d644ebcba1237d45055be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data.  <a href="#a0094df5ea13d644ebcba1237d45055be">More...</a><br /></td></tr>
<tr class="separator:a0094df5ea13d644ebcba1237d45055be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86c35478948dd4c3ee5619db982ee0d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ac86c35478948dd4c3ee5619db982ee0d">caps_internal</a></td></tr>
<tr class="memdesc:ac86c35478948dd4c3ee5619db982ee0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal hwaccel capabilities.  <a href="#ac86c35478948dd4c3ee5619db982ee0d">More...</a><br /></td></tr>
<tr class="separator:ac86c35478948dd4c3ee5619db982ee0d"><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 class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03867">3867</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a9cc735be128cb62ff4cb594d3e3bdb92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cc735be128cb62ff4cb594d3e3bdb92">&#9670;&nbsp;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* AVHWAccel::name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Name of the hardware accelerated codec. </p>
<p>The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name). </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03873">3873</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48">AVMediaType</a> AVHWAccel::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of codec implemented by the hardware accelerator. </p>
<p>See AVMEDIA_TYPE_xxx </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03880">3880</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce">AVCodecID</a> AVHWAccel::id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Codec implemented by the hardware accelerator. </p>
<p>See AV_CODEC_ID_xxx </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03887">3887</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> AVHWAccel::pix_fmt</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Supported pixel format. </p>
<p>Only hardware accelerated formats are supported here. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03894">3894</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVHWAccel::capabilities</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hardware accelerated codec capabilities. </p>
<p>see AV_HWACCEL_CODEC_CAP_* </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03900">3900</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structAVHWAccel.html">AVHWAccel</a>* AVHWAccel::next</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03909">3909</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::alloc_frame) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocate a custom buffer. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03914">3914</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::start_frame) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called at the beginning of each frame or field picture. </p>
<p>Meaningful frame information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.</p>
<p>Note that buf can be NULL along with buf_size set to 0. Otherwise, this means the whole frame is available at this point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
    <tr><td class="paramname">buf</td><td>the frame data buffer base </td></tr>
    <tr><td class="paramname">buf_size</td><td>the size of the frame in bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03930">3930</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::decode_slice) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback for each slice. </p>
<p>Meaningful slice information (codec specific) is guaranteed to be parsed at this point. This function is mandatory. The only exception is XvMC, that works on MB level.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
    <tr><td class="paramname">buf</td><td>the slice data buffer base </td></tr>
    <tr><td class="paramname">buf_size</td><td>the size of the slice in bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03944">3944</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::end_frame) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called at the end of each frame or field picture. </p>
<p>The whole picture is parsed at this point and can now be sent to the hardware accelerator. This function is mandatory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03955">3955</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVHWAccel::frame_priv_data_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of per-frame hardware accelerator private data. </p>
<p>Private data is allocated with <a class="el" href="group__lavu__mem__funcs.html#ga6a42cc41278e2f5a5b658d2202d1650d" title="Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...">av_mallocz()</a> before AVCodecContext.get_buffer() and deallocated after AVCodecContext.release_buffer(). </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03964">3964</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* AVHWAccel::decode_mb) (struct MpegEncContext *s)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Called for every Macroblock in a slice. </p>
<p>XvMC uses it to replace the ff_mpv_reconstruct_mb(). Instead of decoding to raw picture, MB parameters are stored in an array provided by the video driver.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>the mpeg context </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03975">3975</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::init) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the hwaccel private data. </p>
<p>This will be called from ff_get_format(), after hwaccel and hwaccel_context are set and the hwaccel private data in AVCodecInternal is allocated. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03984">3984</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVHWAccel::uninit) (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Uninitialize the hwaccel private data. </p>
<p>This will be called from get_format() or <a class="el" href="group__lavc__core.html#gaf4daa92361efb3523ef5afeb0b54077f" title="Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext its...">avcodec_close()</a>, after hwaccel and hwaccel_context are already uninitialized. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03992">3992</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVHWAccel::priv_data_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l03998">3998</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVHWAccel::caps_internal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal hwaccel capabilities. </p>

<p class="definition">Definition at line <a class="el" href="avcodec_8h_source.html#l04003">4003</a> of file <a class="el" href="avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavcodec/<a class="el" href="avcodec_8h_source.html">avcodec.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>