Repository URL to install this package:
|
Version:
8:3.0.2-1ubuntu3 ▾
|
<!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.6"/>
<title>FFmpeg: libavcodec/videotoolbox.h Source File</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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">3.0.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</a></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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_3b1f69f89eda39a44baf4887988d54a7.html">libavcodec</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">videotoolbox.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="videotoolbox_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Videotoolbox hardware acceleration</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * copyright (c) 2012 Sebastien Zwickert</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This file is part of FFmpeg.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * FFmpeg is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * FFmpeg is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * License along with FFmpeg; if not, write to the Free Software</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef AVCODEC_VIDEOTOOLBOX_H</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#define AVCODEC_VIDEOTOOLBOX_H</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * @file</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * @ingroup lavc_codec_hwaccel_videotoolbox</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * Public libavcodec Videotoolbox header.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <stdint.h></span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="videotoolbox_8h.html#a63024b9f4f18a0420b1e71b49205d3ca"> 34</a></span> <span class="preprocessor">#define Picture QuickdrawPicture</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="preprocessor">#include <VideoToolbox/VideoToolbox.h></span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#undef Picture</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="avcodec_8h.html">libavcodec/avcodec.h</a>"</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * This struct holds all the information that needs to be passed</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * between the caller and libavcodec for initializing Videotoolbox decoding.</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> * Its size is not a part of the public ABI, it must be allocated with</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * av_videotoolbox_alloc_context() and freed with av_free().</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html"> 46</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVVideotoolboxContext.html">AVVideotoolboxContext</a> {<span class="comment"></span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * Videotoolbox decompression session object.</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> * Created and freed the caller.</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html#ad2cb91b738049bee6245c312005f1e1c"> 51</a></span>  VTDecompressionSessionRef <a class="code" href="structAVVideotoolboxContext.html#ad2cb91b738049bee6245c312005f1e1c">session</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"></span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"> * The output callback that must be passed to the session.</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> * Set by av_videottoolbox_default_init()</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html#ab9e677a008bd6a42414cdaded9813197"> 57</a></span>  VTDecompressionOutputCallback <a class="code" href="structAVVideotoolboxContext.html#ab9e677a008bd6a42414cdaded9813197">output_callback</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"></span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> * set by the caller.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html#aca00ad4366a7446934e3b6571ed26e79"> 63</a></span>  OSType <a class="code" href="structAVVideotoolboxContext.html#aca00ad4366a7446934e3b6571ed26e79">cv_pix_fmt_type</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"></span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> * CoreMedia Format Description that Videotoolbox will use to create the decompression session.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> * Set by the caller.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html#aa250940fe1997a68a739522f82ff36cf"> 69</a></span>  CMVideoFormatDescriptionRef <a class="code" href="structAVVideotoolboxContext.html#aa250940fe1997a68a739522f82ff36cf">cm_fmt_desc</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"></span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> * CoreMedia codec type that Videotoolbox will use to create the decompression session.</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> * Set by the caller.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structAVVideotoolboxContext.html#a7d2a6770ceb12cf07948b1e6c9ad6916"> 75</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVVideotoolboxContext.html#a7d2a6770ceb12cf07948b1e6c9ad6916">cm_codec_type</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <a class="code" href="structAVVideotoolboxContext.html">AVVideotoolboxContext</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"></span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> * Allocate and initialize a Videotoolbox context.</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"> * This function should be called from the get_format() callback when the caller</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> * selects the AV_PIX_FMT_VIDETOOLBOX format. The caller must then create</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> * the decoder object (using the output callback provided by libavcodec) that</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> * will be used for Videotoolbox-accelerated decoding.</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> * When decoding with Videotoolbox is finished, the caller must destroy the decoder</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"> * object and free the Videotoolbox context using av_free().</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> * @return the newly allocated context or NULL on failure</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <a class="code" href="structAVVideotoolboxContext.html">AVVideotoolboxContext</a> *<a class="code" href="videotoolbox_8h.html#aad76884fa38a53154e84e38cd4d9cc67">av_videotoolbox_alloc_context</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"></span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> * This is a convenience function that creates and sets up the Videotoolbox context using</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"> * an internal implementation.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> * @param avctx the corresponding codec context</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> * @return >= 0 on success, a negative AVERROR code on failure</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">int</span> <a class="code" href="videotoolbox_8h.html#a7ed4fd0ba05fc0558af8ed526b9350b9">av_videotoolbox_default_init</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"></span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * This is a convenience function that creates and sets up the Videotoolbox context using</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> * an internal implementation.</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> * @param avctx the corresponding codec context</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> * @param vtctx the Videotoolbox context to use</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> * @return >= 0 on success, a negative AVERROR code on failure</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">int</span> <a class="code" href="videotoolbox_8h.html#a8c860120fc0583fa53befdb7fa26a5d8">av_videotoolbox_default_init2</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="code" href="structAVVideotoolboxContext.html">AVVideotoolboxContext</a> *vtctx);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"></span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * This function must be called to free the Videotoolbox context initialized with</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> * av_videotoolbox_default_init().</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> * @param avctx the corresponding codec context</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keywordtype">void</span> <a class="code" href="videotoolbox_8h.html#a7628aa41b2d82919c2438f106b564167">av_videotoolbox_default_free</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"></span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#endif </span><span class="comment">/* AVCODEC_VIDEOTOOLBOX_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="structAVVideotoolboxContext_html_a7d2a6770ceb12cf07948b1e6c9ad6916"><div class="ttname"><a href="structAVVideotoolboxContext.html#a7d2a6770ceb12cf07948b1e6c9ad6916">AVVideotoolboxContext::cm_codec_type</a></div><div class="ttdeci">int cm_codec_type</div><div class="ttdoc">CoreMedia codec type that Videotoolbox will use to create the decompression session. </div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00075">videotoolbox.h:75</a></div></div>
<div class="ttc" id="videotoolbox_8h_html_aad76884fa38a53154e84e38cd4d9cc67"><div class="ttname"><a href="videotoolbox_8h.html#aad76884fa38a53154e84e38cd4d9cc67">av_videotoolbox_alloc_context</a></div><div class="ttdeci">AVVideotoolboxContext * av_videotoolbox_alloc_context(void)</div><div class="ttdoc">Allocate and initialize a Videotoolbox context. </div></div>
<div class="ttc" id="videotoolbox_8h_html_a7ed4fd0ba05fc0558af8ed526b9350b9"><div class="ttname"><a href="videotoolbox_8h.html#a7ed4fd0ba05fc0558af8ed526b9350b9">av_videotoolbox_default_init</a></div><div class="ttdeci">int av_videotoolbox_default_init(AVCodecContext *avctx)</div><div class="ttdoc">This is a convenience function that creates and sets up the Videotoolbox context using an internal im...</div></div>
<div class="ttc" id="structAVVideotoolboxContext_html_ad2cb91b738049bee6245c312005f1e1c"><div class="ttname"><a href="structAVVideotoolboxContext.html#ad2cb91b738049bee6245c312005f1e1c">AVVideotoolboxContext::session</a></div><div class="ttdeci">VTDecompressionSessionRef session</div><div class="ttdoc">Videotoolbox decompression session object. </div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00051">videotoolbox.h:51</a></div></div>
<div class="ttc" id="videotoolbox_8h_html_a8c860120fc0583fa53befdb7fa26a5d8"><div class="ttname"><a href="videotoolbox_8h.html#a8c860120fc0583fa53befdb7fa26a5d8">av_videotoolbox_default_init2</a></div><div class="ttdeci">int av_videotoolbox_default_init2(AVCodecContext *avctx, AVVideotoolboxContext *vtctx)</div><div class="ttdoc">This is a convenience function that creates and sets up the Videotoolbox context using an internal im...</div></div>
<div class="ttc" id="avcodec_8h_html"><div class="ttname"><a href="avcodec_8h.html">avcodec.h</a></div><div class="ttdoc">Libavcodec external API header. </div></div>
<div class="ttc" id="structAVCodecContext_html"><div class="ttname"><a href="structAVCodecContext.html">AVCodecContext</a></div><div class="ttdoc">main external API structure. </div><div class="ttdef"><b>Definition:</b> <a href="avcodec_8h_source.html#l01532">avcodec.h:1532</a></div></div>
<div class="ttc" id="structAVVideotoolboxContext_html_aa250940fe1997a68a739522f82ff36cf"><div class="ttname"><a href="structAVVideotoolboxContext.html#aa250940fe1997a68a739522f82ff36cf">AVVideotoolboxContext::cm_fmt_desc</a></div><div class="ttdeci">CMVideoFormatDescriptionRef cm_fmt_desc</div><div class="ttdoc">CoreMedia Format Description that Videotoolbox will use to create the decompression session...</div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00069">videotoolbox.h:69</a></div></div>
<div class="ttc" id="structAVVideotoolboxContext_html_aca00ad4366a7446934e3b6571ed26e79"><div class="ttname"><a href="structAVVideotoolboxContext.html#aca00ad4366a7446934e3b6571ed26e79">AVVideotoolboxContext::cv_pix_fmt_type</a></div><div class="ttdeci">OSType cv_pix_fmt_type</div><div class="ttdoc">CVPixelBuffer Format Type that Videotoolbox will use for decoded frames. </div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00063">videotoolbox.h:63</a></div></div>
<div class="ttc" id="structAVVideotoolboxContext_html_ab9e677a008bd6a42414cdaded9813197"><div class="ttname"><a href="structAVVideotoolboxContext.html#ab9e677a008bd6a42414cdaded9813197">AVVideotoolboxContext::output_callback</a></div><div class="ttdeci">VTDecompressionOutputCallback output_callback</div><div class="ttdoc">The output callback that must be passed to the session. </div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00057">videotoolbox.h:57</a></div></div>
<div class="ttc" id="videotoolbox_8h_html_a7628aa41b2d82919c2438f106b564167"><div class="ttname"><a href="videotoolbox_8h.html#a7628aa41b2d82919c2438f106b564167">av_videotoolbox_default_free</a></div><div class="ttdeci">void av_videotoolbox_default_free(AVCodecContext *avctx)</div><div class="ttdoc">This function must be called to free the Videotoolbox context initialized with av_videotoolbox_defaul...</div></div>
<div class="ttc" id="structAVVideotoolboxContext_html"><div class="ttname"><a href="structAVVideotoolboxContext.html">AVVideotoolboxContext</a></div><div class="ttdoc">This struct holds all the information that needs to be passed between the caller and libavcodec for i...</div><div class="ttdef"><b>Definition:</b> <a href="videotoolbox_8h_source.html#l00046">videotoolbox.h:46</a></div></div>
</div><!-- fragment --></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.6
</small></address>
</body>
</html>