diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2009-01-04 15:55:00 -0800 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2009-01-04 15:55:00 -0800 |
commit | e2f83fa9c78d4cef975fe28e7b4bae8add20f89a (patch) | |
tree | 655f6fd1e9fb7772fba2c3ae098e85e2259db1df | |
parent | b380f19efc5bad5d3a5eae3ae799ab1c9a687704 (diff) | |
download | mirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.tar.gz mirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.tar.bz2 mirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.zip |
added some todos
-rw-r--r-- | src/jpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,7 @@ static void error_longjmp(j_common_ptr cinfo){ longjmp(myerr->jmp_buffer, 1); } +/* TODO progressive */ static struct image *jpeg_open(FILE *f){ struct jpeg_t *j; @@ -59,6 +60,7 @@ static struct image *jpeg_open(FILE *f){ j->cinfo.do_block_smoothing = 0; j->cinfo.quantize_colors = 0; j->cinfo.dct_method = JDCT_FASTEST; + //j->cinfo.scale_denom = 1; /* TODO: This should be changed for initial display of really large jpegs */ jpeg_calc_output_dimensions(&j->cinfo); |