Repository URL to install this package:
Version:
7:2.7.1-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"/>
<title>FFmpeg: libavutil/imgutils.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="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">libavutil/imgutils.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>misc image utilities
<a href="#details">More...</a></p>
<div class="textblock"><code>#include "<a class="el" href="avutil_8h_source.html">avutil.h</a>"</code><br/>
<code>#include "<a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>"</code><br/>
<code>#include "<a class="el" href="rational_8h_source.html">rational.h</a>"</code><br/>
</div>
<p><a href="imgutils_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#gad3af84de3a86a9ebb71715e3c0ebf627">av_image_fill_max_pixsteps</a> (int max_pixsteps[4], int max_pixstep_comps[4], const <a class="el" href="structAVPixFmtDescriptor.html">AVPixFmtDescriptor</a> *pixdesc)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the max pixel step for each plane of an image with a format described by pixdesc. <a href="group__lavu__picture.html#gad3af84de3a86a9ebb71715e3c0ebf627"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga8eddd074d5eb6a235591013675ac1055">av_image_get_linesize</a> (enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>, int <a class="el" href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a>, int plane)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the size of an image line with format pix_fmt and width width for the plane plane. <a href="group__lavu__picture.html#ga8eddd074d5eb6a235591013675ac1055"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#gaccd7fda79188060dadb28408223946ef">av_image_fill_linesizes</a> (int linesizes[4], enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>, int <a class="el" href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fill plane linesizes for an image with pixel format pix_fmt and width width. <a href="group__lavu__picture.html#gaccd7fda79188060dadb28408223946ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga4513d36f527c1476e89845631d975542">av_image_fill_pointers</a> (uint8_t *data[4], enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>, int <a class="el" href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>, uint8_t *ptr, const int linesizes[4])</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fill plane data pointers for an image with pixel format pix_fmt and height height. <a href="group__lavu__picture.html#ga4513d36f527c1476e89845631d975542"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga841e0a89a642e24141af1918a2c10448">av_image_alloc</a> (uint8_t *pointers[4], int linesizes[4], int w, int h, enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</a>, int align)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocate an image with size w and h and pixel format pix_fmt, and fill pointers and linesizes accordingly. <a href="group__lavu__picture.html#ga841e0a89a642e24141af1918a2c10448"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga735cb949320867e9c2fffcb327d0ece2">av_image_copy_plane</a> (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int bytewidth, int <a class="el" href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy image plane from src to dst. <a href="group__lavu__picture.html#ga735cb949320867e9c2fffcb327d0ece2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga6b5a267e202daadf81cbde6584055d1e">av_image_copy</a> (uint8_t *dst_data[4], int dst_linesizes[4], const uint8_t *src_data[4], const int src_linesizes[4], enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</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>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy image in src_data to dst_data. <a href="group__lavu__picture.html#ga6b5a267e202daadf81cbde6584055d1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga5b6ead346a70342ae8a303c16d2b3629">av_image_fill_arrays</a> (uint8_t *dst_data[4], int dst_linesize[4], const uint8_t *src, enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</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>, int align)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Setup the data pointers and linesizes based on the specified image parameters and the provided array. <a href="group__lavu__picture.html#ga5b6ead346a70342ae8a303c16d2b3629"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga24a67963c3ae0054a2a4bab35930e694">av_image_get_buffer_size</a> (enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</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>, int align)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the size in bytes of the amount of data required to store an image with the given parameters. <a href="group__lavu__picture.html#ga24a67963c3ae0054a2a4bab35930e694"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga6f8576f1ef0c2d9a9f7c5ac7f9a28c52">av_image_copy_to_buffer</a> (uint8_t *dst, int dst_size, const uint8_t *const src_data[4], const int src_linesize[4], enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="demuxing__decoding_8c.html#a7331e302ea7bb48e0b605a069576e135">pix_fmt</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>, int align)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy image data from an image into a buffer. <a href="group__lavu__picture.html#ga6f8576f1ef0c2d9a9f7c5ac7f9a28c52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#ga3a867b6180ddad1e0c382ef0c5940b8e">av_image_check_size</a> (unsigned int w, unsigned int h, int log_offset, void *log_ctx)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the given dimension of an image is valid, meaning that all bytes of the image can be addressed with a signed int. <a href="group__lavu__picture.html#ga3a867b6180ddad1e0c382ef0c5940b8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavu__picture.html#gada0f86cd0051ff8b9eef214e83e7ad1f">av_image_check_sar</a> (unsigned int w, unsigned int h, <a class="el" href="structAVRational.html">AVRational</a> sar)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the given sample aspect ratio of an image is valid. <a href="group__lavu__picture.html#gada0f86cd0051ff8b9eef214e83e7ad1f"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>misc image utilities </p>
<p>Definition in file <a class="el" href="imgutils_8h_source.html">imgutils.h</a>.</p>
</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>