Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a228190325affd3a38a9ed14c6aaa02a > files > 165

ocaml-mm-devel-0.2.1-3.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Image.RGB8.html">
<link rel="next" href="Image.BGRA.html">
<link rel="Up" href="Image.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Audio" rel="Chapter" href="Audio.html">
<link title="Image" rel="Chapter" href="Image.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
<link title="Ringbuffer" rel="Chapter" href="Ringbuffer.html">
<link title="Synth" rel="Chapter" href="Synth.html">
<link title="Video" rel="Chapter" href="Video.html"><title>Image.YUV420</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Image.RGB8.html" title="Image.RGB8">Previous</a>
&nbsp;<a class="up" href="Image.html" title="Image">Up</a>
&nbsp;<a class="post" href="Image.BGRA.html" title="Image.BGRA">Next</a>
</div>
<h1>Module <a href="type_Image.YUV420.html">Image.YUV420</a></h1>

<pre><span class="keyword">module</span> YUV420: <code class="code">sig</code> <a href="Image.YUV420.html">..</a> <code class="code">end</code></pre><div class="info module top">
Operations on images stored in YUV420 format, ie one luma (Y) and two chrominance (U and V) channels.<br>
</div>
<hr width="100%">

<pre><span id="TYPEdata"><span class="keyword">type</span> <code class="type"></code>data</span> = <code class="type">(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t</code> </pre>
<div class="info ">
Data of a channel.<br>
</div>


<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info ">
An image in YUV420 format.<br>
</div>


<pre><span id="VALwidth"><span class="keyword">val</span> width</span> : <code class="type"><a href="Image.YUV420.html#TYPEt">t</a> -> int</code></pre><div class="info ">
Width of an image.<br>
</div>

<pre><span id="VALheight"><span class="keyword">val</span> height</span> : <code class="type"><a href="Image.YUV420.html#TYPEt">t</a> -> int</code></pre><div class="info ">
Height of an image.<br>
</div>

<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">int -> int -> <a href="Image.YUV420.html#TYPEt">t</a></code></pre><div class="info ">
Create an image of given width and height.<br>
</div>

<pre><span id="VALblank_all"><span class="keyword">val</span> blank_all</span> : <code class="type"><a href="Image.YUV420.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Clear an image (sets it to black).<br>
</div>

<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">int -><br>       int -><br>       <a href="Image.YUV420.html#TYPEdata">data</a> -><br>       int -> <a href="Image.YUV420.html#TYPEdata">data</a> -> <a href="Image.YUV420.html#TYPEdata">data</a> -> int -> <a href="Image.YUV420.html#TYPEt">t</a></code></pre>
<pre><span id="VALinternal"><span class="keyword">val</span> internal</span> : <code class="type"><a href="Image.YUV420.html#TYPEt">t</a> -><br>       (<a href="Image.YUV420.html#TYPEdata">data</a> * int) * (<a href="Image.YUV420.html#TYPEdata">data</a> * <a href="Image.YUV420.html#TYPEdata">data</a> * int)</code></pre></body></html>