Translate/doxygenize T_GIF_context comments

This commit is contained in:
Thomas Bernard 2018-12-17 19:56:04 +01:00
parent a899fe49fb
commit 3a33c96dd5
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -4066,17 +4066,17 @@ void Test_GIF(T_IO_Context * context, FILE * file)
// -- Lire un fichier au format GIF ----------------------------------------- // -- Lire un fichier au format GIF -----------------------------------------
typedef struct { typedef struct {
word nb_bits; // Nb de bits composants un code complet word nb_bits; ///< bits for a code
word remainder_bits; // Nb de bits encore dispos dans GIF_last_byte word remainder_bits; ///< available bits in @ref last_byte field
byte remainder_byte; // Nb d'octets avant le prochain bloc de Raster Data byte remainder_byte; ///< Remaining bytes in current block
word current_code; // Code traité (qui vient d'être lu en général) word current_code; ///< current code (generally the one just read)
byte last_byte; // Octet de lecture des bits byte last_byte; ///< buffer byte for reading bits for codes
word pos_X; // Coordonnées d'affichage de l'image word pos_X; ///< Current coordinates
word pos_Y; word pos_Y;
word interlaced; // L'image est entrelacée word interlaced; ///< interlaced flag
word finished_interlaced_image; // L'image entrelacée est finie de charger word finished_interlaced_image; ///< interlaced flag finished loading
word pass; // index de passe de l'image entrelacée word pass; ///< current pass in interlaced decoding
word stop; word stop; ///< Stop flag (end of picture)
} T_GIF_context; } T_GIF_context;
@ -4698,7 +4698,7 @@ void Load_GIF(T_IO_Context * context)
// -- Sauver un fichier au format GIF --------------------------------------- // -- Sauver un fichier au format GIF ---------------------------------------
/// Flush ::GIF_buffer /// Flush the buffer
static void GIF_empty_buffer(FILE * file, T_GIF_context *gif, byte * GIF_buffer) static void GIF_empty_buffer(FILE * file, T_GIF_context *gif, byte * GIF_buffer)
{ {
word index; word index;