initial commit
This commit is contained in:
218
tools/vision/LDV/doc/english/notions.htm
Normal file
218
tools/vision/LDV/doc/english/notions.htm
Normal file
@@ -0,0 +1,218 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
|
||||
<title>VISION Documentation (LDV): Essential notions</title>
|
||||
</head>
|
||||
|
||||
<body background="images/conc2.gif" bgcolor="#FFFFFF">
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td align="center" width="17%"><a href="intro.htm"><img
|
||||
src="images/cprev.jpg" alt="Previous Chapter "
|
||||
border="0" hspace="2" width="46" height="26"></a><a
|
||||
href="index.htm"><img src="images/csom.jpg"
|
||||
alt="Back to content " border="0" hspace="2" width="26"
|
||||
height="26"></a><a href="descrip.htm"><img
|
||||
src="images/csuiv.jpg" alt="Next Chapter " border="0"
|
||||
hspace="2" width="43" height="26"></a></td>
|
||||
<td align="center" valign="top" rowspan="2" width="8%"><p
|
||||
align="center"><img src="images/icoprinc.gif" width="59"
|
||||
height="71"></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font color="#0000FF"
|
||||
size="5"><strong><em>VISION </em>Documentation
|
||||
<em>(LDV)</strong></em></font></p>
|
||||
</td>
|
||||
<td align="center" valign="top" rowspan="2" width="8%"><p
|
||||
align="center"><img src="images/icointro.gif" width="59"
|
||||
height="71"></p>
|
||||
</td>
|
||||
<td valign="top" width="17%"><p align="left">Last update:
|
||||
<!--webbot bot="Timestamp" startspan
|
||||
s-type="EDITED" s-format="%d/%m/%y" -->01/10/00<!--webbot
|
||||
bot="Timestamp" i-checksum="12214" endspan --></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="17%"><p align="center"><a
|
||||
href="..\..\download/dvldv.zip">Download documentation</a></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font size="4"><strong>2.
|
||||
ESSENTIAL NOTIONS</strong></font></p>
|
||||
</td>
|
||||
<td align="center" width="17%"> <!--webbot
|
||||
bot="HTMLMarkup" startspan --><A HREF="http://www.estat.com/getstats?serial=1390118421">
|
||||
<IMG SRC="http://perso.estat.com/cgi-bin/perso/1390118421?page=DocVisionLDV"
|
||||
BORDER=0></A>
|
||||
<!--webbot
|
||||
bot="HTMLMarkup" endspan --></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<hr>
|
||||
|
||||
<p><a name="formats d'images"></a><font size="4"><strong>2.1 Images
|
||||
formats</strong></font></p>
|
||||
|
||||
<p>I cannot explain here the bit to bit encoding of an image. Roughly, for
|
||||
a number of plans up to 8, a pixel is associated to a colour index in a
|
||||
palette. Thus, this index points to the true colour of the pixel. Starting
|
||||
with 15 plans, we are in True Color, i.e., each pixel is associated with
|
||||
its colour value (thus with 15, 16, 24 or 32 bits). While in True Color,
|
||||
it's fairly easy, in palette mode (bit-plane) it becomes quickly complex,
|
||||
because each pixel has one of its bits coded in a 16 bits word. This bit
|
||||
should be searched, the different bits from one pixel should be put
|
||||
together, etc... This becomes quickly tiring and, to be fast, this
|
||||
requires assembly optimisation. Thankfully, <em><strong>VISION</strong></em>
|
||||
proposes functions to simplify your work with
|
||||
<a href="vapi/index.htm#Pr<50>sentation">VAPI</a>.</p>
|
||||
|
||||
<p><em><strong>VISION</strong></em>'s LDVs can work in any of the 3
|
||||
following formats (note that there is no interesst for your LDV to handle
|
||||
the 3 formats, <em><strong>VISION</strong></em> will transmit the required
|
||||
format):</p>
|
||||
|
||||
<ul>
|
||||
<li>Standard format</li>
|
||||
<li>ATARI format</li>
|
||||
<li>Specific format</li>
|
||||
</ul>
|
||||
|
||||
<p>This little table specifies these different formats ((R = Red, G =
|
||||
Green, B = Blue):</p>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="2" width="100%">
|
||||
<tr>
|
||||
<td align="center" width="15%"><strong>Format</strong></td>
|
||||
<td align="center" width="10%"><strong>Number of bits /
|
||||
pixel</strong></td>
|
||||
<td align="center" width="75%"><strong>Description</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%">Standard</td>
|
||||
<td align="center" width="10%">1, 2, 4, 8</td>
|
||||
<td width="75%">Standard format defined by ATARI. The pixel planes
|
||||
(16 pixels) are following each other. In True-Color, this format
|
||||
maybe exists, but I prefer not to know!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%">ATARI</td>
|
||||
<td align="center" width="10%">1, 2, 4, 8</td>
|
||||
<td width="75%">ATARI bit-plane format. Very classical,
|
||||
this is the format of ST-Low, ST-Medium and ST-High, then, by
|
||||
extension, the format of Falcon's bit-plane modes. Contrary to
|
||||
Standard mode, planes are interlaced ((Plan0 - Plan1 - Plan2 -
|
||||
Plan 3, for instance for 16 colours))</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">16</td>
|
||||
<td width="75%">FALCON True Color mode. Each pixel
|
||||
is coded in a 16 bits word such as the following:<br>
|
||||
RRRRRVVVVV0BBBBB<br>
|
||||
15 --> 0 Bit #<br>
|
||||
In fact, the actual encoding is on 15 or 1 pixels. The level of
|
||||
green can be coded on 6 bits (65K) instead of 5 (32K).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">24</td>
|
||||
<td width="75%">Sadly <em><strong>VISION</strong></em>
|
||||
does not handle this format!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">32</td>
|
||||
<td width="75%">RGB0, R, G, B = red, green or
|
||||
blue component on 8 bits (0...255)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%">Specific</td>
|
||||
<td align="center" width="10%">1, 2, 4, 8, 16, 24, 32</td>
|
||||
<td width="75%">Specific to the graphic card. No
|
||||
hypothesis on the bit encoding for a pixel can be made.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<p>As far as possible, use the specific format, because it uses the less
|
||||
memory. If your LDV has only to handle lines and columns, you don't have
|
||||
to pay attention to internal pixel coding, the vro_... VDI functions will
|
||||
handle it.</p>
|
||||
|
||||
<p>If you have to handle pixels, I recommand to use the ATARI format,
|
||||
because <em><strong>VISION</strong></em> allows to get very easily the
|
||||
indexes through its <a
|
||||
href="vapi/index.htm#Pr<50>sentation">VAPI</a>.</p>
|
||||
|
||||
<p>The standard format is not very useful, except internally in
|
||||
<em><strong>VISION</strong></em> to display the images correctly. except
|
||||
if you have developed equivalent functions to those proposed in
|
||||
<a href="vapi/index.htm#Pr<50>sentation">VAPI</a>, I would advise not to use
|
||||
this format.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name="prog"></a><font size="4"><strong>2.2 Programing</strong></font></p>
|
||||
|
||||
<p>You have to know how to program in C! Normally, LDVs do not depend on
|
||||
the compiler (I did my best but, as I use only Pure C, I cannot be really
|
||||
sure).</p>
|
||||
|
||||
<p>You have to be fluent in C and not be afraid of handling pointers on
|
||||
structures and functions.</p>
|
||||
|
||||
<p>If you know LDGs, this will be useful but it is not mandatory, the LDV
|
||||
skeleton hides them fairly well.</p>
|
||||
|
||||
<hr>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td align="center" width="17%"><a href="intro.htm"><img
|
||||
src="images/cprev.jpg" alt="Previous chapter "
|
||||
border="0" hspace="2" width="46" height="26"></a><a
|
||||
href="index.htm"><img src="images/csom.jpg"
|
||||
alt="Back to content " border="0" hspace="2" width="26"
|
||||
height="26"></a><a href="descrip.htm"><img
|
||||
src="images/csuiv.jpg" alt="Next Chapter " border="0"
|
||||
hspace="2" width="43" height="26"></a></td>
|
||||
<td align="center" valign="top" rowspan="2" width="8%"><p
|
||||
align="center"><img src="images/icoprinc.gif" width="59"
|
||||
height="71"></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font color="#0000FF"
|
||||
size="5"><strong><em>VISION </em>Documentation
|
||||
<em>(LDV)</strong></em></font></p>
|
||||
</td>
|
||||
<td align="center" valign="top" rowspan="2" width="8%"><p
|
||||
align="center"><img src="images/icointro.gif" width="59"
|
||||
height="71"></p>
|
||||
</td>
|
||||
<td valign="top" width="17%"><p align="left">Last update:
|
||||
<!--webbot bot="Timestamp" startspan
|
||||
s-type="EDITED" s-format="%d/%m/%y" -->01/10/00<!--webbot
|
||||
bot="Timestamp" i-checksum="12214" endspan --></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="17%"><p align="center"><a
|
||||
href="..\..\download/dvldv.zip">Download documentation</a></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font size="4"><strong>2.
|
||||
ESSENTIAL NOTIONS</strong></font></p>
|
||||
</td>
|
||||
<td valign="top" width="17%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user