diff src/image.hh @ 104:ed71c7b5ea92

- Added support for progressive display of progressive jpegs. - Fixed progressive display of interlaced pngs.
author jcid
date Wed, 16 Jan 2008 01:17:20 +0100
parents 17f7b0db59ca
children 0b47756eeb13
line wrap: on
line diff
--- a/src/image.hh	Mon Jan 14 22:54:28 2008 +0100
+++ b/src/image.hh	Wed Jan 16 01:17:20 2008 +0100
@@ -44,6 +44,7 @@
 
    int ProcessedBytes;      /* Amount of bytes already decoded */
    bitvec_t *BitVec;        /* Bit vector for decoded rows */
+   uint_t ScanNumber;       /* Current decoding scan */
    ImageState State;        /* Processing status */
 
    int RefCount;            /* Reference counter */
@@ -62,6 +63,7 @@
                        int version, uint_t width, uint_t height,
                        DilloImgType type);
 void a_Image_set_cmap(DilloImage *Image, const uchar_t *cmap);
+void a_Image_new_scan(DilloImage *image, void *v_imgbuf);
 void a_Image_write(DilloImage *Image, void *v_imgbuf,
                    const uchar_t *buf, uint_t y, int decode);
 void a_Image_close(DilloImage *Image);