/usr/share/doc/ffmpeg/api/structAVVideotoolboxContext.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 | <!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: AVVideotoolboxContext 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
 <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">AVVideotoolboxContext Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This struct holds all the information that needs to be passed between the caller and libavcodec for initializing Videotoolbox decoding.
<a href="structAVVideotoolboxContext.html#details">More...</a></p>
<p><code>#include <<a class="el" href="videotoolbox_8h_source.html">libavcodec/videotoolbox.h</a>></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:ad2cb91b738049bee6245c312005f1e1c"><td class="memItemLeft" align="right" valign="top">VTDecompressionSessionRef </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVideotoolboxContext.html#ad2cb91b738049bee6245c312005f1e1c">session</a></td></tr>
<tr class="memdesc:ad2cb91b738049bee6245c312005f1e1c"><td class="mdescLeft"> </td><td class="mdescRight">Videotoolbox decompression session object. <a href="#ad2cb91b738049bee6245c312005f1e1c">More...</a><br /></td></tr>
<tr class="separator:ad2cb91b738049bee6245c312005f1e1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9e677a008bd6a42414cdaded9813197"><td class="memItemLeft" align="right" valign="top">VTDecompressionOutputCallback </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVideotoolboxContext.html#ab9e677a008bd6a42414cdaded9813197">output_callback</a></td></tr>
<tr class="memdesc:ab9e677a008bd6a42414cdaded9813197"><td class="mdescLeft"> </td><td class="mdescRight">The output callback that must be passed to the session. <a href="#ab9e677a008bd6a42414cdaded9813197">More...</a><br /></td></tr>
<tr class="separator:ab9e677a008bd6a42414cdaded9813197"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca00ad4366a7446934e3b6571ed26e79"><td class="memItemLeft" align="right" valign="top">OSType </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVideotoolboxContext.html#aca00ad4366a7446934e3b6571ed26e79">cv_pix_fmt_type</a></td></tr>
<tr class="memdesc:aca00ad4366a7446934e3b6571ed26e79"><td class="mdescLeft"> </td><td class="mdescRight">CVPixelBuffer Format Type that Videotoolbox will use for decoded frames. <a href="#aca00ad4366a7446934e3b6571ed26e79">More...</a><br /></td></tr>
<tr class="separator:aca00ad4366a7446934e3b6571ed26e79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa250940fe1997a68a739522f82ff36cf"><td class="memItemLeft" align="right" valign="top">CMVideoFormatDescriptionRef </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVideotoolboxContext.html#aa250940fe1997a68a739522f82ff36cf">cm_fmt_desc</a></td></tr>
<tr class="memdesc:aa250940fe1997a68a739522f82ff36cf"><td class="mdescLeft"> </td><td class="mdescRight">CoreMedia Format Description that Videotoolbox will use to create the decompression session. <a href="#aa250940fe1997a68a739522f82ff36cf">More...</a><br /></td></tr>
<tr class="separator:aa250940fe1997a68a739522f82ff36cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d2a6770ceb12cf07948b1e6c9ad6916"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVideotoolboxContext.html#a7d2a6770ceb12cf07948b1e6c9ad6916">cm_codec_type</a></td></tr>
<tr class="memdesc:a7d2a6770ceb12cf07948b1e6c9ad6916"><td class="mdescLeft"> </td><td class="mdescRight">CoreMedia codec type that Videotoolbox will use to create the decompression session. <a href="#a7d2a6770ceb12cf07948b1e6c9ad6916">More...</a><br /></td></tr>
<tr class="separator:a7d2a6770ceb12cf07948b1e6c9ad6916"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This struct holds all the information that needs to be passed between the caller and libavcodec for initializing Videotoolbox decoding. </p>
<p>Its size is not a part of the public ABI, it must be allocated with <a class="el" href="videotoolbox_8h.html#aad76884fa38a53154e84e38cd4d9cc67" title="Allocate and initialize a Videotoolbox context. ">av_videotoolbox_alloc_context()</a> and freed with <a class="el" href="group__lavu__mem__funcs.html#ga0c9096f498624c525aa2315b8a20c411" title="Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family...">av_free()</a>. </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00046">46</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ad2cb91b738049bee6245c312005f1e1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cb91b738049bee6245c312005f1e1c">◆ </a></span>session</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">VTDecompressionSessionRef AVVideotoolboxContext::session</td>
</tr>
</table>
</div><div class="memdoc">
<p>Videotoolbox decompression session object. </p>
<p>Created and freed the caller. </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00051">51</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div>
</div>
<a id="ab9e677a008bd6a42414cdaded9813197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e677a008bd6a42414cdaded9813197">◆ </a></span>output_callback</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">VTDecompressionOutputCallback AVVideotoolboxContext::output_callback</td>
</tr>
</table>
</div><div class="memdoc">
<p>The output callback that must be passed to the session. </p>
<p>Set by av_videottoolbox_default_init() </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00057">57</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div>
</div>
<a id="aca00ad4366a7446934e3b6571ed26e79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca00ad4366a7446934e3b6571ed26e79">◆ </a></span>cv_pix_fmt_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OSType AVVideotoolboxContext::cv_pix_fmt_type</td>
</tr>
</table>
</div><div class="memdoc">
<p>CVPixelBuffer Format Type that Videotoolbox will use for decoded frames. </p>
<p>set by the caller. If this is set to 0, then no specific format is requested from the decoder, and its native format is output. </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00064">64</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div>
</div>
<a id="aa250940fe1997a68a739522f82ff36cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa250940fe1997a68a739522f82ff36cf">◆ </a></span>cm_fmt_desc</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CMVideoFormatDescriptionRef AVVideotoolboxContext::cm_fmt_desc</td>
</tr>
</table>
</div><div class="memdoc">
<p>CoreMedia Format Description that Videotoolbox will use to create the decompression session. </p>
<p>Set by the caller. </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00070">70</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div>
</div>
<a id="a7d2a6770ceb12cf07948b1e6c9ad6916"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d2a6770ceb12cf07948b1e6c9ad6916">◆ </a></span>cm_codec_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVVideotoolboxContext::cm_codec_type</td>
</tr>
</table>
</div><div class="memdoc">
<p>CoreMedia codec type that Videotoolbox will use to create the decompression session. </p>
<p>Set by the caller. </p>
<p class="definition">Definition at line <a class="el" href="videotoolbox_8h_source.html#l00076">76</a> of file <a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavcodec/<a class="el" href="videotoolbox_8h_source.html">videotoolbox.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
|