moved from dev to prod
This commit is contained in:
@@ -1,226 +0,0 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
|
||||
<title>Documentation VISION (LDV) : Notions essentielles</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="Chapitre pr<70>c<EFBFBD>dent"
|
||||
border="0" hspace="2" width="46" height="26"></a><a
|
||||
href="index.htm"><img src="images/csom.jpg"
|
||||
alt="Retour au sommaire" border="0" hspace="2" width="26"
|
||||
height="26"></a><a href="descrip.htm"><img
|
||||
src="images/csuiv.jpg" alt="Chapitre suivant" 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>Documentation </strong><em><strong>VISION
|
||||
(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">Derni<EFBFBD>re
|
||||
mise <20> jour : <!--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">T<EFBFBD>l<EFBFBD>charger la doc</a></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font size="4"><strong>2.
|
||||
NOTIONS ESSENTIELLES</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 Les
|
||||
formats d'images</strong></font></p>
|
||||
|
||||
<p>Je ne peux pas i<>i expliquer le codage bit <20> bit des pixels
|
||||
d'une image. En gros, pour les nombres de plans jusqu'<27> 8, un
|
||||
pixel est associ<63> <20> un index de couleur dans une palette.Cet
|
||||
index pointe donc sur la vraie couleur du pixel. A partir de 15
|
||||
plans, on est en True Color, c'est <20> dire que chaque pixel est
|
||||
associ<EFBFBD> <20> sa valeur de couleur (donc sur 15, 16, 24 ou 32
|
||||
bits). Autant en True Color, on s'en sort assez bien, autant en
|
||||
mode palette (bit-plan), cela devient rapidement complexe car
|
||||
chaque pixel voit un des bits de son index cod<6F> sur un mot 16
|
||||
bits. Il faudrait donc rechercher ce bit, rassembler les m<>mes
|
||||
bits d'un pixel pour reconsitituer son index, etc... Cela devient
|
||||
rapidement lassant et pour aller vite, cela n<>cessite des
|
||||
optimisations en assembleur. Heureusement, <em><strong>VISION</strong></em>
|
||||
propose des fonctions vous simplifiant le travail avec <a
|
||||
href="vapi/index.htm#Pr<50>sentation">VAPI</a>.</p>
|
||||
|
||||
<p>Les LDV de <em><strong>VISION</strong></em> peuvent au choix
|
||||
travailler dans un des 3 formats suivants (notez bien que votre
|
||||
LDV n'a aucun int<6E>r<EFBFBD>t <20> g<>rer les 3 formats, <em><strong>VISION</strong></em>
|
||||
lui passera le format qu'il souhaite):</p>
|
||||
|
||||
<ul>
|
||||
<li>Format Standard</li>
|
||||
<li>Format ATARI</li>
|
||||
<li>Format Sp<53>cifique</li>
|
||||
</ul>
|
||||
|
||||
<p>Ce petit tableau pr<70>cise ces diff<66>rents formats (R = Rouge,
|
||||
V = Vert, B = Bleu):</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>Nombre de 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%">Format standard d<>fini par ATARI. Les
|
||||
plans de pixels (16 pixels) sont mis les uns <20> la suite
|
||||
des autres. En True-Color, ce format existe peut <20>tre
|
||||
mais j'aime autant pas le savoir !</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%">ATARI</td>
|
||||
<td align="center" width="10%">1, 2, 4, 8</td>
|
||||
<td width="75%">Format bit-plan ATARI. Tr<54>s classique,
|
||||
c'est le format des modes ST-Basse, ST-Moyenne et
|
||||
ST-Haute, puis par extension, le format des modes
|
||||
bit-plan du Falcon. Contrairement au mode Standard, les
|
||||
plans sont entrelac<61>s (Plan0 - Plan1 - Plan2 - Plan 3,
|
||||
par exemple pour 16 couleurs (4 bits, soit 4 plans))</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">16</td>
|
||||
<td width="75%">Mode True Color du FALCON. Chaque pixel
|
||||
est cod<6F> sur un mot 16 bits de la fa<66>on suivante:<br>
|
||||
RRRRRVVVVV0BBBBB<br>
|
||||
15 --> 0 Bit #<br>
|
||||
En fait le codage effectif est sur 15 ou 16 pixels. Le
|
||||
niveau de vert peut <20>tre cod<6F> sur 6 bits (65K) au lieu
|
||||
de 5 (32K).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">24</td>
|
||||
<td width="75%">Dommage que <em><strong>VISION</strong></em>
|
||||
ne le g<>re pas !</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%"> </td>
|
||||
<td align="center" width="10%">32</td>
|
||||
<td width="75%">RVB0, R, V, B = composante rouge,verte ou
|
||||
bleue sur 8 bits (0...255)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="15%">Sp<EFBFBD>cifique</td>
|
||||
<td align="center" width="10%">1, 2, 4, 8, 16, 24, 32</td>
|
||||
<td width="75%">Sp<EFBFBD>cifique <20> la carte graphique. Aucune
|
||||
hypoth<74>se sur le codage des bits d'un pixel ne peut
|
||||
<20>tre faite.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<p>Privil<EFBFBD>giez au maximum le format sp<73>cifique car c'est le
|
||||
plus <20>conome en m<>moire. Si votre LDV ne doit manipuler que des
|
||||
lignes et des colonnes, vous n'avez pas <20> vous soucier du codage
|
||||
interne des pixels, les fonctions VDI vro_... s'en chargent.</p>
|
||||
|
||||
<p>Si vous devez manipuler des pixels, je vous conseille
|
||||
d'utiliser le format ATARI car <em><strong>VISION</strong></em>
|
||||
vous permet de r<>cup<75>rer facilement les index au travers de <a
|
||||
href="vapi/index.htm#Pr<50>sentation">VAPI</a>.</p>
|
||||
|
||||
<p>Le format standard ne sert pas <20> grand chose, si ce n'est en
|
||||
interne <20> <em><strong>VISION</strong></em> pour afficher les
|
||||
images correctement. Donc, <20> moins que vous n'ayez d<>velopp<70>
|
||||
des routines <20>quivalentes <20> celles propos<6F>es dans <a
|
||||
href="vapi/index.htm#Pr<50>sentation">VAPI</a>, je vous
|
||||
d<EFBFBD>conseille l'utilisation de ce format.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name="prog"></a><font size="4"><strong>2.2 Programmation</strong></font></p>
|
||||
|
||||
<p>Vous devez savoir programmer en C ! Les LDV ne d<>pendent pas
|
||||
<EFBFBD> priori du compilateur (j'ai fait au mieux mais comme je
|
||||
n'utilise que Pure C, je ne peux pas <20>tre cat<61>gorique).</p>
|
||||
|
||||
<p>Vous devez <20>tre <20> l'aise en C et ne pas <20>tre effray<61> par
|
||||
la manipulation des pointeurs sur les structures et fonctions.</p>
|
||||
|
||||
<p>Si vous connaisez les LDG, ce sera utile mais pas obligatoire,
|
||||
le squelette de LDV les cachent assez bien.</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="Chapitre pr<70>c<EFBFBD>dent"
|
||||
border="0" hspace="2" width="46" height="26"></a><a
|
||||
href="index.htm"><img src="images/csom.jpg"
|
||||
alt="Retour au sommaire" border="0" hspace="2" width="26"
|
||||
height="26"></a><a href="descrip.htm"><img
|
||||
src="images/csuiv.jpg" alt="Chapitre suivant" 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>Documentation </strong><em><strong>VISION
|
||||
(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">Derni<EFBFBD>re
|
||||
mise <20> jour : <!--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">T<EFBFBD>l<EFBFBD>charger la doc</a></p>
|
||||
</td>
|
||||
<td width="33%"><p align="center"><font size="4"><strong>2.
|
||||
NOTIONS ESSENTIELLES</strong></font></p>
|
||||
</td>
|
||||
<td valign="top" width="17%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user