/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-col-depth.html is in liblqr-1-0-dev 0.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>LqrColDepth</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-pages.html#ref-const" title="Types defined by the library"><link rel="prev" href="ref-lqr-ret-val.html" title="LqrRetVal"><link rel="next" href="ref-lqr-image-type.html" title="LqrImageType"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="type">LqrColDepth</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-ret-val.html">Prev</a> </td><th width="60%" align="center">Types defined by the library</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-image-type.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="ref-lqr-col-depth"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>LqrColDepth — carver objects colour depth specification</p></div><div class="refsect1"><a name="idp59121856"></a><h2>Description</h2><p>
The default <code class="classname">LqrCarver</code> object constructor <code class="function">lqr_carver_new</code> uses a colour
depth of 8 bits per channel, and therefore its input must be an array of <span class="type">unsigned
char</span>s. However, the <code class="classname">LqrCarver</code> objects can handle images of grater colour depth, if
they are created with the <code class="function">lqr_carver_new_ext</code> constructor. The possible
colour depths are specified through variables of type <span class="type">LqrColDepth</span>, which is an enum
type; its possible values, and the type of the input buffer associated with them, are:
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">LQR_COLDEPTH_8I</code></span></dt><dd><p>
use type <span class="type">guchar</span> (8 bit unsigned integers) - the default
</p></dd><dt><span class="term"><code class="literal">LQR_COLDEPTH_16I</code></span></dt><dd><p>
use type <span class="type">guint16</span> (16 bit unsigned integers)
</p></dd><dt><span class="term"><code class="literal">LQR_COLDEPTH_32F</code></span></dt><dd><p>
use type <span class="type">gfloat</span> (32 bit floating point)
</p></dd><dt><span class="term"><code class="literal">LQR_COLDEPTH_64F</code></span></dt><dd><p>
use type <span class="type">gdouble</span> (64 bit floating point)
</p></dd></dl></div><p>
</p><p>
These values are also relevant when reading out a <code class="classname">LqrCarver</code> object with the functions
<code class="function">lqr_carver_scan_ext</code> or <code class="function">lqr_carver_scan_line_ext</code>, since
the readout buffer must be cast to the appropriate type to be actually read.
</p><p>
The colour depth of an <code class="classname">LqrCarver</code> object can be obtained with the function
<code class="function">lqr_carver_get_col_depth</code>.
</p></div><div class="refsect1"><a name="idp59139760"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-carver-new.html" title="lqr_carver_new"><span class="refentrytitle"><code class="function">lqr_carver_new</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-get-col-depth.html" title="lqr_carver_get_col_depth"><span class="refentrytitle"><code class="function">lqr_carver_get_col_depth</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-scan.html" title="lqr_carver_scan"><span class="refentrytitle"><code class="function">lqr_carver_scan</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-scan-line.html" title="lqr_carver_scan_line"><span class="refentrytitle"><code class="function">lqr_carver_scan_line</code></span>(3)</a></span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-lqr-ret-val.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-pages.html#ref-const">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref-lqr-image-type.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="type">LqrRetVal</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="type">LqrImageType</span></td></tr></table></div></body></html>
|