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/dicache.h | |
parent | 17e6f35cfbfa7a73e986fcd11617db12898d740f (diff) |
- Added support for progressive display of progressive jpegs.
- Fixed progressive display of interlaced pngs.
Diffstat (limited to 'src/dicache.h')
-rw-r--r-- | src/dicache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dicache.h b/src/dicache.h index 9afa5045..a67261c7 100644 --- a/src/dicache.h +++ b/src/dicache.h @@ -31,6 +31,7 @@ struct _DICacheEntry { void *v_imgbuf; /* Void pointer to an Imgbuf object */ size_t TotalSize; /* Amount of memory the image takes up */ int Y; /* Current decoding row */ + uint_t ScanNumber; /* Current decoding scan */ bitvec_t *BitVec; /* Bit vector for decoded rows */ DicEntryState State; /* Current status for this entry */ int RefCount; /* Reference Counter */ @@ -53,6 +54,7 @@ void a_Dicache_set_parms(DilloUrl *url, int version, DilloImage *Image, void a_Dicache_set_cmap(DilloUrl *url, int version, DilloImage *Image, const uchar_t *cmap, uint_t num_colors, int num_colors_max, int bg_index); +void a_Dicache_new_scan(DilloImage *image, const DilloUrl *url, int version); void a_Dicache_write(DilloImage *Image, DilloUrl *url, int version, const uchar_t *buf, int x, uint_t Y); void a_Dicache_close(DilloUrl *url, int version, CacheClient_t *Client); |