diff options
author | jcid <devnull@localhost> | 2008-01-16 01:17:20 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-01-16 01:17:20 +0100 |
commit | f09fce92f37ced2a53c96c09792906e2771f0e17 (patch) | |
tree | 6a2af7914d69e33a0ef7476e5334856e100457a7 /src/image.hh | |
parent | 17e6f35cfbfa7a73e986fcd11617db12898d740f (diff) |
- Added support for progressive display of progressive jpegs.
- Fixed progressive display of interlaced pngs.
Diffstat (limited to 'src/image.hh')
-rw-r--r-- | src/image.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.hh b/src/image.hh index 8ed8b081..73b0e5e7 100644 --- a/src/image.hh +++ b/src/image.hh @@ -44,6 +44,7 @@ struct _DilloImage { 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 @@ void a_Image_set_parms(DilloImage *Image, void *v_imgbuf, DilloUrl *url, 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); |