Repository URL to install this package:
Version:
7:2.7.1-1ubuntu2 ▾
|
<!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"/>
<title>FFmpeg: libavcodec/dv_profile.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<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">2.7.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<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>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#define-members">Defines</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">libavcodec/dv_profile.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <stdint.h></code><br/>
<code>#include "<a class="el" href="pixfmt_8h_source.html">libavutil/pixfmt.h</a>"</code><br/>
<code>#include "<a class="el" href="rational_8h_source.html">libavutil/rational.h</a>"</code><br/>
<code>#include "<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>"</code><br/>
</div>
<p><a href="dv__profile_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVDVProfile.html">AVDVProfile</a></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dv__profile_8h.html#ac1a05e6c2c38695c86f958a310c679c2">DV_PROFILE_BYTES</a>   (6 * 80) /* 6 DIF blocks */</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> const <br class="typebreak"/>
<a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dv__profile_8h.html#a87df4f4db42c8cddaeacc333f5a551e0">avpriv_dv_frame_profile2</a> (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *codec, const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> *sys, const uint8_t *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>, unsigned buf_size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dv__profile_8h.html#a2b14cf1ed2d0416677b300e1f8410ee4">av_dv_frame_profile</a> (const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> *sys, const uint8_t *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>, unsigned buf_size)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a DV profile for the provided compressed frame. <a href="#a2b14cf1ed2d0416677b300e1f8410ee4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dv__profile_8h.html#ac0ce11afd1cbfcf0365a56eef2f374c5">av_dv_codec_profile</a> (int <a class="el" href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>, enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a DV profile for the provided stream parameters. <a href="#ac0ce11afd1cbfcf0365a56eef2f374c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dv__profile_8h.html#a6e6b2532a302003fcd0c35694867eb32">av_dv_codec_profile2</a> (int <a class="el" href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>, enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>, <a class="el" href="structAVRational.html">AVRational</a> frame_rate)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a DV profile for the provided stream parameters. <a href="#a6e6b2532a302003fcd0c35694867eb32"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ac1a05e6c2c38695c86f958a310c679c2"></a><!-- doxytag: member="dv_profile.h::DV_PROFILE_BYTES" ref="ac1a05e6c2c38695c86f958a310c679c2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="dv__profile_8h.html#ac1a05e6c2c38695c86f958a310c679c2">DV_PROFILE_BYTES</a>   (6 * 80) /* 6 DIF blocks */</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="dv__profile_8h_source.html#l00030">30</a> of file <a class="el" href="dv__profile_8h_source.html">dv_profile.h</a>.</p>
</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a87df4f4db42c8cddaeacc333f5a551e0"></a><!-- doxytag: member="dv_profile.h::avpriv_dv_frame_profile2" ref="a87df4f4db42c8cddaeacc333f5a551e0" args="(AVCodecContext *codec, const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> const <a class="el" href="structAVDVProfile.html">AVDVProfile</a>* <a class="el" href="dv__profile_8h.html#a87df4f4db42c8cddaeacc333f5a551e0">avpriv_dv_frame_profile2</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structAVCodecContext.html">AVCodecContext</a> * </td>
<td class="paramname"><em>codec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td>
<td class="paramname"><em>sys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint8_t * </td>
<td class="paramname"><em>frame</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>buf_size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000045">Deprecated:</a></b></dt><dd>use <a class="el" href="dv__profile_8h.html#a2b14cf1ed2d0416677b300e1f8410ee4" title="Get a DV profile for the provided compressed frame.">av_dv_frame_profile()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2b14cf1ed2d0416677b300e1f8410ee4"></a><!-- doxytag: member="dv_profile.h::av_dv_frame_profile" ref="a2b14cf1ed2d0416677b300e1f8410ee4" args="(const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a>* <a class="el" href="dv__profile_8h.html#a2b14cf1ed2d0416677b300e1f8410ee4">av_dv_frame_profile</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a> * </td>
<td class="paramname"><em>sys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint8_t * </td>
<td class="paramname"><em>frame</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>buf_size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get a DV profile for the provided compressed frame. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sys</td><td>the profile used for the previous frame, may be NULL </td></tr>
<tr><td class="paramname">frame</td><td>the compressed data buffer </td></tr>
<tr><td class="paramname">buf_size</td><td>size of the buffer in bytes </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the DV profile for the supplied data or NULL on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ac0ce11afd1cbfcf0365a56eef2f374c5"></a><!-- doxytag: member="dv_profile.h::av_dv_codec_profile" ref="ac0ce11afd1cbfcf0365a56eef2f374c5" args="(int width, int height, enum AVPixelFormat pix_fmt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a>* <a class="el" href="dv__profile_8h.html#ac0ce11afd1cbfcf0365a56eef2f374c5">av_dv_codec_profile</a> </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> </td>
<td class="paramname"><em>pix_fmt</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get a DV profile for the provided stream parameters. </p>
</div>
</div>
<a class="anchor" id="a6e6b2532a302003fcd0c35694867eb32"></a><!-- doxytag: member="dv_profile.h::av_dv_codec_profile2" ref="a6e6b2532a302003fcd0c35694867eb32" args="(int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVDVProfile.html">AVDVProfile</a>* <a class="el" href="dv__profile_8h.html#a6e6b2532a302003fcd0c35694867eb32">av_dv_codec_profile2</a> </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> </td>
<td class="paramname"><em>pix_fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structAVRational.html">AVRational</a> </td>
<td class="paramname"><em>frame_rate</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get a DV profile for the provided stream parameters. </p>
<p>The frame rate is used as a best-effort parameter. </p>
</div>
</div>
</div><!-- contents -->
<!-- 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>Defines</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>
<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.7.6.1
</small></address>
</body>
</html>