Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > d1581bfadd36c1fdc3944ab001e27eac > files > 109

libvpx-devel-0.9.7.1-1.fc16.i686.rpm

<!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"/>
<title>WebM VP8 Codec SDK: vpx/vpx_image.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">WebM VP8 Codec SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">vpx/vpx_image.h</div>  </div>
</div>
<div class="contents">
<a href="vpx__image_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> *  Use of this source code is governed by a BSD-style license</span>
<a name="l00005"></a>00005 <span class="comment"> *  that can be found in the LICENSE file in the root of the source</span>
<a name="l00006"></a>00006 <span class="comment"> *  tree. An additional intellectual property rights grant can be found</span>
<a name="l00007"></a>00007 <span class="comment"> *  in the file PATENTS.  All contributing project authors may</span>
<a name="l00008"></a>00008 <span class="comment"> *  be found in the AUTHORS file in the root of the source tree.</span>
<a name="l00009"></a>00009 <span class="comment"> */</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 
<a name="l00016"></a>00016 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef VPX_IMAGE_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define VPX_IMAGE_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00031"></a><a class="code" href="vpx__image_8h.html#a2bbca4a324bbc83eb49e50b6b1b7b00d">00031</a> <span class="preprocessor">#define VPX_IMAGE_ABI_VERSION (1) </span>
<a name="l00034"></a><a class="code" href="vpx__image_8h.html#aba054d28e7205f3cbd260c8b1e741bca">00034</a> <span class="preprocessor">#define VPX_IMG_FMT_PLANAR     0x100  </span>
<a name="l00035"></a><a class="code" href="vpx__image_8h.html#a52193af375ccdbe6b1fc2c706e308b4e">00035</a> <span class="preprocessor">#define VPX_IMG_FMT_UV_FLIP    0x200  </span>
<a name="l00036"></a><a class="code" href="vpx__image_8h.html#adceef04930837f46dad16d648cb152f9">00036</a> <span class="preprocessor">#define VPX_IMG_FMT_HAS_ALPHA  0x400  </span>
<a name="l00040"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193">00040</a> <span class="preprocessor">    typedef enum vpx_img_fmt {</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>        VPX_IMG_FMT_NONE,
<a name="l00042"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a768c82ecfd7f7de4095ba587185cacc3">00042</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a768c82ecfd7f7de4095ba587185cacc3">VPX_IMG_FMT_RGB24</a>,   
<a name="l00043"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6a4b7c1ab7811898df2c433168f8cad7">00043</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6a4b7c1ab7811898df2c433168f8cad7">VPX_IMG_FMT_RGB32</a>,   
<a name="l00044"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a0e0df90f12025dffb425ab586bc190b8">00044</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a0e0df90f12025dffb425ab586bc190b8">VPX_IMG_FMT_RGB565</a>,  
<a name="l00045"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a7801d709598e8aa57a811ef008389fac">00045</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a7801d709598e8aa57a811ef008389fac">VPX_IMG_FMT_RGB555</a>,  
<a name="l00046"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193aaac20056f1282ec3e23b2f3df5197ebd">00046</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193aaac20056f1282ec3e23b2f3df5197ebd">VPX_IMG_FMT_UYVY</a>,    
<a name="l00047"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a54251eea14c31a916a9181d8e38bcc2e">00047</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a54251eea14c31a916a9181d8e38bcc2e">VPX_IMG_FMT_YUY2</a>,    
<a name="l00048"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6982ba2da461ca8d7b7a8a2efd018dea">00048</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6982ba2da461ca8d7b7a8a2efd018dea">VPX_IMG_FMT_YVYU</a>,    
<a name="l00049"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a5c585a577f88505845496cba7054a412">00049</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a5c585a577f88505845496cba7054a412">VPX_IMG_FMT_BGR24</a>,   
<a name="l00050"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a289f1c915217fd690228890db7033303">00050</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a289f1c915217fd690228890db7033303">VPX_IMG_FMT_RGB32_LE</a>, 
<a name="l00051"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a62257fab5e53c2c1b589e4befbaa4643">00051</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a62257fab5e53c2c1b589e4befbaa4643">VPX_IMG_FMT_ARGB</a>,     
<a name="l00052"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a933ca0d3511dccb7128a010c9443f13b">00052</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a933ca0d3511dccb7128a010c9443f13b">VPX_IMG_FMT_ARGB_LE</a>,  
<a name="l00053"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193ae1040770cb4f2b60931e1b0d31c39c8a">00053</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193ae1040770cb4f2b60931e1b0d31c39c8a">VPX_IMG_FMT_RGB565_LE</a>,  
<a name="l00054"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193ac79b2394abe0cc6c9068b7ef0007d74e">00054</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193ac79b2394abe0cc6c9068b7ef0007d74e">VPX_IMG_FMT_RGB555_LE</a>,  
<a name="l00055"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6e4e8961bbcf96478c300dc4c3e1dc18">00055</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a6e4e8961bbcf96478c300dc4c3e1dc18">VPX_IMG_FMT_YV12</a>    = <a class="code" href="vpx__image_8h.html#aba054d28e7205f3cbd260c8b1e741bca">VPX_IMG_FMT_PLANAR</a> | <a class="code" href="vpx__image_8h.html#a52193af375ccdbe6b1fc2c706e308b4e">VPX_IMG_FMT_UV_FLIP</a> | 1, 
<a name="l00056"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193af17ce49c9a6efd7c8c8ea8928d4ce26c">00056</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193af17ce49c9a6efd7c8c8ea8928d4ce26c">VPX_IMG_FMT_I420</a>    = <a class="code" href="vpx__image_8h.html#aba054d28e7205f3cbd260c8b1e741bca">VPX_IMG_FMT_PLANAR</a> | 2,
<a name="l00057"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a63e1daa51719dc6129881abe81a016fc">00057</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a63e1daa51719dc6129881abe81a016fc">VPX_IMG_FMT_VPXYV12</a> = <a class="code" href="vpx__image_8h.html#aba054d28e7205f3cbd260c8b1e741bca">VPX_IMG_FMT_PLANAR</a> | <a class="code" href="vpx__image_8h.html#a52193af375ccdbe6b1fc2c706e308b4e">VPX_IMG_FMT_UV_FLIP</a> | 3, 
<a name="l00058"></a><a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a42d26966faf7079e80cbbfee1d698493">00058</a>         <a class="code" href="vpx__image_8h.html#a7a30a7bff7400fb83ad45fede5077193a42d26966faf7079e80cbbfee1d698493">VPX_IMG_FMT_VPXI420</a> = <a class="code" href="vpx__image_8h.html#aba054d28e7205f3cbd260c8b1e741bca">VPX_IMG_FMT_PLANAR</a> | 4   
<a name="l00059"></a>00059     }
<a name="l00060"></a>00060     <a class="code" href="vpx__image_8h.html#acb76f0439d5d186256371aadf3beeee4" title="List of supported image formats.">vpx_img_fmt_t</a>; 
<a name="l00062"></a>00062 <span class="preprocessor">#if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define IMG_FMT_PLANAR         VPX_IMG_FMT_PLANAR     </span>
<a name="l00064"></a>00064 <span class="preprocessor">#define IMG_FMT_UV_FLIP        VPX_IMG_FMT_UV_FLIP    </span>
<a name="l00065"></a>00065 <span class="preprocessor">#define IMG_FMT_HAS_ALPHA      VPX_IMG_FMT_HAS_ALPHA  </span>
<a name="l00070"></a>00070 <span class="preprocessor">#define img_fmt   vpx_img_fmt</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00074"></a>00074 <span class="preprocessor">#define img_fmt_t vpx_img_fmt_t</span>
<a name="l00075"></a>00075 <span class="preprocessor"></span>
<a name="l00076"></a>00076 <span class="preprocessor">#define IMG_FMT_NONE       VPX_IMG_FMT_NONE       </span>
<a name="l00077"></a>00077 <span class="preprocessor">#define IMG_FMT_RGB24      VPX_IMG_FMT_RGB24      </span>
<a name="l00078"></a>00078 <span class="preprocessor">#define IMG_FMT_RGB32      VPX_IMG_FMT_RGB32      </span>
<a name="l00079"></a>00079 <span class="preprocessor">#define IMG_FMT_RGB565     VPX_IMG_FMT_RGB565     </span>
<a name="l00080"></a>00080 <span class="preprocessor">#define IMG_FMT_RGB555     VPX_IMG_FMT_RGB555     </span>
<a name="l00081"></a>00081 <span class="preprocessor">#define IMG_FMT_UYVY       VPX_IMG_FMT_UYVY       </span>
<a name="l00082"></a>00082 <span class="preprocessor">#define IMG_FMT_YUY2       VPX_IMG_FMT_YUY2       </span>
<a name="l00083"></a>00083 <span class="preprocessor">#define IMG_FMT_YVYU       VPX_IMG_FMT_YVYU       </span>
<a name="l00084"></a>00084 <span class="preprocessor">#define IMG_FMT_BGR24      VPX_IMG_FMT_BGR24      </span>
<a name="l00085"></a>00085 <span class="preprocessor">#define IMG_FMT_RGB32_LE   VPX_IMG_FMT_RGB32_LE   </span>
<a name="l00086"></a>00086 <span class="preprocessor">#define IMG_FMT_ARGB       VPX_IMG_FMT_ARGB       </span>
<a name="l00087"></a>00087 <span class="preprocessor">#define IMG_FMT_ARGB_LE    VPX_IMG_FMT_ARGB_LE    </span>
<a name="l00088"></a>00088 <span class="preprocessor">#define IMG_FMT_RGB565_LE  VPX_IMG_FMT_RGB565_LE  </span>
<a name="l00089"></a>00089 <span class="preprocessor">#define IMG_FMT_RGB555_LE  VPX_IMG_FMT_RGB555_LE  </span>
<a name="l00090"></a>00090 <span class="preprocessor">#define IMG_FMT_YV12       VPX_IMG_FMT_YV12       </span>
<a name="l00091"></a>00091 <span class="preprocessor">#define IMG_FMT_I420       VPX_IMG_FMT_I420       </span>
<a name="l00092"></a>00092 <span class="preprocessor">#define IMG_FMT_VPXYV12    VPX_IMG_FMT_VPXYV12    </span>
<a name="l00093"></a>00093 <span class="preprocessor">#define IMG_FMT_VPXI420    VPX_IMG_FMT_VPXI420    </span>
<a name="l00094"></a>00094 <span class="preprocessor">#endif </span><span class="comment">/* VPX_CODEC_DISABLE_COMPAT */</span>
<a name="l00095"></a>00095 
<a name="l00097"></a><a class="code" href="structvpx__image.html">00097</a>     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image</a>
<a name="l00098"></a>00098     {
<a name="l00099"></a><a class="code" href="structvpx__image.html#a1d734f8afa9200a21c2d9f6bcf8c04d8">00099</a>         <a class="code" href="vpx__image_8h.html#acb76f0439d5d186256371aadf3beeee4" title="List of supported image formats.">vpx_img_fmt_t</a> <a class="code" href="structvpx__image.html#a1d734f8afa9200a21c2d9f6bcf8c04d8">fmt</a>; 
<a name="l00101"></a>00101         <span class="comment">/* Image storage dimensions */</span>
<a name="l00102"></a><a class="code" href="structvpx__image.html#ac7b7d569142f878155b28141653adcd6">00102</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#ac7b7d569142f878155b28141653adcd6">w</a>;   
<a name="l00103"></a><a class="code" href="structvpx__image.html#a9d1070804dfe08cd5becd68d597fee69">00103</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#a9d1070804dfe08cd5becd68d597fee69">h</a>;   
<a name="l00105"></a>00105         <span class="comment">/* Image display dimensions */</span>
<a name="l00106"></a><a class="code" href="structvpx__image.html#a806bf23143bf00a0b3fdbd6ba030c483">00106</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#a806bf23143bf00a0b3fdbd6ba030c483">d_w</a>;   
<a name="l00107"></a><a class="code" href="structvpx__image.html#a31bc5f045d4f3c2b6bb0f57bb53078e7">00107</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#a31bc5f045d4f3c2b6bb0f57bb53078e7">d_h</a>;   
<a name="l00109"></a>00109         <span class="comment">/* Chroma subsampling info */</span>
<a name="l00110"></a><a class="code" href="structvpx__image.html#affaf210489dcefebd90b87fd5f12dc0b">00110</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#affaf210489dcefebd90b87fd5f12dc0b">x_chroma_shift</a>;   
<a name="l00111"></a><a class="code" href="structvpx__image.html#a1e3d9b699d46ca32e3916d1ac635a4a2">00111</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  <a class="code" href="structvpx__image.html#a1e3d9b699d46ca32e3916d1ac635a4a2">y_chroma_shift</a>;   
<a name="l00113"></a>00113         <span class="comment">/* Image data pointers. */</span>
<a name="l00114"></a><a class="code" href="vpx__image_8h.html#aed2dfee103bf123bad08ceefdba21301">00114</a> <span class="preprocessor">#define VPX_PLANE_PACKED 0   </span>
<a name="l00115"></a><a class="code" href="vpx__image_8h.html#a08171c4636c655e1ab0b76e06219f9e2">00115</a> <span class="preprocessor">#define VPX_PLANE_Y      0   </span>
<a name="l00116"></a><a class="code" href="vpx__image_8h.html#a4770fc8fa60021a2229f25553152cf81">00116</a> <span class="preprocessor">#define VPX_PLANE_U      1   </span>
<a name="l00117"></a><a class="code" href="vpx__image_8h.html#aca9436ec761457cc6d2e356e0ac2fd23">00117</a> <span class="preprocessor">#define VPX_PLANE_V      2   </span>
<a name="l00118"></a><a class="code" href="vpx__image_8h.html#ac7a57e3c466f599abbcbd655db92c24d">00118</a> <span class="preprocessor">#define VPX_PLANE_ALPHA  3   </span>
<a name="l00119"></a>00119 <span class="preprocessor">#if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT</span>
<a name="l00120"></a>00120 <span class="preprocessor"></span><span class="preprocessor">#define PLANE_PACKED     VPX_PLANE_PACKED</span>
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#define PLANE_Y          VPX_PLANE_Y</span>
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor">#define PLANE_U          VPX_PLANE_U</span>
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#define PLANE_V          VPX_PLANE_V</span>
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define PLANE_ALPHA      VPX_PLANE_ALPHA</span>
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00126"></a><a class="code" href="structvpx__image.html#ab6258308ba7a5f4a113348120e20e2ce">00126</a> <span class="preprocessor"></span>        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structvpx__image.html#ab6258308ba7a5f4a113348120e20e2ce">planes</a>[4];  
<a name="l00127"></a><a class="code" href="structvpx__image.html#ac9c7b83e3eea44cb680956f90dc789cf">00127</a>         <span class="keywordtype">int</span>      <a class="code" href="structvpx__image.html#ac9c7b83e3eea44cb680956f90dc789cf">stride</a>[4];  
<a name="l00129"></a><a class="code" href="structvpx__image.html#a53a02fad822151eb8eeb2f64f195e1f6">00129</a>         <span class="keywordtype">int</span>     <a class="code" href="structvpx__image.html#a53a02fad822151eb8eeb2f64f195e1f6">bps</a>; 
<a name="l00131"></a>00131         <span class="comment">/* The following member may be set by the application to associate data</span>
<a name="l00132"></a>00132 <span class="comment">         * with this image.</span>
<a name="l00133"></a>00133 <span class="comment">         */</span>
<a name="l00134"></a><a class="code" href="structvpx__image.html#a28ae6c046dfca87de4fca4e67cab563d">00134</a>         <span class="keywordtype">void</span>    *<a class="code" href="structvpx__image.html#a28ae6c046dfca87de4fca4e67cab563d">user_priv</a>; 
<a name="l00137"></a>00137         <span class="comment">/* The following members should be treated as private. */</span>
<a name="l00138"></a><a class="code" href="structvpx__image.html#a3c9b7a7a68e4a9665b47433a1e96d78b">00138</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structvpx__image.html#a3c9b7a7a68e4a9665b47433a1e96d78b">img_data</a>;       
<a name="l00139"></a><a class="code" href="structvpx__image.html#a4d2c8d41b67f7d3f3114212a8d8afdce">00139</a>         <span class="keywordtype">int</span>      <a class="code" href="structvpx__image.html#a4d2c8d41b67f7d3f3114212a8d8afdce">img_data_owner</a>; 
<a name="l00140"></a><a class="code" href="structvpx__image.html#a33e8c75d8efc5d4f389e8fc09283a4cc">00140</a>         <span class="keywordtype">int</span>      <a class="code" href="structvpx__image.html#a33e8c75d8efc5d4f389e8fc09283a4cc">self_allocd</a>;    
<a name="l00141"></a>00141     } <a class="code" href="vpx__image_8h.html#abf5ac962cc6d71b4f0e39b1b0d033e55" title="Image Descriptor.">vpx_image_t</a>; 
<a name="l00144"></a><a class="code" href="structvpx__image__rect.html">00144</a>     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structvpx__image__rect.html" title="Representation of a rectangle on a surface.">vpx_image_rect</a>
<a name="l00145"></a>00145     {
<a name="l00146"></a><a class="code" href="structvpx__image__rect.html#a8e38dee721dbf4e121f40c315d45103a">00146</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structvpx__image__rect.html#a8e38dee721dbf4e121f40c315d45103a">x</a>; 
<a name="l00147"></a><a class="code" href="structvpx__image__rect.html#a6d4457644e2ce0d54af55eb313a37204">00147</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structvpx__image__rect.html#a6d4457644e2ce0d54af55eb313a37204">y</a>; 
<a name="l00148"></a><a class="code" href="structvpx__image__rect.html#a4b4fcec1e4cdcbd9dde5d44b6ad16dab">00148</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structvpx__image__rect.html#a4b4fcec1e4cdcbd9dde5d44b6ad16dab">w</a>; 
<a name="l00149"></a><a class="code" href="structvpx__image__rect.html#afeb74a8c6f0c7e24d82b80db9431a501">00149</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structvpx__image__rect.html#afeb74a8c6f0c7e24d82b80db9431a501">h</a>; 
<a name="l00150"></a>00150     } <a class="code" href="vpx__image_8h.html#aba8af9e601eb9c3c41431d0f4fef65a6" title="Representation of a rectangle on a surface.">vpx_image_rect_t</a>; 
<a name="l00169"></a>00169     <a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a> *<a class="code" href="vpx__image_8h.html#ab80398f28ca880368a922fa979eb66c1" title="Open a descriptor, allocating storage for the underlying image.">vpx_img_alloc</a>(<a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a>  *img,
<a name="l00170"></a>00170                                <a class="code" href="vpx__image_8h.html#acb76f0439d5d186256371aadf3beeee4" title="List of supported image formats.">vpx_img_fmt_t</a> fmt,
<a name="l00171"></a>00171                                <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_w,
<a name="l00172"></a>00172                                <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_h,
<a name="l00173"></a>00173                                <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> align);
<a name="l00174"></a>00174 
<a name="l00194"></a>00194     <a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a> *<a class="code" href="vpx__image_8h.html#afaf35f1f2f2f634de394faf7d6aeeeb9" title="Open a descriptor, using existing storage for the underlying image.">vpx_img_wrap</a>(<a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a>  *img,
<a name="l00195"></a>00195                               <a class="code" href="vpx__image_8h.html#acb76f0439d5d186256371aadf3beeee4" title="List of supported image formats.">vpx_img_fmt_t</a> fmt,
<a name="l00196"></a>00196                               <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_w,
<a name="l00197"></a>00197                               <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_h,
<a name="l00198"></a>00198                               <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> align,
<a name="l00199"></a>00199                               <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>      *img_data);
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 
<a name="l00215"></a>00215     <span class="keywordtype">int</span> <a class="code" href="vpx__image_8h.html#ab5c1d1a5548752f7cd5047f43d5f25c4" title="Set the rectangle identifying the displayed portion of the image.">vpx_img_set_rect</a>(<a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a>  *img,
<a name="l00216"></a>00216                          <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  x,
<a name="l00217"></a>00217                          <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  y,
<a name="l00218"></a>00218                          <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  w,
<a name="l00219"></a>00219                          <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  h);
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 
<a name="l00229"></a>00229     <span class="keywordtype">void</span> <a class="code" href="vpx__image_8h.html#a01201327328c1cdd365632e5056b1850" title="Flip the image vertically (top for bottom)">vpx_img_flip</a>(<a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a> *img);
<a name="l00230"></a>00230 
<a name="l00237"></a>00237     <span class="keywordtype">void</span> <a class="code" href="vpx__image_8h.html#af47ebaf286812d037425d41990d48a17" title="Close an image descriptor.">vpx_img_free</a>(<a class="code" href="structvpx__image.html" title="Image Descriptor.">vpx_image_t</a> *img);
<a name="l00238"></a>00238 
<a name="l00239"></a>00239 <span class="preprocessor">#endif</span>
<a name="l00240"></a>00240 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00241"></a>00241 <span class="preprocessor"></span>}
<a name="l00242"></a>00242 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Aug 16 2011 for WebM VP8 Codec SDK by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>